FigureUtilities.getTextExtents [message #202588] |
Fri, 11 November 2005 10:37 |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
Hi,
We are using FigureUtilities.getTextExtents and the results we are getting
suggests that the result is the same regardless of whether the font's
style is set to italic or not. Is it really the case that getTextExtents
ignores this?
James
|
|
|
|
Re: FigureUtilities.getTextExtents [message #202640 is a reply to message #202616] |
Fri, 11 November 2005 15:14 |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
You may be right, it could be GCs rendering of the italicised text that is
wrongly truncating the width. Is this something you've experienced?
James
Felix L J Mayer wrote:
> Could it be that this result is actually correct?
> "James Willans" <james.willans@xactium.com> wrote in message
> news:1a4912467ca8184eb4a99cf15af77896$1@www.eclipse.org...
>> Hi,
>>
>> We are using FigureUtilities.getTextExtents and the results we are getting
>> suggests that the result is the same regardless of whether the font's
>> style is set to italic or not. Is it really the case that getTextExtents
>> ignores this?
>>
>> James
>>
|
|
|
|
Re: FigureUtilities.getTextExtents [message #202668 is a reply to message #202588] |
Fri, 11 November 2005 16:35 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You are seeing the result returned from win32. I don't think italics affect
the width result, even though they clearly require more pixels at the time
of painting, in some cases.
"James Willans" <james.willans@xactium.com> wrote in message
news:1a4912467ca8184eb4a99cf15af77896$1@www.eclipse.org...
> Hi,
>
> We are using FigureUtilities.getTextExtents and the results we are getting
> suggests that the result is the same regardless of whether the font's
> style is set to italic or not. Is it really the case that getTextExtents
> ignores this?
>
> James
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03548 seconds