On Sep 1, 2016, at 09:42 , Andreas Falkenhahn <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to