Currently, Xft doesn't use the 'generic' filed of FT_Face,
which is a user_data/finalizer pair for the client to
attach data to the font.

 A) Would you consider it safe to assume that it won't use
    in the future, so that a Xft client could use it?

 B) If not, could we have a fontconfig API addition that
    allows for a similar effect?

Background:

When Pango needs OpenType information for a file on disk,
it gets it by parsing additional tables from the OpenType
file. The information is independent of size, so should
be cached along with the FT_Face.

For Xft1, I handled this by:

  PangoXftFont ---> XftFont ------> FT_Face
              \                /
               `--> PangoOTInfo

But with Xft2, the XftFont => FT_Face association is not
fixed, so this set up no longer works, and I'd like to switch
it over to:

  PangoXftFont --> XftFont --> FT_Face
                                    \
                                     `--> PangoOTInfo

For, this, I need, at a minimum, notification when Xft calls
FT_Done_Face.

Regards,
                                        Owen
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to