summaryrefslogtreecommitdiffstats
path: root/libass/ass_font.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2011-08-18 00:15:57 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2015-07-10 10:42:40 +0200
commitc116071fa8d1bbfcf509f1f099ebb789dfd6ae37 (patch)
tree6f62b27d576b380ee8b7160f1a882f2b9a5ce508 /libass/ass_font.c
parent38f4a39bdbe6090d39e86b620c772ba5cd88c8a5 (diff)
downloadlibass-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.c')
-rw-r--r--libass/ass_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_font.c b/libass/ass_font.c
index 16207d3..7170e10 100644
--- a/libass/ass_font.c
+++ b/libass/ass_font.c
@@ -39,7 +39,7 @@
* Select a good charmap, prefer Microsoft Unicode charmaps.
* Otherwise, let FreeType decide.
*/
-static void charmap_magic(ASS_Library *library, FT_Face face)
+void charmap_magic(ASS_Library *library, FT_Face face)
{
int i;
int ms_cmap = -1;