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 71267 Details for
Bug 192597
ScaledGraphics.drawTextLayout does not function normally
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
ScaledGraphics patch
ScaledGraphics.patch (text/plain), 1.02 KB, created by
Hidenori Maeda
on 2007-06-14 02:39:10 EDT
(
hide
)
Description:
ScaledGraphics patch
Filename:
MIME Type:
Creator:
Hidenori Maeda
Created:
2007-06-14 02:39:10 EDT
Size:
1.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/ScaledGraphics.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.draw2d/src/org/eclipse/draw2d/ScaledGraphics.java,v >retrieving revision 1.36 >diff -u -r1.36 ScaledGraphics.java >--- src/org/eclipse/draw2d/ScaledGraphics.java 4 Apr 2006 20:18:20 -0000 1.36 >+++ src/org/eclipse/draw2d/ScaledGraphics.java 14 Jun 2007 06:35:13 -0000 >@@ -294,7 +294,7 @@ > graphics.drawTextLayout(scaled, > (int)Math.floor(x * zoom + fractionalX), > (int)Math.floor(y * zoom + fractionalY), >- selectionStart, selectionEnd, selectionBackground, selectionForeground); >+ selectionStart, selectionEnd, selectionForeground, selectionBackground); > scaled.dispose(); > } > >@@ -394,7 +394,7 @@ > FontData data = (FontData)fontDataCache.get(f); > if (data != null) > return data; >- data = getLocalFont().getFontData()[0]; >+ data = f.getFontData()[0]; > fontDataCache.put(f, data); > return data; > }
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 192597
: 71267