You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some case, DirectWrite doesn't find a fallback font, but there is actually some.
For example, I tried to display U+ABC4 with Arial, but libass display a Tofu box.
But, actually, if I specify the font Nirmala Ui, now it display it.
Note that VSFilter has the same problem (which means TextOutW has the same problem).
There is probably not any good solution. I guess we need to iterate on all the font in the IDWriteFontCollection and see if it has the glyph.
libass version: 0.17.1 windows version: 10.0.19045.4529
I'm not too worried since the Meitei script has been extremely rare for centuries, and only very recently started to become used again. I'd imagine this is a bug in DirectWrite's fallback code (perhaps it doesn't know that U+ABC0 through U+ABFF maps to the Mtei script ID?), and it probably affects other software as well; I'd recommend reporting this to Microsoft.
We could theoretically add a last-resort iteration over the full list, but let's at least try to bug MS about it first.
In some case, DirectWrite doesn't find a fallback font, but there is actually some.
For example, I tried to display U+ABC4 with
Arial
, but libass display a Tofu box.But, actually, if I specify the font
Nirmala Ui
, now it display it.Note that VSFilter has the same problem (which means TextOutW has the same problem).
There is probably not any good solution. I guess we need to iterate on all the font in the IDWriteFontCollection and see if it has the glyph.
libass version: 0.17.1
windows version: 10.0.19045.4529
Ass Sample
The text was updated successfully, but these errors were encountered: