Bug 24693 - org.eclipse.swt.graphics.GC.drawString() fails to draw euro sign
Summary: org.eclipse.swt.graphics.GC.drawString() fails to draw euro sign
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Linux-Motif
: P2 major (vote)
Target Milestone: 2.0.2   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-11 07:34 EDT by Masaki Saitoh CLA
Modified: 2002-10-31 10:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.