Hello everyone,

I'm am loading fonts and comparing the name of the loaded font to make
use I got the right font and not a replacement font. For the Font
Sylfaen this does not work.

I'm am posting the testcode below.

Michael



FontFactory.registerDirectory("c:/windows/fonts");
Font font = FontFactory.getFont("Sylfaen", BaseFont.IDENTITY_H, true,
10, Font.NORMAL);
System.out.println("font name: " + font.getFamilyname());

Output: font name: SylfaenARM


_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to