Andreas Schildbach wrote:
Paulo Soares wrote:
Use the encoding BaseFont.IDENTITY_H.
Just for the records: This one did the trick for MS Arial Unicode.
What does this encoding mean? It does not appear to be documented
anywhere.
It is mentioned in the tutorial and it will be explained in chapter 8 of
the book.
The tutorial has some serious flaws when it comes to fonts, but chapter
8 and 9
of the book will explain everything in much more detail.
I am also puzzled about the fact that the resulting document is only 4
MB in size, whereas the font is 22 MB. This means that the font can't
be embedded into the document.
Look at the Fonts tab in the Properties window of Adobe Reader.
You will see things as CID Font and 'embedded subset'.
Only the glyphs you have used were added to the PDF;
not the complete font.
(Observe that when you use the encoding IDENTITY_H,
the value of the embedding parameter is ignored.)
Also also did not install the font into my Linux system. Nevertheless,
the document displays correctly in Evince.
This is what I meant in an earlier reply.
Don't work with fonts that aren't embedded.
That way you don't exclude people that don't have
arialuni.ttf on their system.
br,
Bruno
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions