Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 278888 Details for
Bug 548140
[win32][StyledText] Hieroglyph causes preceding spaces to change size
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Repro snippet
SWT548140_HieroglyphChangesSpaceSize.java (text/plain), 827 bytes, created by
Alexandr Miloslavskiy
on 2019-06-11 06:05:39 EDT
(
hide
)
Description:
Repro snippet
Filename:
MIME Type:
Creator:
Alexandr Miloslavskiy
Created:
2019-06-11 06:05:39 EDT
Size:
827 bytes
patch
obsolete
>import org.eclipse.swt.*; >import org.eclipse.swt.custom.*; >import org.eclipse.swt.graphics.*; >import org.eclipse.swt.layout.*; >import org.eclipse.swt.widgets.*; > >public class SWT548140_HieroglyphChangesSpaceSize { > public static void main(String[] args) { > final Display display = new Display(); > final Shell shell = new Shell(display); > shell.setLayout(new FillLayout()); > > final StyledText styledText = new StyledText(shell, SWT.MULTI | SWT.BORDER); > styledText.setFont(new Font(display, new FontData("Courier New", 9, SWT.NORMAL))); > styledText.setText(" 1234567890\n" + > " \u618C\n"); > shell.setSize(400, 300); > shell.open(); > > while (!shell.isDisposed()) { > if (!display.readAndDispatch()) { > display.sleep(); > } > } > > display.dispose(); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 548140
: 278888