Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Why does loading of the font Sylfaen return the
 familyname SylfaenARM?

Michael J. Mueller

2006-06-21


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
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.