|
Bugzilla – Full Text Bug Listing |
| Summary: | Japanese TrueType fonts are not used in first part of installation | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Mike Fabian <mfabian> |
| Component: | Installation | Assignee: | Stefan Hundhammer <shundhammer> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Mike Fabian
2005-08-09 10:28:48 UTC
Please, provide the YaST logs. No logs, but hopefully Stefan can handle this anyway. It's trivial to reproduce. I'll attach logs as soon as I can reboot my test machine again, it is currently not possible because we are trying to fix a skim crash. Mike, how about the font table we introduced only a few weeks ago? There should be something in the y2logs about which font was used upon language change. Maybe even no language change was detected, so simply a call to UI::SetLanguage() may be missing in this scenario (if you changed the language in linuxrc rather than in the first YaST2 dialog). Jiri, do we call UI::SetLanguage() in this scenario at all? If not, we need to add that call. I think I found the reason for the problem. It is my fault. It is a typo in the font table Stefan mentioned ikn comment #4. On Beta3, the "Efont Unicode" bitmap font is used for Japanese which shows that Stefan's font switching code is working. The TrueType font"IPAGothic" is not used because I wrote "IPAPGothic" in the config file "/usr/share/YaST2/data/lang_fonts" (note the extra 'P'). This font exists as well but the font which is currently in instsys is "IPAGothic", not "IPAPGothic". I should add both fonts to the config file, then it should work no matter which one is really installed. Like this: mfabian@magellan:/usr/share/YaST2/data$ diff -u lang_fonts.orig lang_fonts --- lang_fonts.orig 2005-08-25 17:18:11.000000000 +0200 +++ lang_fonts 2005-08-25 17:18:38.000000000 +0200 @@ -21,7 +21,7 @@ font[zh_SG] = "Albany AMT,SUSE Sans,FZSongTi,FZMingTiB,AR PL SungtiL GB,Gnu Unifont,Efont Biwidth,Sans Serif" font[zh_TW] = "Albany AMT,SUSE Sans,FZMingTiB,FZSongTi,AR PL Mingti2L Big5,AR PL SungtiL GB,Gnu Unifont,Efont Biwidth,Sans Serif" font[zh_HK] = "Albany AMT,SUSE Sans,FZMingTiB,FZSongTi,AR PL Mingti2L Big5,AR PL SungtiL GB,Gnu Unifont,Efont Biwidth,Sans Serif" -font[ja] = "Albany AMT,SUSE Sans,HGPGothicB,IPAPGothic,Sazanami Gothic,Efont Biwidth,Gnu Unifont,Sans Serif" +font[ja] = "Albany AMT,SUSE Sans,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,Efont Biwidth,Gnu Unifont,Sans Serif" # For debugging mfabian@magellan:/usr/share/YaST2/data$ Change committed to YaST2 svn: mfabian@magellan:/sakura/mfabian/yast2/yast-trunk/qt$ svn diff -r 25217:25219 Index: src/lang_fonts =================================================================== --- src/lang_fonts (リビジョン 25217) +++ src/lang_fonts (リビジョン 25219) @@ -21,7 +21,7 @@ font[zh_SG] = "Albany AMT,SUSE Sans,FZSongTi,FZMingTiB,AR PL SungtiL GB,Gnu Unifont,Efont Biwidth,Sans Serif" font[zh_TW] = "Albany AMT,SUSE Sans,FZMingTiB,FZSongTi,AR PL Mingti2L Big5,AR PL SungtiL GB,Gnu Unifont,Efont Biwidth,Sans Serif" font[zh_HK] = "Albany AMT,SUSE Sans,FZMingTiB,FZSongTi,AR PL Mingti2L Big5,AR PL SungtiL GB,Gnu Unifont,Efont Biwidth,Sans Serif" -font[ja] = "Albany AMT,SUSE Sans,HGPGothicB,IPAPGothic,Sazanami Gothic,Efont Biwidth,Gnu Unifont,Sans Serif" +font[ja] = "Albany AMT,SUSE Sans,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,Efont Biwidth,Gnu Unifont,Sans Serif" # For debugging Index: package/yast2-qt.changes =================================================================== --- package/yast2-qt.changes (リビジョン 25217) +++ package/yast2-qt.changes (リビジョン 25219) @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Aug 25 17:26:04 CEST 2005 - mfabian@suse.de + +- Bugzilla #102978: Japanese TrueType fonts are not used in first + part of installation: fix typo in lang_conf. + +------------------------------------------------------------------- Thu Aug 18 18:09:47 CEST 2005 - sh@suse.de - V 2.12.10 mfabian@magellan:/sakura/mfabian/yast2/yast-trunk/qt$ Reassign to Stefan Hundhammer <sh@suse.de> as a reminder that the yast2-qt needs to be submitted to STABLE. Package "yast2-qt" checked into STABLE: ls -l /work/src/done/STABLE/yast2-qt total 2118 -rw-rw-r-- 1 sh suse 2098956 Aug 25 20:27 yast2-qt-2.12.11.tar.bz2 -rw-rw-r-- 1 sh suse 55145 Aug 25 20:27 yast2-qt.changes -rw-rw-r-- 1 sh suse 2099 Aug 25 20:27 yast2-qt.spec |