]> granicus.if.org Git - libass/commit
fontconfig: handle fallback corner cases
authorGrigori Goronzy <greg@chown.ath.cx>
Sun, 6 Sep 2015 23:29:27 +0000 (01:29 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Mon, 7 Sep 2015 00:18:29 +0000 (02:18 +0200)
commit6cf20043f5fa7c6aacf3abd49d94b350a24f6646
tree5f0195baae71808b9841950e7918db4d60eef2f7
parent59e266bd41afd7f022ed293b9f61afa3481e0321
fontconfig: handle fallback corner cases

If no particular codepoint is requested (codepoint == 0), just return
the first font family. Additionally, handle fontconfig errors, albeit
they're unlikely to happen.
libass/ass_fontconfig.c