Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange paths from some font sizes




On May 31, 2006, at 3:26 PM, Steve Mills wrote:

On May 31, 2006, at 14:21, Scott Thompson wrote:

I've seen this before and worked with some engineers at Apple on this during a Carbon kitchen. It's been a while, but as I recall what happens is that beyond a certain point size, the glyphs start running into precision problems with the math inside of ATS. As I recall, what I did to fix it, was to always ask for a 1000 pt font and then scaled the curves to the appropriate size.

Yup, that worked. So did you file a bug for this? If it's been a while since you worked with Apple engineers on this, one would hope that it would've been fixed by now.

As I recall, the problem was not really a bug so much as it was a limitation of fonts in general (it looked A LOT like your screen shot by the way. I think I was asking for a 1 point font originally and trying to scale it up)


I don't see the bug in my font list which means we probably figured out it would require a fundamental reengineering of ATS :-) I'm afraid that I don't remember the details (this was carbon kitchen era stuff... so I would have been dealing with it... five or six years ago?).

If I had to guess, I would almost be willing to bet that 16.16 fixed point math is involved in there somewhere. Converting that to floats would probably introduce performance problems at the very least.

Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Strange paths from some font sizes (From: "Steve Mills" <email@hidden>)
 >Re: Strange paths from some font sizes (From: Scott Thompson <email@hidden>)
 >Re: Strange paths from some font sizes (From: "Steve Mills" <email@hidden>)
 >Re: Strange paths from some font sizes (From: "Steve Mills" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.