Previous | Next | (P-PDF) Developers
Topic: Re: Font information (Via Email)
Conf: (P-PDF) Developers, Msg: 31680
From: LeonardR
Date: 12/18/2001 01:44 AM
At 07:32 PM 12/17/2001 +1100, p-pdf-developer Listmanager wrote:
>I'm wring an utility to add some text to a PDF file. I managed to modify the
>contents of a page and to add font selection and text showing commands.
Congratulations. You did remember to update all the XRef and
linearization tables in the PDF you are modifying, right?
>Now
>i'm trying to add font information and i don't know where i can find the
>values for BoundingBox Ascent Descent WIdths and so on.
All that information is in the font itself. You either need to
parse the different font formats yourself, use a library such as FreeType
(http://www.freetype.com), or make OS calls.
Leonard