Getting font file of font

O

Oliver Henning

Hi,

i have the following question: how can I determine (need not be a
platform-indepent method, need for Windows first) the font file being
used for a certain Font object?
Background: The user of my program can choose a font from a list
(generated by GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames()).
As a parameter for an external video player I need the corresponding
font file, regardless whether it is a font coming the Java Environment
or a system-provided one.

Thanks in advance,
Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top