Font alignment when using bold variant of system font

2016-10-12 Thread Samuel Williams
Hello, I've got an app "Truth Tables" which does parsing and highlighting of an expression. I use a custom subclass of NSTextField in a toolbar.. it's worked fine until the system font changed I think, but I'm not 100% sure because I've only noticed the problem recently. Here is the font code whi

Re: Font alignment when using bold variant of system font

2016-10-12 Thread Jens Alfke
It looks as though the bold style of the font has a higher cap height, which causes the text view to move the baseline farther down to make room. I’ve seen occasional glitches like this in fonts. (What font are you using?) You might be able to work around this by setting a custom NSParagraphStyl

Re: Font alignment when using bold variant of system font

2016-10-12 Thread Samuel Williams
It's the standard font "San Francisco" from Apple. That's odd that it would be buggy like that. I'll try what you suggested. On 13 October 2016 at 10:52, Jens Alfke wrote: > It looks as though the bold style of the font has a higher cap height, > which causes the text view to move the baseline f

Re: Font alignment when using bold variant of system font

2016-10-12 Thread Steve Mills
> On Oct 12, 2016, at 16:55, Samuel Williams > wrote: > > It's the standard font "San Francisco" from Apple. That's odd that it would > be buggy like that. I'll try what you suggested. Not surprising. The new San Francisco is pretty bad. Steve via iPad ___

Re: Font alignment when using bold variant of system font

2016-10-12 Thread Samuel Williams
That's crazy, how can Apple make a system font which breaks existing apps!? On 13 October 2016 at 12:19, Steve Mills wrote: > > On Oct 12, 2016, at 16:55, Samuel Williams com> wrote: > > > > It's the standard font "San Francisco" from Apple. That's odd that it > would > > be buggy like that. I'