Voilà un bout de la fontion où se produisent les erreurs :
int TTFont::getXLFDbase( char* result)
{
//#define XLFDEXT "-normal-tt-0-0-0-0-p-0-iso8859-1"
//#define XLFDEXT "-normal-tt-"
char *convbuf;
// some fonts have only unicode names -> try to convert them to ascii
l347 > convbuf = malloc(sizeof(char) * 256);
int lenFamily;
char* strFamily = nameTable->getString( 1, 1, &lenFamily, convbuf);
if( !strFamily) {
strFamily = "Unknown";
lenFamily = strlen( strFamily);
}
if (strFamily == convbuf)
l356 > convbuf = malloc(sizeof(char) * 256);
int lenSub;
char* strSubFamily = nameTable->getString( 1, 2, &lenSub, convbuf);
if( !strFamily) {
strSubFamily = "tt";
lenSub = strlen( strSubFamily);
}
...