Well, in
Java2 we can run this 3 lines
String[] fontNames =
Toolkit.getDefaultToolkit().getFontList();
-> result is
predefined fonts in Java ( 4 or 5 - I'm not sure )
String[] fontNames1 =
GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
-> result is
more 40 FontNames ( on my computer - on your it could be another number
)
It's the same as I can see
it in MS Word, for example
java.awt.Font[] fonts =
GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
-> result is more 90 Font objects ( all variations from fontNames1
)
It means that we can get access to installed system fonts without using
native interface ( aka JNI ) :-)
So - how I can I use one of thous Fonts ( from fontNames or font arrays
) in iText
thanks
sv
I'm not sure I understand your question. In C, in Windows, I can call |
- RE: [iText-questions] TrueType Fonts Paulo Soares
- RE: [iText-questions] TrueType Fonts Serge S. Vasiljev
- RE: [iText-questions] TrueType Fonts Paulo Soares