We're getting very strange results from calls to
ATSUGlyphGetQuadraticPaths for some sizes of Geneva. Here are the
results for the 'c' glyph in 2 sizes. Notice how the 9pt has only
linetos, but the 8pt correctly has quadtos. What is causing totally
different paths to be generated? The result is that the fonts/sizes
that use only linetos look totally wrong, like rough polygons
instead of smooth curves. The points listed are all the points sent
to our callbacks.
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.
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