Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

RE: [iText-questions] AskingAgain: fonts are being embedded even though I don't want that.

David Thielen

2005-06-03

Replies:

Hello;

If I have unicode text and I don't know what charsets it may be from (ie it
could be combined Thai and Chinese), it seems to me that I have to use
IDENTITY. Or is there a way around that?

And why does IDENTITY always get embedded?

Thanks - dave


-----Original Message-----
From: bruno [mailto:bruno@(protected)]
Sent: Friday, June 03, 2005 6:59 AM
To: David Thielen
Cc: 'itext'
Subject: Re: [iText-questions] AskingAgain: fonts are being embedded even
though I don't want that.

David Thielen wrote:

>Hi;
>
>I get the fonts for my PDF doc using:
>
>Font font = FontFactory.getFont(fontName, BaseFont.IDENTITY_H, false,
>fontSize, style);
>
See http://itextdocs.lowagie.com/tutorial/fonts/#basefont
Fonts with BaseFont.IDENTITY_H or BaseFont.IDENTITY_V will always be
embedded no matter what you enter as third parameter.
br,
Bruno



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.