KP> My question should have been:
KP> FT_New_Face( library,..., &face ); KP> KP> pcfface = (PCF_Public_Face)face; KP> How to I know this cast is correct? Where is the check that ensures the KP> call to FT_New_Face has found a PCF font rather than a TrueType font? Something like FT_New_Face( library,..., &face ); if (!strcmp(FT_MODULE_CLASS(face->driver->root)->module_name, "pcf")) pcfface = (PCF_Public_Face)face; should do the trick. Regards, -francesco _______________________________________________ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts