Re: Pixel-perfect migration from ATSUI to Core Text
Re: Pixel-perfect migration from ATSUI to Core Text
- Subject: Re: Pixel-perfect migration from ATSUI to Core Text
- From: Quincey Morris <email@hidden>
- Date: Thu, 01 Sep 2016 10:19:25 -0700
- Feedback-id: 167118m:167118agrif8a:167118skybuBSQI_:SMTPCORP
On Sep 1, 2016, at 09:42 , Andreas Falkenhahn <email@hidden> wrote:
>
> I know but currently I'm just trying to replicate the exact ATSUI look
But why??? Your original reason was along the lines of “to see if I could”, and the answer is clearly “no”. Now you’re just setting yourself on fire.
I can think of innumerable reasons why advance widths may be different on different systems: different software algorithms, software bug fixes, different font versions, font metric bug fixes, effects of kerning pairs, character and word spacing algorithms, etc, etc. This may happen even when not switching from ATSUI to CoreText.
You can’t even tell, given different results for laying out the same text fragment, which one is right and which is wrong, or even *if* one is right and one is wrong. There is no reference standard for this.
If you are multiplying matrices of IEEE floating point numbers, there are standards all the way that you can invoke to analyze differences in the results via different implementations. The art of H&J (text line layout) doesn’t work like that.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden