]> granicus.if.org Git - libass/commit
directwrite, coretext: implement substitutions
authorGrigori Goronzy <greg@chown.ath.cx>
Tue, 1 Sep 2015 13:47:40 +0000 (15:47 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Wed, 2 Sep 2015 18:24:01 +0000 (20:24 +0200)
commit6c8348a598cd79874007e233b6f0f409185093b1
tree6d20c708c4f48af09b722e17a53d8affe826418d
parentfda28f6106caf7d450847444a363adc042b325b9
directwrite, coretext: implement substitutions

This adds simple and sensible substitutions for generic font family
names. A helper function is introduced to reduce code duplication.
libass/ass_coretext.c
libass/ass_directwrite.c
libass/ass_fontselect.h