Menu

#68 Wrong radical file by clicking on a kanji (Debian)

open
nobody
None
1
2016-03-17
2016-02-06
jchrbe
No

On gwaei installed on Debian Jessie, clicking on 女', '日', '木', '火' gives informations for '姦', '昌', '森' and '炎' kanjis.

This bug was already on Debian/Wheezy.

Discussion

  • jchrbe

    jchrbe - 2016-02-22

    I'll try to tell what I guess...

    In kanji file, 姦, 昌, 森 and 炎 lines come before 女, 日, 木, 火 ones, lines beginning with

    [ 391] 姦 女 hexadigits...
    [1309] 女 女 hexadigits...

    [1343] 昌 日 hexadigits...
    [2160] 日 日 hexadigits...

    [1435] 森 木 hexadigits...
    [2690] 木 木 hexadigits...

    [ 168] 炎 火 hexadigits...
    [3250] 火 火 hexadigits...

    Would it be possible the code is written in such a way it is glad to find 昌 line searching 日 one?

    At the opposite, 口 line comes before 品 one and have two components before the hexadigits

    [ 845] 口 囗 口 hexadigits...
    [2392] 品 口 品 hexadigits...

    and clicking on 口 kanji displays information on the right kanji.

    I hope it helps debugging.

     
  • jchrbe

    jchrbe - 2016-03-17

    As I'm not able to fix it in the sources (and by the way, the last version doesn't compile on my system, lacking libraries...) I moved 女, 日, 木, 火 and 夕 lines at the beginning of the kanji file.

    It works, I hope it doesn't disturb the application.

     

    Last edit: jchrbe 2016-03-17

Log in to post a comment.

MongoDB Logo MongoDB