Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese Fonts support needed #96

Open
lukaschan opened this issue Jan 7, 2025 · 3 comments
Open

Chinese Fonts support needed #96

lukaschan opened this issue Jan 7, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@lukaschan
Copy link

Chinese fonts not displayed properly.

微信截图_20250107155311

@theJayTea
Copy link
Owner

Hi! Could you please elaborate on the nature of the issue?

Is the inconsistent bolding of the text the issue?

Could you:

  • Ask a follow-up, asking the model to not use markdown
  • Try using a larger model (Gemini 1.5 Pro instead of Gemini 2.0 Flash) as the larger model may work better with Chinese

@lukaschan
Copy link
Author

lukaschan commented Jan 8, 2025

微信截图_20250108125529

Thanks.

  • Same issue with the follow-up answer.
  • I used grokcloud with llama3.3, and I can't try Gemini coz I can't get a valid api.

It might be possible to resolve the issue by adjusting the text font to one that supports Chinese characters.

@theJayTea theJayTea added the enhancement New feature or request label Jan 21, 2025
@theJayTea
Copy link
Owner

Hi! A quick update:
On looking deeper into this, I think it's because QTextBrowser (which is used to render each message/text box) defaults to the system font (probably Segoe UI), which for some reason isn't properly rendering Chinese characters.
I can try forcing the usage of a font that supports Chinese characters and see if it fixes it.
If it does, I can add an option to force a custom font in Settings so if the default doesn't work well (as in your case), one could switch it.
Thanks for bringing this up :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants