freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] using PFR fonts with freetype2 from CVS


From: David Turner
Subject: Re: [Devel] using PFR fonts with freetype2 from CVS
Date: Thu, 23 May 2002 00:18:37 +0200

Hello Sven,

Sven Neumann a écrit :
> 
> Hi,
> 
> I've installed the CVS version of Freetype2 today (thanks to the fixes
> to the BDF driver it compiles fine now) and tried to load some PFR
> fonts but failed. The fonts I tried are the ones that come with the
> FontFusion SDK. I've used the standard loading API but FT_New_Face()
> failed on all the fonts I've tried. Is there something special that
> needs to be done to include the PFR driver or do I need to use a
> different API to load PFR fonts?
>
There is nothing special to do to use PFR fonts. Note however that the
code in FreeType is limited to the font file format that is described
in various publicly available documents, like the DAVIC Reference.
These font files typically have a 4-byte header that says "PFR0"

The TrueDoc web site had a few fonts that exhibited a different format
some years ago. These had a header that said "PFR1", and according to
mails that BitStream representatives sent to the address@hidden
mailing list (a long time ago), they seem to be called "compressed PFRs"

I don't have more information, but I suppose that the fonts that come
with the FontFusion SDK are not "PFR0", but "PFR1" or even something
else (PFR2, PFR3 ??). There is no way FreeType is going to support
these, since their specification isn't public.

By the way, the PFR driver has been tested with various fonts from
the truedoc.com web site, and it works pretty well with these..

Of course, I'd be happy to stand corrected in case of mistake..

Hope this helps,

- David Turner
- The FreeType Project  (www.freetype.org)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]