Rafał Mużyło galtgendo@gmail.com wrote:
Corrected version of the previous patch. This time I'm not adding a new helper function, just putting it in one place. Corrections:
- as oppossed to get_font_subst, reverse check can have more than one result, so changed to adjust all of them
- just in case a->a substitution would result, explicitly prevent that
(perhaps gdi32 handles it gracefully, but it's still redundant)
Did you test that Windows handles font substitutions this way?