From c116071fa8d1bbfcf509f1f099ebb789dfd6ae37 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Thu, 18 Aug 2011 00:15:57 +0200 Subject: 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. --- libass/ass_font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libass/ass_font.c') 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; -- cgit v1.2.3