dont be so anal abotu ewncodings... if no apple or windows encoding is there

just use encoding charmap 0 :)


SVN revision: 1873
This commit is contained in:
Carsten Haitzler 2000-01-07 18:40:48 +00:00
parent eab75dc3d0
commit a06e27d641
1 changed files with 1 additions and 9 deletions

View File

@ -288,15 +288,7 @@ __imlib_load_font(char *fontname)
}
}
if (i == n)
{
no_cmap = 1;
num_glyphs = f->properties.num_Glyphs;
TT_Done_Instance(f->instance);
TT_Close_Face(f->face);
free(f->name);
free(f);
return NULL;
}
TT_Get_CharMap(f->face, 0, &char_map);
f->num_glyph = 256;
f->glyphs = (TT_Glyph *)malloc(f->num_glyph * sizeof(TT_Glyph));
memset(f->glyphs, 0, f->num_glyph * sizeof(TT_Glyph));