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: ATSUI Smart Font quote mangling



In an earlier email I remarked how when you draw letters one at a time, the string like "can't" will generate a left curved quote character in most fonts instead of the apostrophe character. This glyph remapping is a font property, and some well intentioned person claimed in a previous email that kAllTypographicFeaturesOffSelector in the style run would turn off this smart quote feature. I can assure you that that flag has no effect on the apostrophe into quote problem. Certain fonts appear to have state machines inside, and the worst offender of all is the Apple Chancery font, which when drawn one letter at a time uses fancy swashes whether you want them or not, and you cannot turn it off.

These were bad design decisions on Apple's part to do all sorts of glyph remapping without letting the caller control it in any way, and assumed that lines of text were always drawn a line at a time. It makes it extremely hard to do you own custom letter arrangement, when glyphs are remapping "under the table".

Somebody always throws up arabic as a reason why things should be done a certain way, frankly we aren't concerned with arabic, and would like English to work first properly.

edj

_______________________________________________
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


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.