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 201482 Details for
Bug 274567
[Palette] BIDI3.5:Wrong shaping for digits in Customize Palette dialog and in Logic editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed Patch
patch.txt (text/plain), 1.02 KB, created by
Ghada Selim
on 2011-08-15 07:05:15 EDT
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Ghada Selim
Created:
2011-08-15 07:05:15 EDT
Size:
1.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/text/TextFlow.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/text/TextFlow.java,v >retrieving revision 1.62 >diff -u -r1.62 TextFlow.java >--- src/org/eclipse/draw2d/text/TextFlow.java 19 May 2010 20:28:20 -0000 1.62 >+++ src/org/eclipse/draw2d/text/TextFlow.java 15 Aug 2011 10:59:30 -0000 >@@ -11,6 +11,7 @@ > package org.eclipse.draw2d.text; > > import java.util.List; >+import java.util.Locale; > > import org.eclipse.swt.SWT; > import org.eclipse.swt.graphics.Color; >@@ -121,7 +122,12 @@ > */ > protected void contributeBidi(BidiProcessor proc) { > bidiInfo = null; >- proc.add(this, getText()); >+ // If the locale is Arabic, stop this call to avoid the wrong shaping >+ // for Arabic numerals >+ if (!(Locale.getDefault()).getLanguage().equalsIgnoreCase("ar")) { >+ proc.add(this, getText()); >+ } >+ > } > > /**
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274567
:
133993
|
192295
| 201482 |
207645
|
207646
|
222628
|
222629