Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
> On Dec 1, 2016, at 11:20 AM, Alastair Houghton > wrote: > > On 1 Dec 2016, at 19:05, Doug Hill wrote: >> >> Just made another breakthrough. I finally figured out why we have the >> vertically centerd colon (I’ll now call it VCC) by default but has >> requirements of numbers on either side

Re: Vertically Centered Colon

2016-12-01 Thread Alastair Houghton
On 1 Dec 2016, at 19:05, Doug Hill wrote: > > Just made another breakthrough. I finally figured out why we have the > vertically centerd colon (I’ll now call it VCC) by default but has > requirements of numbers on either side of the colon. > The SF font setting is “Contextual Alternatives” (I’l

Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
> On Dec 1, 2016, at 8:17 AM, Doug Hill wrote: > >> On Dec 1, 2016, at 12:58 AM, Alastair Houghton >> wrote: >> >> 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 mi

Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
> On Dec 1, 2016, at 8:07 AM, Alastair Houghton > wrote: > > On 1 Dec 2016, at 15:57, Alex Zavatone wrote: >> >> If we are able to do it right, then we don't have to worry about waiting for >> it or aren't put behind an 8 ball if Apple decides to pull the rug out from >> under us if it deci

Re: Vertically Centered Colon

2016-12-01 Thread Doug Hill
e 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

Re: Vertically Centered Colon

2016-12-01 Thread Alastair Houghton
On 1 Dec 2016, at 15:57, Alex Zavatone wrote: > > If we are able to do it right, then we don't have to worry about waiting for > it or aren't put behind an 8 ball if Apple decides to pull the rug out from > under us if it decides to change the feature (which happens). > > With these features i

Re: Vertically Centered Colon

2016-12-01 Thread Alex Zavatone
On Dec 1, 2016, at 2:58 AM, Alastair Houghton wrote: > On 30 Nov 2016, at 18:33, Doug Hill wrote: >> >>> On Nov 29, 2016, at 11:06 PM, Alex Zavatone wrote: >>> >>> On Nov 30, 2016, at 12:10 AM, Doug Hill wrote: >>> After some trial and error, I figured out how to accomplish the San >>>

Re: Vertically Centered Colon

2016-12-01 Thread Alastair Houghton
On 30 Nov 2016, at 18:33, Doug Hill wrote: > >> On Nov 29, 2016, at 11:06 PM, Alex Zavatone wrote: >> >> On Nov 30, 2016, at 12:10 AM, Doug Hill wrote: >> >>> After some trial and error, I figured out how to accomplish the San >>> Francisco font features described below. I updated my document

Re: Vertically Centered Colon

2016-11-30 Thread Doug Hill
> On Nov 29, 2016, at 11:06 PM, Alex Zavatone wrote: > > > On Nov 30, 2016, at 12:10 AM, Doug Hill wrote: > >> After some trial and error, I figured out how to accomplish the San >> Francisco font features described below. I updated my document to include >> the code to turn on each feature.

Re: Vertically Centered Colon

2016-11-29 Thread Alex Zavatone
ug Hill wrote: >> >> I suppose if I have some time I’ll try them out and see if I can do my own >> documentation. For reference, here are a few different forms that I was able >> to create with TextEdit: >> >> http://breaqz.com/font/AlternateStylisticForms.pd

Re: Vertically Centered Colon

2016-11-29 Thread Doug Hill
Edit: > > http://breaqz.com/font/AlternateStylisticForms.pdf > > This includes examples of the following: > > • Vertically centered colon > • Straight-sided six and nine > • Open Four > • One storev a (e.g. alternate lowercase ‘a’ form) > • Small Capitals > • Cont

Re: Vertically Centered Colon

2016-11-29 Thread Doug Hill
> On Nov 29, 2016, at 3:58 PM, Rick Mann wrote: > > >> On Nov 29, 2016, at 09:38 , Doug Hill wrote: >> >> Wow, it's awesome that this works! And now that I know how to set these >> attributes for a UILabel, I might try using some other features of SF font, >> such as contextual fractional f

Re: Vertically Centered Colon

2016-11-29 Thread Gerriet M. Denkmann
> On 30 Nov 2016, at 09:18, Doug Hill wrote: > > >> On Nov 29, 2016, at 3:58 PM, Rick Mann wrote: >> >> >>> On Nov 29, 2016, at 09:38 , Doug Hill wrote: >>> >>> Wow, it's awesome that this works! And now that I know how to set these >>> attributes for a UILabel, I might try using some oth

Re: Vertically Centered Colon

2016-11-29 Thread Rick Mann
> On Nov 29, 2016, at 09:38 , Doug Hill wrote: > > Wow, it's awesome that this works! And now that I know how to set these > attributes for a UILabel, I might try using some other features of SF font, > such as contextual fractional forms for any fraction. Oh, wow, contextual fractional forms

Re: Vertically Centered Colon

2016-11-29 Thread Doug Hill
> On Nov 29, 2016, at 10:04 AM, Quincey Morris > wrote: > > On Nov 29, 2016, at 09:38 , Doug Hill > wrote: >> >> But seriously, why didn’t Apple document what those stylistic alernative >> type attribute constants are? Are they supposed to change? Did they not kno

Re: Vertically Centered Colon

2016-11-29 Thread Quincey Morris
On Nov 29, 2016, at 09:38 , Doug Hill wrote: > > But seriously, why didn’t Apple document what those stylistic alernative type > attribute constants are? Are they supposed to change? Did they not know what > they correspond to when creating the header? Did they not expect that > developers wou

Re: Vertically Centered Colon

2016-11-29 Thread Doug Hill
eference, here are a few different forms that I was able to create with TextEdit: http://breaqz.com/font/AlternateStylisticForms.pdf This includes examples of the following: • Vertically centered colon • Straight-sided six and nine • Open Four • One storev a (e.g. alternate lowercase ‘a’ form) • Sm

Re: Vertically Centered Colon

2016-11-29 Thread Gerriet M. Denkmann
is pretty consistent: “H.mm.ss" "H:mm.ss” “HH.mm.ss" “H:mm:ss" “HH:mm:ss” (more than 89% use this) all should be displayed correctly. Those locales which use ‘:’ will see a nice vertically centered colon, those with ‘.’ a non-centered FULL STOP. Thanks to alerting me to thi

Re: Vertically Centered Colon

2016-11-29 Thread Gerriet M. Denkmann
me based on the font size. This behavior is supported by > using System Font. > > Anyways, I would check the font at runtime to make sure it’s SF. thinFont = font-family: “.SFUIDisplay-Ultralight"; font-weight: normal; font-style: normal; font-size: 70.00pt > Otherwise, you n

Re: Vertically Centered Colon

2016-11-28 Thread Doug Hill
the font size. This behavior is supported by > using System Font. > > Anyways, I would check the font at runtime to make sure it's SF. Otherwise, > you need a font that supports the Vertically Centered Colon font feature. You > can check this feature by doing the following: >

Re: Vertically Centered Colon

2016-11-28 Thread Doug Hill
nt at runtime to make sure it's SF. Otherwise, you need a font that supports the Vertically Centered Colon font feature. You can check this feature by doing the following: • Select your desired font on your Mac for the attributed string in the font panel • Click the Gear icon in th

Re: Vertically Centered Colon

2016-11-28 Thread Gerriet M. Denkmann
> On 28 Nov 2016, at 23:42, Alastair Houghton > wrote: > > On 28 Nov 2016, at 16:18, Gerriet M. Denkmann wrote: >> >> >>> On 28 Nov 2016, at 22:13, Eric E. Dolecki wrote: >>> >>> You could probably use an attributed string and add an attribute for the >>> last colon: NSBaselineOffsetAttri

Re: Vertically Centered Colon

2016-11-28 Thread Gerriet M. Denkmann
> On 29 Nov 2016, at 00:40, Quincey Morris > wrote: > > On Nov 28, 2016, at 07:01 , Gerriet M. Denkmann wrote: >> >> But in my case I have “21:37:44” where ““21:37” is bold and “:44” is thin. > > a. Are you using an attributed string whose text is “21:37:44”, or two > unattributed strings?

Re: Vertically Centered Colon

2016-11-28 Thread Alex Zavatone
I have old iOS attributed strong code that explicitly handles superscripting specific characters in an NS attributed string from the baseline by a % of the character height or by a fixed pixel amount. Let me know if you want it. Sent from my iPhone > On Nov 28, 2016, at 10:42 AM, Alastair Houg

Re: Vertically Centered Colon

2016-11-28 Thread Quincey Morris
On Nov 28, 2016, at 07:01 , Gerriet M. Denkmann wrote: > > But in my case I have “21:37:44” where ““21:37” is bold and “:44” is thin. a. Are you using an attributed string whose text is “21:37:44”, or two unattributed strings? b. You have a — I don’t know exactly what to call it — “logical” or

Re: Vertically Centered Colon

2016-11-28 Thread Alastair Houghton
On 28 Nov 2016, at 16:18, Gerriet M. Denkmann wrote: > > >> On 28 Nov 2016, at 22:13, Eric E. Dolecki 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-aroun

Re: Vertically Centered Colon

2016-11-28 Thread Gerriet M. Denkmann
> On 28 Nov 2016, at 22:13, Eric E. Dolecki 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 UIFontDescriptorFeatureSettingsAttribu

Re: Vertically Centered Colon

2016-11-28 Thread Eric E. Dolecki
You could probably use an attributed string and add an attribute for the last colon: NSBaselineOffsetAttributeName On Mon, Nov 28, 2016 at 10:02 AM Gerriet M. Denkmann wrote: > iOS 10.1.1 > > WWDC 2015,Session 804: Introducing the New System Fonts tells (at about > 23:23) about Vertically Center

Vertically Centered Colon

2016-11-28 Thread Gerriet M. Denkmann
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