site_archiver@lists.apple.com Delivered-To: Cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=u1pOtzgPApuSlw0jTbwH0xHw+mTurjhhCzbu/lRRwjo=; b=nFRfzDOLSdDpZ/JQL646T2TOohcZUUGuyPJAMdOpmWBhxuz8EK8X4W2tKPj5FLMe9i twND2xOxFa9hWWOHynj4uzWflTWNOf6ocTPXg2fy1NW+93yL2xh4QnaEHsp0rHQYXy0t TgX8PAYtF5xUCrfyP/DyduVIvFGvJxWDefN1U= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Gqk0QAEqLvHK6peVmkbiQxvEhlLvM1/G905+eG9HfUx7lQt71FuCMAh16QToykfcE3 Dk4Kj0l2CdQQyX0oQaUWNwNr8m74OvCnU/XzN36FAvZxhOR4ONu4/m+zAnEm/oB8avm7 W2l+DW06LJx7ZGewCbxYLaXFVodtE9QhFuWho= On Tue, Feb 1, 2011 at 2:14 PM, David F. <davidf@gmx.us> wrote:
Aki, is it really a good idea for the text system to automatically apply an inverted text matrix? The text is *not* rendered correctly just by applying an inverted text matrix to the font: for example, underlines and strikethroughs aren't drawn correctly if the context isn't flipped.
I think one of the biggest misunderstandings is that -isFlipped does not actually dictate the flippedness of the graphics context. If a graphics context returns YES from -isFlipped, all that means is that the caller may presume that a flip has been applied to the CTM. The layout manager uses this hint to determine if it needs to flip the context its drawing context for the glyphs. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com