Hi, By "this type", I didn't mean OpenType, rather some unknown characteristic that makes it not work in iText. If I knew how to tell people what sort of fonts to avoid (without having to write a program using iText) it would go a long way to solving my problem.
Are you saying that the problem is with the metadata that says if the font is embeddable (since the use of IDENTITY-H requires the embedding of a subset)? This might be something I could follow up - though I thought iText gave an error if you try to do embedding that isn't allowed. I've been toying with the idea of telling people to avoid OpenType and stick to TrueType, but I'm loathe to do this without solid evidence. Does anyone out there have a reason why this would be justifiable (or not)? Thanks for your responses, Mark. ================ > A more logical conclusion would be that iText doesn't support > this type of font. Only it does support that type of font. See, look. Our app renders PDF via iText... I'll pick an open type font from my system, throw some non-ascii characters in, and... Err... Crap... But but... Okay, some OT fonts work fine, some don't. Ah! "Lucida Sans", the first font I tried, has a blank "font embeddability" column in the win7 view of c:/windows/fonts. Monotype Corsiva Italic on the other hand, the one that worked, has the word "installable" instead. The only other font on my system with no font embeddability entry is... "Arial". Ouch. But Arial works given some non-ascii text. Bah! So much for that theory. "Lucida Sans" came up empty, but "Lucida Sans Unicode" was fine... And both are OpenType fonts from the same company. After further experimentation, I see no rhyme or reason here. Some OT fonts are fine. Some aren't. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer<Cardiff> DisCard = null; -- View this message in context: http://itext-general.2136553.n4.nabble.com/Using-OpenType-font-with-IDENTITY-H-doesn-t-work-tp3003131p3008030.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
