]> granicus.if.org Git - libass/commit
font: fix broken charmap fallback handling
authorwm4 <wm4@nowhere>
Fri, 28 Aug 2015 15:39:08 +0000 (17:39 +0200)
committerwm4 <wm4@nowhere>
Fri, 28 Aug 2015 15:39:08 +0000 (17:39 +0200)
commit102e28d6b7fc54b71fe223f4acf7cbdd373b5c02
tree39fa09fcf411a2f06aac18a8fb367d87cc199113
parent7930755de2136b9e10dcce4bf8d45aa40a0b4810
font: fix broken charmap fallback handling

An earlier commit added this code to avoid adding font faces multiple
times. In this form, it breaks the "Trying all charmaps" fallback case,
which can lead to text being rendered as boxes.

Return the font that is going to contain the missing glyph instead. The
calling code will check again, and run the fallback if necessary.
libass/ass_font.c