[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Problems with Mac dfont
From: |
Garrick Meeker |
Subject: |
Re: [Freetype] Problems with Mac dfont |
Date: |
Tue, 27 Jan 2004 14:21:51 -0800 |
User-agent: |
KMail/1.6 |
Also are you building with gcc or Codewarrior? I think the configure script
was fixed in 2.1.7 (available on freetype.org but not sourceforge) to enable
the carbon code necessary to load dfonts. If you're using Codewarrior I
think you need to #define TARGET_API_MAC_CARBON. Last I checked the project
didn't have this.
On Tuesday 27 January 2004 14:11, Steve Hartwell wrote:
> On Jan 27, 2004, at 6:59 AM, Steve Dekorte wrote:
> > On Jan 27, 2004, at 6:31 AM, Pavel Studený wrote:
> >> I'm trying to use freetype 2.1.5 (the latest version I've seen) on
> >> MacOS X
> >> 10.2 Jaguar. The function FT_Load_Glyph (called by FT_Load_Char)
> >> doesn't
> >> work with the dfont, even when I copied the Courier.dfont to a Windows
> >> machine and tried it there.
> >
> > Apple's dfonts work for me with freetype on OSX 10.3. Maybe dfont file
> > format uses resource forks (which wouldn't get copied properly to
> > Windows)?
>
> A .dfont is a plain file, so it can be copied to Windows intact, but
> its contents are in Apple's resource-fork format, which is a fairly
> complex structure enclosing one or more resources, including 'sfnt'
> font faces.
>
> I would expect FT_New_Face() to return an error fairly early in the
> open process, since the first block of a .dfont file doesn't look like
> any kind of font format. Are you checking for error returns? ;-)
>
> Steve Hartwell
> http://stevehartwell.home.comcast.net/proj/fontinspector
>
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype