> It definitely does include include a glyph for U+0022. If I 
> use the WINANSI encoding I can see it and all the other 
> characters in that encoding.

Good to know.  So much for that theory.

> Moreover, using IDENTITY_H I've been unable to get *any* 
> characters to appear.
> 
> 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;
 
 

> -----Original Message-----
> From: qqzx2kp [mailto:[email protected]] 
> Sent: Friday, October 22, 2010 2:17 PM
> To: [email protected]
> Subject: Re: [iText-questions] Using OpenType font with 
> IDENTITY_Hdoesn'twork
> 
> 
> 
> 
> Mark Storer-2 wrote:
> > 
> > Structurally, those two PDFs are identical.  The content stream, 
> > toUnicode, width array, etc etc... the Only Difference is the font 
> > name (and the font's stream, which isn't my thing).
> >  
> > I conclude that the font used in "fontbad.pdf" doesn't contain the 
> > capital letter 'A', AKA U+0022.  It might have the 
> full-width variant
> > U+FF21, but not the low order ascii versions we're used to 
> here in the
> > states.
> >  
> > --Mark Storer
> >   Senior Software Engineer
> >   Cardiff.com
> >  
> > import legalese.Disclaimer;
> > Disclaimer<Cardiff> DisCard = null;
> >  
> >  
> > 
> > 
> > ________________________________
> > 
> >     From: qqzx2kp [mailto:[email protected]] 
> >     Sent: Thursday, October 21, 2010 8:01 PM
> >     To: [email protected]
> >     Subject: Re: [iText-questions] Using OpenType font with 
> IDENTITY_H 
> > doesn'twork
> >     
> >     
> >     Here is the PDF (fontbad.pdf) as well as one created in 
> exactly the 
> > same way but with a different font (fontgood.pdf). Thanks.
> > fontbad.pdf
> > 
> <http://itext-general.2136553.n4.nabble.com/file/n3006601/fontbad.pdf>
> > fontgood.pdf
> > 
> <http://itext-general.2136553.n4.nabble.com/file/n3006601/fontgood.pdf
> > >
> > 
> >     
> > ________________________________
> > 
> >     View this message in context: Re: Using OpenType font 
> with IDENTITY_H 
> > doesn't work 
> > 
> <http://itext-general.2136553.n4.nabble.com/Using-OpenType-font-with-I
> > DE NTITY-H-doesn-t-work-tp3003131p3006601.html>
> >     Sent from the iText - General mailing list archive 
> > <http://itext-general.2136553.n4.nabble.com/>  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
> > 
> 
> --
> View this message in context: 
> http://itext-general.2136553.n4.nabble.com/Using-OpenType-font
-with-IDENTITY-H-doesn-t-work-tp3003131p3007896.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
> 
> 

------------------------------------------------------------------------------
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

Reply via email to