[Top][All Lists]

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

Re: [Devel] Freetype Mac .dfont issues?

From: Leonard Rosenthol
Subject: Re: [Devel] Freetype Mac .dfont issues?
Date: Wed, 12 Feb 2003 13:43:37 -0500

At 12:55 AM -0600 1/24/03, Dan Williams wrote:
I'm working on native Mac font support for


Presumably, this gets passed down the line to FT_New_Face_dfont(). The following snippet I don't quite understand the logic of.

    /* face_index may be -1, in which case we
       just need to do a sanity check */
    if ( face_index < 0 )
      res_index = 1;
      res_index = (short)( face_index + 1 );
      face_index = 0;

        I would agree that this code is wrong, and needs to be fixed.

The rest of the pipeline is fine, and handles loading any res_index and face_index correctly as noted by the comments in the sources.

Leonard Rosenthol                            <mailto:address@hidden>

reply via email to

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