[Qgis-developer] Re: font setting in attribute table (r9160)

Tom Elwertowski telwertowski at comcast.net
Mon Aug 25 10:04:51 EDT 2008


Jürgen E. Fischer wrote:
> The default font setting on my windows box is MS Shell Dlg 2, 8pt. So
> with you patch that become 6pt, which is hard to read and the original
> Helvetica, 9pt is even a bit larger than the default.

For a long time, the point size was set to 11. This was good because the Mac standard sizes are 13 (normal) and 11 (small).

About a week ago, the size was changed to 9 which seemed somewhat small to me. This did not reduce the Mac line height so the result was the same number of lines with greater text margin and less readable text. The line height is probably due to the row header still using standard-small (Mac 11pt) for header text.

I noticed that Gnome was using 11/9 as normal/small while Mac was using 13/11. I don't have Windows and assumed it would be similar to Gnome. I guessed that -2 would be a good way to specify "smaller text" in a cross-platform way.

Also, on a Mac, Lucida Grande is the default font so I removed Helvetica. Qt has keywords such as Serif and SansSerif to specify cross-platform fonts but SansSerif (X11 Helvetica, Mac Lucida Grande) is already the default.

I will change it again specifying 11 for Mac and 9 for X11. What is a good size for Windows?

Tom


More information about the Qgis-developer mailing list