mvysny / aedict

Original Aedict 2 source codes
http://www.aedict.eu
GNU General Public License v3.0
40 stars 7 forks source link

Mismatch for stroke count and stroke order for 餅「もち」 -- breaks kanjipad search? #808

Closed jmillikin closed 6 years ago

jmillikin commented 7 years ago

「もち」 has two forms, one with 15 strokes and one with 14.

jis2004_mochi14200

The dictionary entry for this kanji shows "strokes: 14", but has 15 stroke order pictures.

screenshot_20171029-200908

This seems to break Kanji recognition. Neither form can be found in Kanjipad.

screenshot_20171029-201205 screenshot_20171029-201121

mvysny commented 7 years ago

This is a well-known problem, unfortunately. The kanji 餅 is rendered differently with Japanese font than with Chinese font. The Japanese glyph differs from the Chinese glyph, yet they are mapped to the same unicode codepoint. The Japanese version has 14 strokes; the Chinese one has 15.

If you notice, Aedict correctly uses Japanese font to display the kanji itself (at the top of the first screenshot). Yet, to display the stroke order diagram, it uses the output of the KanjiVG project which apparently uses the Chinese glyph version.

Please feel free to inform the KanjiVG guys at http://kanjivg.tagaini.net/ to change their glyph from Chinese version to Japanese version.

Regarding the kanjipad not finding the kanji: that may actually be a limitation of the internal kanjipad: it may not have this kanji in its database at all. We're discussing this at #807 - please try the Kanjipad Extension or please try drawing the kanji at https://aedict-online.eu/#!kanji-search

mvysny commented 7 years ago

This page shows the correct Japanese glyph (as a picture, so it should be always correct): http://www.fileformat.info/info/unicode/char/9905/index.htm . On the other hand, my system's locale is set to EN/US and thus probably preferring Chinese characters, and thus this issue shows the Chinese character: screenshot from 2017-10-30 13-07-42

mvysny commented 6 years ago

No activity for a month, closing.