-
Notifications
You must be signed in to change notification settings - Fork 796
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
unrecognizable characters with Qt document #816
Comments
What's the language of your system? Also version of Zeal? |
system language: chinese |
Even for the same Qt 5 docset it is not always like that? @annulen Any hints on how to debug this? I can see that in a few places (search box, tabs) regular font somehow got replaced with a monospaced version, but at the same time menu and lists look fine. |
Have you tried to open the same html page in minimal QtWebKit application, e.g. https://github.com/OtterBrowser/test-qtwebkit ? |
It's also interesting to know if this issue reproduces with Qt 5.4. Unfortunately it means building QtWebKit from sources |
@magicdmer Could you try viewing same pages with the linked minimal browser? Zeal doesn't support Qt < 5.5. I think Qt has issues with resolving and rendering fonts on Chinese Windows. |
Is the page using local or web font? In online version I see it uses OpenSans, which is probably missing on Windows and used as a web font. Does rendering change if you install OpenSans into the system? (Please check what font family is actually used) |
Note that link above contains sources; if something binary is needed, you can try with Otter Browser |
|
Indeed. Could you try painting some text with that font by modifying https://github.com/annulen/test_qrawfont and see if problem reproduces? |
It seems that Chinese Windows is more than just a language pack anyone could install... |
This is quite possible. My current theory is a regression in QRawFont (btw there was one fixed recently, se https://bugreports.qt.io/browse/QTBUG-59799) which easily went unnoticed because it doesn't reproduce on vanilla system. |
So, please try to find out if QRawFont + font file reproduces the bug or not |
Did it ever happen for other system than Chinese Windows? |
I am not aware of this happening anywhere but the Chinese version. |
But, other documents are ok except qt 5 document , other documents are never wrong. and this once, my qt5 document is back to normal. Look at picture: |
In additon, when qt5 document is wrong, i use "Open URL" in chrome and it will be ok |
@magicdmer Other documents probably use different fonts |
Zeal 0.6.1 on Windows 8, Chinese Version but use English Language as display,both Java SE、Scala、JavaFx all have same issue, but not include same JavaDoc tech page like Java EE, Spring Framework. |
I also have this problem with |
This is the case, I have ejected Mactype for Zeal rendering, and then Java, Qt, Scala documents can be displayed properly, cool! Even Chinese systems can display normally. I think that Oriental text may not work well on Windows, so many people use Mactype to optimize fonts. I didn't expect it to be a Mactype problem! |
Thank you, i add zeal.exe to mactype's exclusion list , zeal works ok now. |
@trollixx the issue maybe can close, new version zeal works well without mactype |
Thanks for the update! I didn't know about MacType. Is it popular among users with CJK system language? |
MacType is a opensource font rendering tool for Windows, you can find it on github. In fact , it's popular among users who want to make their system font more perfect in the world. |
Apple's way of rendering fonts is... peculiar, to say mildly. I don't think it's supported by Qt in any way |
@annulen the ticket says there's also a known issue with some Windows API that QtWK calls, maybe that's what causing our other font rendering issues on Windows? |
QtWebKit doesn't use Windows API for font manipulations, everything is done via QRawFont and QFontDatabase. So bugs should be reproducible in regular Qt widgets |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for a related request. |
when i look up qt5 document, zeal display unrecognizable characters like follow picture , other document is ok
problem picture
The text was updated successfully, but these errors were encountered: