Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 111830 - Text is clipped when setting to Italic with certain last characters
Summary: Text is clipped when setting to Italic with certain last characters
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: Steven R. Shaw CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 15:14 EDT by Steven R. Shaw CLA
Modified: 2010-07-19 12:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven R. Shaw CLA 2005-10-06 15:14:24 EDT
- Create a note
- Add the text "Kind" to the note

Result:
- The letter "d" is cut-off and no amount of resizing can remedy it.
Comment 1 Steven R. Shaw CLA 2005-10-11 17:37:36 EDT
Purpose: 
- Fixed problem where with certain end characters, Italic text was being cut-
off during display and there was no way to recover except by adding spaces.  
It appears the text extent returned by SWT is the same regardless of whether 
it is Italised or not.  Modified the paintText routine to add a small buffer 
to the clipping rectangle to account for font overhang from italic characters 
or irregular characters.  The buffer is based on half the character size of 
the last character in the token string.

Activities: 
bugzilla 111830 gmf-head sshaw 051007 Text is clipped when setting to Italic 
with certain last characters
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:26:49 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug