Community
Participate
Working Groups
Build Identifier: 201109091335 If you set the title of a TitleAreaDialog to contain a ž \u017e character, it is not rendered correctly on Windows. It is correctly rendered on the rest of the dialog box, and the title is correctly rendered on other non-Windows platforms. I will attach a simple reduced test case to reproduce the issue. It was originally found on Eclipse 3.4.2, but still seems to be an issue even under 3.7.1 See http://www.fileformat.info/info/unicode/char/17e/index.htm for information on the character. Reproducible: Always Steps to Reproduce: 1. Execute the reduced test case on Windows. 2. Notice the rendering bug.
Created attachment 206264 [details] Screenshot
Created attachment 206265 [details] Bug362565Dialog.java
(In reply to comment #1) > Created attachment 206264 [details] > Screenshot It looks to me like that character cannot be rendered when the font is bold. Do you have this problem in other programs with a bold font?
(In reply to comment #3) > (In reply to comment #1) > > Created attachment 206264 [details] [details] > > Screenshot > > It looks to me like that character cannot be rendered when the font is bold. Do > you have this problem in other programs with a bold font? Indeed. As this is a fairly common Czech character I would suggest the correct fix for this defect would be to specify a more complete default font value to use for `org.eclipse.jface.bannerfont` when running in Czech. I believe this should be possible by editing the jfacefonts_cs.properties files for Windows that are shipped in the org.eclipse.ui.nl1 plugin jar.
(In reply to comment #4) > As this is a fairly common Czech character I would suggest the correct fix for > this defect would be to specify a more complete default font value to use for > `org.eclipse.jface.bannerfont` when running in Czech. I believe this should be > possible by editing the jfacefonts_cs.properties files for Windows that are > shipped in the org.eclipse.ui.nl1 plugin jar. Kit, is there something we need to do here on the Eclipse side?
Created attachment 207191 [details] New Dialog in Czech Dominic, the default bannerfont for Windows XP in Eclipse 3.7 was: org.eclipse.jface.bannerfont.0=Tahoma-bold-10 I did not have problem with the character in the dialog title.
Dominic, please feel free to reopen the bug if you have more information.
Hi, I got the same problem in our wizard. We just use "setTitle" method to set the strings in title area. We are also using the JFace jar from Eclipse 3.7.
Created attachment 217252 [details] Image to show the wrong character of Czech
(In reply to comment #9) > Created attachment 217252 [details] > Image to show the wrong character of Czech Are you running with the correct NL pack? Is your banner font set to Tahoma-bold-10? Is that installed on your system? PW
The system is Win2008. We didn't set font for the title. We simply just use the setTitle method provided by WizardPage. The string is just come from the properties file of Czech.
(In reply to comment #11) > The system is Win2008. We didn't set font for the title. We simply just use the > setTitle method provided by WizardPage. The string is just come from the > properties file of Czech. Did you install the Czech language pack from Babel? PW
I guess no. Would you please point me where to download the NL Package for Czech? We will have a try. We are using 3.7. Thanks.
The problem was not in the language pack. The problem was that Win2008 was not a supported platform for Eclipse 3.7. There was no "org.eclipse.jface.bannerfont.0" set for Win2008 for Czech, and the font fell back to the default of "MS Sans Serif-bold-10", which couldn't display some of the Czech characters properly. Jing, is it possible to set your wizard title font to "Tahoma-bold-10"?
I can have a try, but how to do that? I'm using the setTitle method, so I suppose I need to implement it and then how?
Another question, will Win2008 be the supported platform for eclipse 4.2? So the problem should be solved in 4.2, right?
(In reply to comment #16) > Another question, will Win2008 be the supported platform for eclipse 4.2? So > the problem should be solved in 4.2, right? http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_2.xml#target_environments Windows 7 and Windows XP are the supported platforms. PW
(In reply to comment #14) > The problem was not in the language pack. The problem was that Win2008 was not > a supported platform for Eclipse 3.7. There was no > "org.eclipse.jface.bannerfont.0" set for Win2008 for Czech, and the font fell > back to the default of "MS Sans Serif-bold-10", which couldn't display some of > the Czech characters properly. > > Jing, is it possible to set your wizard title font to "Tahoma-bold-10"? Do you know how to set the title font to Tahoma-bold-10? I really need to fix this.
(In reply to comment #17) > (In reply to comment #16) > > Another question, will Win2008 be the supported platform for eclipse 4.2? So > > the problem should be solved in 4.2, right? > > http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_2.xml#target_environments > > Windows 7 and Windows XP are the supported platforms. > > PW In my understanding, Win7 has no much difference with Win2008. You can not guarantee your application will not run on a server environment. Is there a work around for my current issue?
Hi all, The defect has been deferred to next release. Is it possible for you to support Win2008 in your next release? I don't think it make sense an eclipse app will only run in client OS. It's also possible to run in an server OS. We are using JFace in our product, this is very important to us. Thanks.
(In reply to comment #20) > Hi all, > > The defect has been deferred to next release. Is it possible for you to support > Win2008 in your next release? What language pack do you have installed to enable Czech in JFace? If you are using one from eclipse, what's the filename. From comment #14, you have to find the .properties file that's supplying org.eclipse.jface.bannerfont.0 and set it to Tahoma-bold-10 for the default properties file for Czech. PW
Sorry for the late response. We are using the language pack installed by Windows. I think that's what most customers will do.
(In reply to comment #22) > Sorry for the late response. We are using the language pack installed by > Windows. I think that's what most customers will do. I don't know what windows does, but it has no bearing on what eclipse does. To get menus and labels translated within eclipse, you must install an eclipse language pack (it includes fragments with the appropriate language .properties files). If you haven't done so already, start with http://www.eclipse.org/babel PW