On 10/10/06, Leonard Rosenthol <[EMAIL PROTECTED]> wrote:
At 2:33 PM +0200 10/10/06, Dennis Daems wrote:
>I thought, for each paragraph I encounter, I create a new Font with
>a specified coding and each character in the paragraph will be
>written to the PDF file, encoded with the given encoding. Correct me
>if I am wrong.
>
If you are using the same font for each paragraph, do NOT
create a new one each time! Reuse a single one for the entire
document...That will improve performance AND reduce the size of the
final PDF.
As to what gets written - the semantic value will match what
you are placing into PDF...HOWEVER, the actual CID (character ID)
will not necessary represent anything of value. That's why there is
a mapping table between CID<->GID and also a /ToUnicode table.
>Is there any way I can full embed the font, hoping for a small
>performance boost?
Not for an Identity-H encoding, no, there is not.
Leonard
--
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED] >
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-689-3863 (fax)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
