Evas font-engine: Fixed ot face loading when loading fonts from memory.

SVN revision: 56523
This commit is contained in:
Tom Hacohen 2011-01-30 10:43:50 +00:00
parent 7924eef840
commit 379eb8f660
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ evas_common_font_source_memory_load(const char *name, const void *data, int data
free(fs);
return NULL;
}
#ifdef OT_SUPPORT
if (evas_common_font_ot_is_enabled())
{
evas_common_font_ot_load_face(fs);
}
#endif
FTUNLOCK();
fs->ft.orig_upem = fs->ft.face->units_per_EM;
fs->references = 1;