diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2011-08-18 00:15:57 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:40 +0200 |
commit | c116071fa8d1bbfcf509f1f099ebb789dfd6ae37 (patch) | |
tree | 6f62b27d576b380ee8b7160f1a882f2b9a5ce508 /libass/ass_font.h | |
parent | 38f4a39bdbe6090d39e86b620c772ba5cd88c8a5 (diff) | |
download | libass-c116071fa8d1bbfcf509f1f099ebb789dfd6ae37.tar.bz2 libass-c116071fa8d1bbfcf509f1f099ebb789dfd6ae37.tar.xz |
Add glyph coverage map for embedded fonts
Introduce a simple glyph coverage map (created when the font is added)
and use it for checking glyph coverage in font selection. This uses a
simple linear search at the moment.
Diffstat (limited to 'libass/ass_font.h')
-rw-r--r-- | libass/ass_font.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_font.h b/libass/ass_font.h index f29e301..693cabf 100644 --- a/libass/ass_font.h +++ b/libass/ass_font.h @@ -58,6 +58,7 @@ struct ass_font { double size; }; +void charmap_magic(ASS_Library *library, FT_Face face); ASS_Font *ass_font_new(Cache *font_cache, ASS_Library *library, FT_Library ftlibrary, ASS_FontSelector *fontsel, ASS_FontDesc *desc); |