Skip to content

Chinese simplified have rong display #63

Description

@momikiii

Hi,XITRIX

I have some problem in your app

Chinese simplified have rong display , and I can't alter language to English, hope you can fix it , and add an options to change language

Thanks a lot!

Activity

  1. XITRIX commented on Apr 16, 2022

    @XITRIX
    Owner

    What do you mean "wrong display"? I don't know Chinese and this language was added by community, so I cannot confirm is it ok or not. Anyway option to change inapp language is planning.

  2. Alioth2000 commented on Apr 17, 2022

    @Alioth2000

    Some Chinese character are not displayed correctly, they are vacant. In my experience this is not a translation problem, this should be a lack of corresponding fonts
    image

  3. momikiii commented on Apr 17, 2022

    @momikiii
    Author

    Some Chinese character are not displayed correctly, they are vacant. In my experience this is not a translation problem, this should be a lack of corresponding fonts image

    This is what I mean , and I am trying to add Microsoft Yahei font in this project , but I can't execute "meson build" correctly when I finished adding font.

    I'll be appreciate ,if you can check my another issue and provide some help.(●'◡'●)

  4. Jio0oiJ commented on May 14, 2022

    @Jio0oiJ

    for my self, just copy en-us language file into hans to pass this bug...

  5. zmk5566 commented on Aug 4, 2022

    @zmk5566

    Some Chinese character are not displayed correctly, they are vacant. In my experience this is not a translation problem, this should be a lack of corresponding fonts image

    This is what I mean , and I am trying to add Microsoft Yahei font in this project , but I can't execute "meson build" correctly when I finished adding font.

    I'll be appreciate ,if you can check my another issue and provide some help.(●'◡'●)

    Thing is, I am NOT even sure this is caused by font issue.

    I have tested the font embeded in the ./resources/font folder, install the font on ubuntu and here is the font test result:
    screen-shot

    So either:

    1. The font in the resource folder is not used atm , or
    2. some other kinda problem
  6. zmk5566 commented on Aug 4, 2022

    @zmk5566

    As a follow up, I suspect it might be an encoding issue. To be more specific, something to do with CJK issue that is why some of the characters are missing but some of them are able to display. The reference is here : https://en.wikipedia.org/wiki/CJK_characters I ll try to start a build myself to see how it goes.

  7. CaiMiao commented on Aug 8, 2022

    @CaiMiao

    @XITRIX this is because you did not load chinese shared font in your codes.

    i have written a solution of early stage of yoga borelis here but did not have time look into latest changes as i aready using legacy. you can integrate a similar solution but i would suggest you just copy most of my code.

  8. CaiMiao commented on Aug 9, 2022

    @CaiMiao

    2022081002382700

    I made a build to add shared font support.
    Moonlight-Switch.zip

    Note: loading additional shared font consumes a few RAM, which may cause potential performance impact. if you are okay with that, just cherry-pick my commit with commenting line out from 43 to 50 (consume less RAM).

    (这个build添加了中文字体支持,但是会额外占用部分内存,因此有可能出现性能问题。如果你在意可用内存,请放弃使用简体中文,直接全部改成日文汉字。下面上传的main.json是繁体中文转日文汉字。)

    if you concern about those RAM, i will suggest delete the chinese translation, or use this malformed main.json (for tofus use Japanese Kanji instead) for both Hans and Hant.
    https://gist.github.com/CaiMiao/f38d274e4d413700374c6173065c65b9

  9. CaiMiao commented on Aug 9, 2022

    @CaiMiao

    2022081002434500

    no additional shared font but main.json edited build.

    save some RAM.

    Moonlight-Switch-zhKanji.zip

  10. XITRIX commented on Nov 9, 2024

    @XITRIX
    Owner

    I think it was resolved long time ago, if not, please, reopen this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions