Fonts.registerFont from embedded Textfield?

is it possible to register a font which is embedded in a textfield?
i dont want to export the font as class due visible editing options.

iam not sure how to get the font as class…

anyone knows how to archive that?

thanks in advance.