summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2015-06-11 21:29:35 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2015-07-10 10:42:41 +0200
commita7bf39a5714fd872b6ac1bc9e39792fb79e64891 (patch)
tree8dbcafc6451203255efba310474bdb0620188e20 /COPYING
parentfaa5203fe181e50ce1377f09e451e90906ffe9e3 (diff)
downloadlibass-a7bf39a5714fd872b6ac1bc9e39792fb79e64891.tar.bz2
libass-a7bf39a5714fd872b6ac1bc9e39792fb79e64891.tar.xz
fontselect: improved and simplified matching
Sorting the font list is overkill and not very useful. We are interested in *exact* name matches only; all other font families don't matter and we'll use another fallback mechanism for glyph fallbacks (TBD). Replace the sorting and glyph fallback search with a simple linear scan. Fonts are first matched against family name first (to allow further comparison against style attributes) and if that fails, the fullname is considered.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions