| Summary: | Characters in Wizard title (bold font) do not render correctly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | onebug | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse.felipe, paul-eclipse, remy.suen | ||||
| Version: | 3.6.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Server 2003 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
Created attachment 189580 [details]
Screenshot showing the difference between Windows Server 2003 and Windows XP
(In reply to comment #1) > Created attachment 189580 [details] > Screenshot showing the difference between Windows Server 2003 and Windows XP Does your windows server 2003 have the fonts necessary to render that text ? Is this related to bug 311037? (In reply to comment #2) > (In reply to comment #1) > > Created attachment 189580 [details] [details] > > Screenshot showing the difference between Windows Server 2003 and Windows XP > > Does your windows server 2003 have the fonts necessary to render that text ? Yes. The screenshot in comment 1 is not the screenshot of running the snippet in comment 0, right ? can you please provide the screenshot of the snippet running on the windows server 2003 machine ? The screenshot looks like a encoding problem not a font problem. I noticed also that you are running Eclipse 3.6.1, have you tested with Eclipse 3.7 ? Thank you This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. Works on Windows 7 and 10. Other versions are not supported anymore. |
Build Identifier: 3.6.1 On Windows Server 2003, the attached code will not display the Wizard title correctly. The subtitle, using the same text, will display fine. On Windows XP, there is no issue. import org.eclipse.jface.wizard.Wizard; import org.eclipse.jface.wizard.WizardDialog; import org.eclipse.jface.wizard.WizardPage; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; public class WizardTitle { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Wizard wizard = new Wizard() { { addPage(new WizardPage("page name") { public void createControl(Composite parent) { setControl(new Label(parent, SWT.NONE)); setTitle("[\u0153\u00ff\u00c7r\u00e9\u00e0t\u00e9 S\u00e7h\u00e9m\u00e0]"); setDescription("[\u0153\u00ff\u00c7r\u00e9\u00e0t\u00e9 S\u00e7h\u00e9m\u00e0]"); } }); } @Override public boolean performFinish() { // TODO Auto-generated method stub return false; } }; wizard.setWindowTitle("Window title"); WizardDialog dialog = new WizardDialog(shell, wizard); dialog.setTitle("Title"); dialog.setBlockOnOpen(true); dialog.setPageSize(300, 300); dialog.open(); } } Reproducible: Always Steps to Reproduce: 1. Run the attached sample code