I've been thinking about this as well. Although new to straight razors, the method I use for restoring makers stamps to knife tangs is
by using 'stove black', the matt finish paint for restoring old...