• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Vertically Centered Colon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vertically Centered Colon


  • Subject: Re: Vertically Centered Colon
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 28 Nov 2016 23:18:52 +0700

> On 28 Nov 2016, at 22:13, Eric E. Dolecki <email@hidden> 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 <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Vertically Centered Colon
      • From: Alastair Houghton <email@hidden>
References: 
 >Vertically Centered Colon (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Vertically Centered Colon (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Re: How to convert from decomposed to precomposed UTF-8 on iOS
  • Next by Date: Re: Vertically Centered Colon
  • Previous by thread: Re: Vertically Centered Colon
  • Next by thread: Re: Vertically Centered Colon
  • Index(es):
    • Date
    • Thread