Bug 24693

Summary: org.eclipse.swt.graphics.GC.drawString() fails to draw euro sign
Product: [Eclipse Project] Platform Reporter: Masaki Saitoh <saitoh>
Component: SWTAssignee: Grant Gayed <grant_gayed>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P2    
Version: 2.0.1   
Target Milestone: 2.0.2   
Hardware: PC   
OS: Linux-Motif   
Whiteboard:

Description Masaki Saitoh CLA 2002-10-11 07:34:21 EDT
When you call org.swt.graphics.GC.drawString() with the text string containing
euro sign, drawString() fails to draw it and the trailing characters.
For example, if you call drawString() with 'ABC$DEF' ($ stands for euro sign),
you will have only 'ABC' rendered and '$DEF' is lost.

RedHad 7.2
Comment 1 Steve Northover CLA 2002-10-11 10:56:28 EDT
Assigning to GG.  Are you sure that you are using a font that includes the 
euro?  If the font does not contain the glyph, nothing will draw.
Comment 2 Masaki Saitoh CLA 2002-10-14 21:23:55 EDT
Even when the glyph for euro is not available, other characters should be
rendered.  What I expected is not 'AB' but 'ABCD' or something like that.
Comment 3 Grant Gayed CLA 2002-10-28 14:40:56 EST
Fixed > 1028.  The Converter was invoking iconv just once, so if an 
untranslatable character was encountered then anything that followed it in the 
string would not be processed.
Comment 4 Masaki Saitoh CLA 2002-10-30 05:49:28 EST
I verified the fix with eclipse-SDK-I20021029-linux-motif.zip build.
It works fine.

Thank you very much.