Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.14.2
-
None
-
Python 3.8.0 Qt 5.14.2 PyQt 5.14.2 Anki Versión 2.1.35 (84dcaa86) https://apps.ankiweb.net/ https://github.com/ankitects/anki Randomize Fonts python addon, https://ankiweb.net/shared/info/1603486068 https://github.com/AustinHasten/AnkiRandomFont <span class="randomSimplifiedChinese">{{Hanzi}}</span> in the template of a Chinese flash card, 你为什么那么做?in the Hanzi fieldPython 3.8.0 Qt 5.14.2 PyQt 5.14.2 Anki Versión 2.1.35 (84dcaa86) https://apps.ankiweb.net/ https://github.com/ankitects/anki Randomize Fonts python addon, https://ankiweb.net/shared/info/1603486068 https://github.com/AustinHasten/AnkiRandomFont <span class="randomSimplifiedChinese">{{Hanzi}}</span> in the template of a Chinese flash card, 你为什么那么做?in the Hanzi field
Description
Malgun Gothic and Malgun Gothic Semilight should not be included in QFontDatabase::families for SimplifiedChinese nor TraditionalChinese.
Attempting to use it as a Chinese font results in a mix of two fonts being used (see uploaded file MalgunGothicFontTestSimplifiedChinese.html)
For the sentence 你为什么那么做?
__什_那_做? shows as regular sans from Malgun Gothic
你为_么_么_ shows as anything from thin to black sans or serif from a fallback font{{}}
https://doc.qt.io/qt-5/qfontdatabase.html#families "Returns a sorted list of the available font families which support the writingSystem."
https://catalog.monotype.com/family/microsoft-corporation/malgun-gothic "Languages: Basic Latin , Korean"
Does Malgun Gothic have at least one glyph within the chinese unicode block? Yes.
Does Malgun Gothic support the Chinese language? No. You can't even say "你好" (hello)
[crosslinking https://github.com/AustinHasten/AnkiRandomFont/issues/2]
{{}}