freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] Freetype 2.1.3 Mac bugs - proper dfont handling


From: Leonard Rosenthol
Subject: Re: [Freetype] Freetype 2.1.3 Mac bugs - proper dfont handling
Date: Fri, 6 Dec 2002 13:15:09 -0500

At 11:58 AM -0600 12/6/02, Paul Miller wrote:
dfonts are not resource files.

Actually, they are! A .dfont is the equivalent of a Mac OS 9 "Font Suitcase", but with the resource fork as a data fork instead...


Yet the code in FT_New_Face_From_dfont treats the file as a resource file. For some reason, Get1IndResource() with a res_index of 0 gets the first face. But if res_index is not 0, it returns NULL.

        This code worked fine previously.

        What version of Mac OS X are you using?


Leonard
--
---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:address@hidden>
                                             <http://www.lazerware.com>



reply via email to

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