dwrite: Use Noto Sans as fallback for General and Supplemental Punctuation.
Merge request reports
Activity
requested review from @nsivov
I'm attaching a revised version for CJK locales, it has to use consistent font in such cases.dwrite.diff Note that it's excluding 202F because it's handled explicitly together with Mongolian ranges.
This does not cover all of your changes. We need a non-locale specific entry for the same set "2000-202E, 2030-206F, 2E00-2E44". Now that has options, we could use Tahoma for those (Windows font does cover this), or we could switch all existing "common" ranges (first entry in this list) to Noto Sans. A variant of this second option is to use both names - "Tahoma, Noto Sans". Switching to Noto Sans will switch UI font in some cases, when applications are using e.g. Segoe UI that we don't have; this will be a visible change potentially for users who are used to current setup.
Now that has options
have a preference?
A variant of this second option is to use both names - "Tahoma, Noto Sans"
you mean something like?
/* Latin, Combining Diacritical Marks */ { "0000-007F, 0080-00FF, 0100-017F, 0180-024F, " - "0250-02AF, 02B0-02FF, 0300-036F", L"Tahoma" }, + "0250-02AF, 02B0-02FF, 0300-036F, " + "2000-202E, 2030-206F, 2E00-2E44", L"Tahoma, Noto Sans" }, { "0530-058F, FB10-FB1C", L"Noto Sans Armenian" },
Yes, exactly. Regarding preferred way, if we use Tahoma with additional ranges we'll get null glyphs when we miss some glyph in wine's Tahoma. If we use both names we'll have potentially text switching from one font to another for no obvious reason to the user. If we use Noto Sans for everything, all ranges will work, but this will change default config that we had so far.
Maybe we could use "Noto Sans, Tahoma" instead? Does that make sense? On mac for example you're not going to get Noto Sans semi-automatically.
What is your use case, do you need anything from those ranges or you only need non-null font instance?
added 39 commits
-
4d86f192...d17225a8 - 38 commits from branch
wine:master
- 582a4ecc - dwrite: Use Noto Sans as fallback for General and Supplemental Punctuation.
-
4d86f192...d17225a8 - 38 commits from branch