We build our documents from a Word document. So the customer has already
selected the fonts in Word - and we must use those fonts. So I don't
think that approach will work. And if it's Russian & Polish using
Verdana, don't we then have to get 2 different Verdana fonts, one for
each code page?

Thanks - dave



-----Original Message-----
From: 1T3XT info [mailto:[email protected]] 
Sent: Monday, December 22, 2008 12:47 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Code page or unicode

David Thielen wrote:
> What's the "best practices" in this case? I prefer the concept of 
> keeping everything Unicode but we do need to offer PDF files that are 
> smaller (ie don't have embedded fonts).

What about running all the text through FontSelector?
Add a font that isn't embedded first in row (one of the Standard Type 1 
Fonts). Add a font like arialuni.ttf as last in row. If a character is 
encountered for which there isn't a glyph in the Standard Type 1 font, 
it will look for that glyph in arialuni.ttf.
(See the example in chapter 9 and experiment with it.)
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

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

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