|
From: | Steve Hartwell |
Subject: | Re: [Freetype] Problems with Mac dfont |
Date: | Tue, 27 Jan 2004 14:11:12 -0800 |
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'twork 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
[Prev in Thread] | Current Thread | [Next in Thread] |