diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-03 00:04:59 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-07 02:14:43 +0200 |
commit | 59e266bd41afd7f022ed293b9f61afa3481e0321 (patch) | |
tree | 9b49d2fae01dba1e6fba03789b776056524cdc28 /libass/ass_fontconfig.c | |
parent | 6c8348a598cd79874007e233b6f0f409185093b1 (diff) | |
download | libass-59e266bd41afd7f022ed293b9f61afa3481e0321.tar.bz2 libass-59e266bd41afd7f022ed293b9f61afa3481e0321.tar.xz |
fontselect: fix match_fonts semantics
We don't want to add fonts multiple times, so call match_fonts lazily,
i.e. only after selecting a font with a certain name failed. Since
font matching interacts with glyph coverage checks, add a simple
mechanism to determine whether matching failed because of name or
glyph coverage. Additionally make sure to handle substitutions before
any calls to match_fonts; this only correctly deals with single-name
substitutions, though.
Diffstat (limited to 'libass/ass_fontconfig.c')
0 files changed, 0 insertions, 0 deletions