int t;
for(t=0;t<font->num_glyphs;t++) {
if(font->glyphs[t].name && !strcmp(font->glyphs[t].name,uniname)) {
- msg("<debug> Char [%d,>%s<,%d] maps to %d\n", charnr, uniname, u, t);
+ msg("<debug> Char [%d,%s,>%d(%s)<] maps to %d\n", charnr, charname, u, uniname, t);
return t;
}
}
we can find the capitalized version */
for(t=0;t<font->num_glyphs;t++) {
if(font->glyphs[t].name && !strcasecmp(font->glyphs[t].name,uniname)) {
- msg("<debug> Char [%d,>>%s<<,%d] maps to %d\n", charnr, uniname, u, t);
+ msg("<debug> Char [%d,%s,>>%d(%s)<<] maps to %d\n", charnr, charname, u, uniname, t);
return t;
}
}
if(fileName && del)
unlinkfont(fileName);
+
if(fileName)
free(fileName);
free(fontid);