[Bug 216889] New: All fonts are listed with their English names instead of localized names.
https://bugzilla.novell.com/show_bug.cgi?id=216889 Summary: All fonts are listed with their English names instead of localized names. Product: openSUSE 10.2 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: OpenOffice.org AssignedTo: eward@novell.com ReportedBy: zsu@novell.com QAContact: qa@suse.de CC: mmeeks@novell.com, jjiao@novell.com Version: OpenOffice 2.0.4 In old version, such as OpenOffice 2.0.3 (SLE10), the fonts are listed with their localized names. That's because when querying fonts list from fontconfig, fontconfig will reorder the names of each font according to current locale, so that the localized font name, which matches current locale, will be placed in front of its English name. If application just pick the first name of each font, then it will be the correct localized name. But it seems that OpenOffice 2.0.4 will bypass this mechanism and use the English name of each font directly. The result of command "fc-list :lang=zh" under zh_CN.UTF-8 locale: 方正黑体,FZHeiTi:style=Regular 方正仿宋,FZFangSong:style=Regular Efont Fixed Wide:style=Italic Efont Biwidth:style=Bold Italic 方正楷体,FZKaiTi:style=Regular Efont Fixed Wide:style=Bold Italic Misc Fixed Wide:style=ko Misc Fixed Wide:style=ja Efont Biwidth:style=Italic 方正宋体,FZSongTi:style=Regular Efont Fixed Wide:style=Regular Efont Biwidth:style=Regular Efont Fixed Wide:style=Bold Gnu Unifont Mono:style=Regular Efont Biwidth:style=Bold Gnu Unifont:style=Regular You can see that if the font has Chinese name, it will be put in front of its English name. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 ------- Comment #1 from zsu@novell.com 2006-11-01 00:27 MST ------- Created an attachment (id=103259) --> (https://bugzilla.novell.com/attachment.cgi?id=103259&action=view) Screen shot. OpenOffice 2.0.4 runs under zh_CN.UTF-8 locale. FZSongTi, FZKaiTi, FZHeiTi, FZFangSong should be listed with their Chinese names. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 ------- Comment #2 from zsu@novell.com 2006-11-01 00:31 MST ------- It's a rather serious usability regression. Because without showing the font's localized name, it's impossible for an user to know the real style of this font. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 ------- Comment #3 from zsu@novell.com 2006-11-01 00:47 MST ------- Created an attachment (id=103260) --> (https://bugzilla.novell.com/attachment.cgi?id=103260&action=view) Screenshot of correct behaviour. It's the font list of OpenOffice 2.0.2 in SLED10. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 mmeeks@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|eward@novell.com |jjiao@novell.com ------- Comment #4 from mmeeks@novell.com 2006-11-01 02:59 MST ------- Jian - this looks quite serious, and better: fairly easy to fix :-), is there any chance we can get a fix for 2.0.4 and/or SL10.2 ? [ James we'll ship a 2.0.4 update for SLED shorlty after SL10.2 ]. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 ------- Comment #5 from zsu@novell.com 2006-11-01 03:12 MST ------- Mr. Jiao did an experiment to fix it by reverting a piece of patch to an old one. It's very easy to fix this issue by this way. However we think that it's not a correct way. We'll look into the code to find a better solution. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 ------- Comment #6 from jjiao@novell.com 2006-11-01 19:12 MST ------- the font-substitution patches is create by Caolan. I need to talk with him. As Su Zhe said, it is easy to fix. But I donot understand why Caolan using fonts' english name instead of localize name. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 jjiao@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #7 from jjiao@novell.com 2006-11-03 02:38 MST ------- I had added a patch to ooo-build. it just reverse some code for FcFontList to create FcFontSet. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 ------- Comment #8 from jjiao@novell.com 2006-11-06 06:08 MST ------- update using the patch which come from Caolan. It work well. Michael, should I closed this bug? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 ------- Comment #9 from mmeeks@novell.com 2006-11-07 02:32 MST ------- If you've committed a fixed patch to both 2-0-4 and HEAD branches, and tested it and it works well - then yes, great, do close the bug :-) If that's not so, lets do it and then close the bug. Thanks. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216889 jjiao@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #10 from jjiao@novell.com 2006-11-07 03:42 MST ------- commit the patch to ooo-build fixed -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com