[EMAIL PROTECTED] wrote:
step 2. + 3. are quite simple AFAICS, but step 1. is more tricky - is
there any way to obtain this information from AWT or somewhere else ????
No, the AWT doesn't provide an interface to get the font directory
or for resolving a font name into a file.
You can search some standard directories (C:/Windows/fonts,
/usr/X11R6/fonts etc.), which is not very robust. Unfortunately,
Java deprecated access to environment variables, which would have
made the task quite a bit easier. You might want to call an
external program for this purpose.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]