diff options
author | wm4 <wm4@nowhere> | 2015-08-28 13:54:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-28 14:06:54 +0200 |
commit | db1c6fd2a34c331825bfb6cbdef313fa9e64528e (patch) | |
tree | 890cd088cd5a8ace12c567596f73c6926dbd5536 /Changelog | |
parent | 2d8c4d74d40bc6ae8c79cda36641b9f450ef92ef (diff) | |
download | libass-db1c6fd2a34c331825bfb6cbdef313fa9e64528e.tar.bz2 libass-db1c6fd2a34c331825bfb6cbdef313fa9e64528e.tar.xz |
fontselect: correctly match list of font substitutions
This code prioritized fonts by scanning order, but the scanning order is
essentially arbitrary. This resulted in suboptimal and indeterministic
font selection by family name.
Prefer the order as returned by the substitution callback. This requires
some restructuring. The core algorithm is still exactly the same though;
only the order of comparisons changes.
If the font backend has no subtitution callback, nothing should change.
Diffstat (limited to 'Changelog')
0 files changed, 0 insertions, 0 deletions