On Sat, 3 Nov 2007 18:21:49 -0400
"Hess, Philip J" <[EMAIL PROTECTED]> wrote:

> Tobias,
> 
> I believe I can live with the patch by doing some conditional
> compiling on my end (note this is not needed with other widgetsets
> but will with Carbon if the patch is made). However, I'll need two
> additional changes. In TCarbonDeviceContext.GetTextExtentPoint and
> TCarbonDeviceContext.GetTextMetrics, please pass True in
> BeginTextRender instead of False and test to see if that has any
> undesirable consequences. I recompiled the IDE with this changes as
> well as my TLabel test app and I don't see any problems on this end.
> 
> ExtTextOut and GetTextExtentPoint are often used hand in hand, so
> disabling fractional spacing with non-nil DX means that it should
> also be disabled in GetTextExtentPoint. However, there's no way to
> pass this information to GetTextExtentPoint the way there is with
> ExtTextOut.

Providing a DX to ExtTextOut means overriding any normal widths.
That's why GetTextExtentPoint and GetTextExtentExPoint have no DX
parameter.
In other words: GetTextExtentPoint makes only sense if DX=nil in
ExtTextOut.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to