[Bug 438855] New: Font selection code at the beginning of the installation broken again?
https://bugzilla.novell.com/show_bug.cgi?id=438855 Summary: Font selection code at the beginning of the installation broken again? Product: openSUSE 11.1 Version: Beta 3 Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mfabian@novell.com QAContact: jsrain@novell.com Found By: Development Font selection code at the beginning of the installation broken again? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c1
--- Comment #1 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c2
--- Comment #2 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c3
--- Comment #3 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=438855
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c4
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=438855
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c5
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c6
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c7
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c8
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c9
--- Comment #9 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c10
--- Comment #10 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c11
--- Comment #11 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c12
--- Comment #12 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c13
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c14
--- Comment #14 from Mike Fabian
From a qemu installation (which is still running ...). Selected Korean in linuxrc (and I don’t think I fiddled with the language settings later).
Resolution 800x600, UnDotum is used (correct!). setLangFonts is called: mfabian@magellan:/local1/bnc/bnc438855/var/log/YaST2$ grep setLangFonts *(
mfabian@magellan:/local1/bnc/bnc438855/var/log/YaST2$ grep setLangFonts * y2log:2008-11-05 11:02:14 <1> qemu-11.1-magellan(3284) [qt-ui] YQApplication.cc(setLangFonts):199 /usr/share/YaST2/data/lang_fonts read OK# font-# font[xy]-# font[xy_AB.UTF8]-# font[xy_AB]-font-font[bn]-font[gu]-font[helv]-font[hi]-font[ja]-font[km]-font[ko]-font[mr]-font[pa]-font[sans]-font[si]-font[ta]-font[times]-font[xy]-font[xy_AB.UTF8]-font[xy_XY]-font[zh]-font[zh_CN]-font[zh_HK]-font[zh_SG]-font[zh_TW] y2log:2008-11-05 11:02:14 <1> qemu-11.1-magellan(3284) [qt-ui] YQApplication.cc(setLangFonts):222 font[ko] = "Albany AMT,DejaVu Sans,SUSE Sans,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Efont Biwidth,Gnu Unifont,Sans Serif" y2log:2008-11-05 11:02:14 <1> qemu-11.1-magellan(3284) [qt-ui] YQApplication.cc(setLangFonts):238 New font family: Albany AMT,DejaVu Sans,SUSE Sans,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Efont Biwidth,Gnu Unifont,Sans Serif y2log:2008-11-05 11:02:20 <1> qemu-11.1-magellan(3284) [qt-ui] YQApplication.cc(setLangFonts):256 Reloading fonts - now using "Albany AMT,DejaVu Sans,SUSE Sans,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Efont Biwidth,Gnu Unifont,Sans Serif,-1,10,5,50,0,0,0,0,0" mfabian@magellan:/local1/bnc/bnc438855/var/log/YaST2$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c15
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c16
--- Comment #16 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c17
--- Comment #17 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c18
--- Comment #18 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c19
--- Comment #19 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c20
--- Comment #20 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c21
--- Comment #21 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c22
Stefan Hundhammer
Maybe we did a redisplay of all the widgets when changing the language and don’t do that anymore?
Since all translations need to be reloaded upon a language change, all widgets with user-visible texts are redisplayed anyway. So that cannot be the problem.
Or called a function to make Qt reinitialize the font support?
None that I know of. And that would have to be in the diff of comment #11; that was the reason why I pasted that diff here.
Could be a problem introduced in Qt that Qt doesn’t notice the availability of fonts installed after the application started.
My guess is also that it's something internally in libqt4. But I have no clue how to make a minimal test case for this based only on libqt4 with no YaST2 parts so we could prove this theory right or wrong. If you have any idea what additional fontconfig functions we could add to try and force reloading font related stuff or clear caches, I will gladly add it. But I am out of clues how to continue with this issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c23
--- Comment #23 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c24
--- Comment #24 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c25
--- Comment #25 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c26
--- Comment #26 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c27
--- Comment #27 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c28
--- Comment #28 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c29
--- Comment #29 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c30
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c31
--- Comment #31 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c32
--- Comment #32 from Mike Fabian
While testing the above fontconfig patch I noticed that some fontbugs in Qt seem to have been fixed since openSUSE 11.0. The lang_fonts file which I attached in comment #29 now improves font display when switching back and forth between languages.
When clicking on language A the font for A is loaded and A is displayed correctly (with the fixed fontconfig of course). But when clicking on another language B after that, it often happened in openSUSE 11.0 that A was displayed as boxes again although the font for A was of course still available.
I tried to improve this behaviour on openSUSE 11.0 already with the lang_fonts I now attached to comment#29. on openSUSE 11.0 this didn’t help, in fact it made matters worse. It looked like Qt4 could not deal with such long lists in setfont() correctly at that time. But now it works! With this lang_fonts one can click on one language after the other without destroying the display of previously correctly displayed languages and if one has clicked on all languages, they are all displayed correctly.
Stefan, can you please updated lang_fonts to the new version from comment #29? Thank you very much!
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c36
--- Comment #36 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c37
--- Comment #37 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c38
--- Comment #38 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=438855
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438855#c39
--- Comment #39 from Mike Fabian
participants (1)
-
bugzilla_noreply@novell.com