Tobias, Please load the attached .rtf file into OS X's TextEdit. On my Mac, the "t" and "o" in "to" are jammed together in the first line but not in the second line. The first line is Helvetica, the second line is Arial.
This is exactly the kind of rendering problem I see with my ported control when kATSLineUseDeviceMetrics is not used. If Apple can't get it right every time with their software (although their Pages word processor does not have this problem), then clearly it's a complicated issue. Thanks. -Phil -----Original Message----- From: Tobias Giesen [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 2:23 PM To: [email protected] Subject: Re: [lazarus] Adding AllowFractionalPositioning to TCarbonDeviceContext Hi Phil and others, I think if we only make careful amendments to carboncanvas.pp and nowhere else, then nobody needs to be horrified any more. I did not see your screenshots! I can confirm that the text won't look identical to the buttons even with my changes, but that is not so important. It might be intended by Apple. So if you could live with the change that Mattias proposed, I would go ahead and prepare a patch to add this function: > function SetFontFractionalPositioning(DC: HDC; > UseFractionalPositioning: boolean): boolean; > to carboncanvas.pp Which you would need to call just once for any Canvas involved. Since this is Carbon-internal, we could include it in 0.9.23. What do you think? Kind Regards, Tobias Giesen Super Flexible Software Ltd. & Co. KG Lessingstr. 42 48485 Neuenkirchen, Germany www.superflexible.com www.tgtools.com ----------------------------------------------------------- Registered at register court Steinfurt as HRA 5061 Liability / general partner: TGTools Ltd. Company No. 05513299 Registered in England and Wales Directors: Tobias Giesen and Claudia Hübl _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
TestText1.rtf
Description: TestText1.rtf
