java.jago wrote:

>1. If I don't use font embedinng it is not garanteed that on the target 
>platform the text in the PDF will be displayed correctly - meaning with 
>the correct font. Is it guaranteed using font embbeding ? (whats the 
>difference between full and subset embedding) ?
>  
>
Only the 14 standard Type1 fonts (or a font that gives an identical result)
are supposed to be on the target platform.
If you embed the font, the description of the glyphs is inside the PDF,
so all fonts will be displayed correctly.
If you embed the complete font, all glyphs inside the font will be embedded;
also the glyphs that are not used. In iText Type1 fonts are always embedded
completely.
If you embed a font subset, only the glyphs used in the PDF will be 
embedded.
This is what happens in iText when you embed TrueType fonts.

>2. Using PDFGraphics2D I would like all fonts NEEDED/USED to be 
>automatically embedded. Is this automatic behaviour possible - the 
>default is not to embedd fonts I guess ?
>  
>
This depends on the way you defined your FontMapper.

>Or does one have to embedd fonts at all, and can "draw" the glyphs as 
>shapes instead - this way we wouldn't use a certain font, but shapes 
>(font-independent).
>  
>
This is another possibility. With PdfGraphics2D, you can let Java draw the
glyphs instead of using a font. If you open the Document 
Properties->Fonts tab
in Adobe Reader, you won't see any font.
Of course, this could lead to PDF documents with a very large size...

>3. Are there any Licence Violations if I embedd fonts - I guess not, as 
>only glyphs/shapes are embedded, right ?
>
There could be license violations, some fonts may not be embedded
inside a document. Every font contains some license information.
iText can throw an exception if the font may not be embedded due
to license restrictions.
br,
Bruno


_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to