I see.  Is there any way to supply this information, or do I pretty
much have to provide my own font files?


Tim

On 5/18/07, Glaphmion <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Has anyone run in to the problem where baseFont.getAscentPoint and
> .getDescentPoint both return 0 for a valid UTF-8 string?  I'm not
> doing anything out of the ordinary, simply:
>
> float textHeight = baseFont.getAscentPoint(text, size) -
> baseFont.getDescentPoint(text, size);
>
> I'm having the same problem for all four Asian fonts (zh-TW, zh-CN,
> ja-JP, ko-KO), and I've verified that the font JAR file is correctly
> included (the rendered PDF has the text displayed correctly).  Am I
> doing something wrong?  Is this a known issue?
>
> Any help would be appreciated.
>
>
> Tim
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to