diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-02 12:07:07 +0100 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:40 +0200 |
commit | 9014b275e9e90d796bee95249a6059e4a55f3cf9 (patch) | |
tree | cb8972dc534a88fd4dc2bf3ee88a0735cdc53035 /libass.pc.in | |
parent | d9585a81add0a41f6a59f3c7f95bcc6182732059 (diff) | |
download | libass-9014b275e9e90d796bee95249a6059e4a55f3cf9.tar.bz2 libass-9014b275e9e90d796bee95249a6059e4a55f3cf9.tar.xz |
fontselect: coretext: allow selection based on PostScript name
Up until now fontselect used the face index to identify which font to load
from a font collection. While this pretty convenient when using something
freetype based like fontconfig, it seems to be somewhat freetype specific.
CoreText uses the PostScript name as the unique identifier of a font. This
commit allows to use that instead of the index to decide which face to open
with FT_New_Face. To use the PostScript name the provider must return a -1
index and the PostScript name.
Diffstat (limited to 'libass.pc.in')
0 files changed, 0 insertions, 0 deletions