> On 28 Nov 2016, at 22:13, Eric E. Dolecki <edole...@gmail.com> wrote:
> 
> You could probably use an attributed string and add an attribute for the last 
> colon: NSBaselineOffsetAttributeName

Yes; but this would be some rather desperate work-around.

I was rather thinking of UIFontDescriptorFeatureSettingsAttribute with some 
Feature type from SFNTLayoutTypes.h (in CoreText).
I tried a few types, but no success so far. 

> 
> On Mon, Nov 28, 2016 at 10:02 AM Gerriet M. Denkmann <gerri...@icloud.com> 
> wrote:
> iOS 10.1.1
> 
> WWDC 2015,Session 804: Introducing the New System Fonts tells (at about 
> 23:23) about Vertically Centered Colons.
> But I do not understand, how to turn this on.
> 
> It works automatically (in SF) with colons surrounded by digits.
> 
> But in my case I have “21:37:44” where ““21:37” is bold and “:44” is thin. 
> And the ‘:’ in front of “44” is not surrounded by digits. So I want to turn 
> this feature on explicitly.
> 
> How to do this?
> 
> Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

Reply via email to