]> granicus.if.org Git - libass/commit - libass/ass_fontselect.c
Add glyph coverage map for embedded fonts
authorGrigori Goronzy <greg@chown.ath.cx>
Wed, 17 Aug 2011 22:15:57 +0000 (00:15 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Fri, 10 Jul 2015 08:42:40 +0000 (10:42 +0200)
commitc116071fa8d1bbfcf509f1f099ebb789dfd6ae37
tree6f62b27d576b380ee8b7160f1a882f2b9a5ce508
parent38f4a39bdbe6090d39e86b620c772ba5cd88c8a5
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
libass/ass_font.h
libass/ass_fontselect.c