> On Dec 1, 2016, at 12:58 AM, Alastair Houghton <alast...@alastairs-place.net> > wrote: > > On 30 Nov 2016, at 18:33, Doug Hill <cocoa...@breaqz.com > <mailto:cocoa...@breaqz.com>> wrote: >> >> Still hoping Apple will make SF font specific features part of the SDK. > > Agreed. At the very least it needs to explicitly document the set of > stylistic alternates for the SF font family so that we know what they all do > (it looks like there might be more than in your document too; I can’t think > of a reason for using one, two, three and then seven without also using four, > five and six).
Alastair, At the time I wrote that document, I only had time to figure out a few of the selectors. I have since found out #6 (“High Legibility”). According to the Mac Font Panel, #4 is “Stylistic Set 4”, whatever that is. #5 appears to do nothing, AFAICT. Also, I finally got time to collect the work I’ve done and make a convenience class to use these San Francisco font features. See here: https://github.com/djfitz/SFFontFeatures <https://github.com/djfitz/SFFontFeatures> I can’t guarantee that anything will work, or if there are other features I’m missing. For now, I have support for 11 features: • Straight-sided six and nine • Open Four • Vertically centered colon • High Legibility • One Storey a • Upper Case Small Capitals • Lower Case Small Capitals • Contextual Fractional Forms • Monospaced/Proportional Numbers • Superiors/Superscripts • Inferiors/Subscripts Feel free to try this out, and let me know if things work for you. Doug Hill _______________________________________________ Cocoa-dev mailing list (Cocoafirstname.lastname@example.org) 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 arch...@mail-archive.com