Previous | Next | (P-PDF) Developers
Topic: Re: Font information (Via Email)
Conf: (P-PDF) Developers, Msg: 31733
From: LeonardR
Date: 12/18/2001 01:16 PM
At 04:41 AM 12/18/2001 +1100, p-pdf-developer Listmanager wrote:
> > 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.
>
>I need to insert a simple string using a Windows True Type Font i.e. Tahoma.
>Which calls do i have to use to get this info?
I believe that GetFontMetrics() will provide you all the info you
need - or at least a good chunk of it. You may still, however, have more
work to do in order to properly embed the font.
Leonard