Re: [Interest] Cross-platform font normalization best practice

2015-05-14 Thread René J . V . Bertin
On Thursday May 14 2015 12:06:51 Hamish Moffatt wrote: >Alternatively, if you just want one font throughout, or mostly >throughout, you can set it as your default font with >QApplication::setFont(), then don't specify the font names at all in >your style sheets. This is what we're doing here, a

Re: [Interest] Cross-platform font normalization best practice

2015-05-13 Thread Hamish Moffatt
On 13/05/15 22:06, Bob Hood wrote: So, to make OS X look close to the Windows default settings, I have to use a font and/or size that is different than the OS X default settings. This entails manually changing at runtime. I was wondering if there was a built-in mechanism for handling that.

Re: [Interest] Cross-platform font normalization best practice

2015-05-13 Thread Bob Hood
On 5/13/2015 1:07 AM, Till Oliver Knoll wrote: Am 12.05.2015 um 18:00 schrieb Bob Hood : I see that on Windows, Designer defaults to the "MS Shell Dialog 2" 8-point font, and on OS X (Yosemite) it is ".Helvetical Neue DeskInterface" 13-point (in one field, while another oddly reports an "Al Baya

Re: [Interest] Cross-platform font normalization best practice

2015-05-13 Thread Till Oliver Knoll
> Am 12.05.2015 um 18:00 schrieb Bob Hood : > > I see that on Windows, Designer defaults to the "MS Shell Dialog 2" 8-point > font, and on OS X (Yosemite) it is ".Helvetical Neue DeskInterface" 13-point > (in one field, while another oddly reports an "Al Bayan" typeface). I have > found that

Re: [Interest] Cross-platform font normalization best practice

2015-05-12 Thread Bob Hood
On 5/12/2015 11:08 AM, René J.V. Bertin wrote: > On Tuesday May 12 2015 10:00:06 Bob Hood wrote: > >> 2. Add platform-aware code to the C++ file that manually changes the font >> for each UI component under OS X builds. > I think that's the safest option(*)... Indeed. This is the option I'm mov

Re: [Interest] Cross-platform font normalization best practice

2015-05-12 Thread René J . V . Bertin
On Tuesday May 12 2015 10:00:06 Bob Hood wrote: > 2. Add platform-aware code to the C++ file that manually changes the font >for each UI component under OS X builds. I think that's the safest option(*) which will also allow you to give the user the choice what font s/he wants (which I for one

[Interest] Cross-platform font normalization best practice

2015-05-12 Thread Bob Hood
I see that on Windows, Designer defaults to the "MS Shell Dialog 2" 8-point font, and on OS X (Yosemite) it is ".Helvetical Neue DeskInterface" 13-point (in one field, while another oddly reports an "Al Bayan" typeface). I have found that changing the OS X interface to use "Lucida Grande" 11-po