On Aug 15, 2008, at 6:57 AM, Oliver Schoenwald wrote:

>> Leonard Rosenthol wrote:
>>> Be aware that relying on a font already embedded in the document  
>>> to then add additional content is NOT a good idea - since you have  
>>> no guarantee that the font was fully embedded OR even embedded  
>>> properly.
> I was successful in registering an using the additional font in the  
> document. When you say that embedded fonts might not be embedded  
> properly in the document, do you mean that the fonts is not embedded  
> completely but only with the necessary chars/glyphs?

        There are two issues that play here when it comes to trying to use an  
existing embedded font to add new content...

1) Does the font have all the necessary glyphs present?
2) Does the font have all the necessary "layout tables" for doing  
proper text layout?

The first is usually (but NOT always) easy to determine by seeing if  
it is "fully embedded" or "subset embedded" - however, as there are  
many bogus PDF generators in existence it is not uncommon to find a  
font that is improperly "tagged" incorrectly and so it's difficult to  
know (without examining every glyph) what you have (and don't have).

The second issue is related to the fact that even for full embedding,  
it is not necessary for a PDF creator to include the font information  
for "layout" (kerning, tracking, leading, etc.) that is required when  
trying to layout/flow new content.  Again, there is no easy way to  
know this - and you (or software) would have to examine the various  
tables in the font to know what's there or not.


Leonard


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to