HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Default font size is huge in the new Qt client
I have compiled Freeciv 2.6.0 myself (downloaded from http://files.freeciv.org/stable/freeciv-2.6.0.tar.bz2) and saw that the new Qt client looks huge on my laptop. Check the first 8 attached screenshots.
After some research, I have changed the font size to 12 from 17 in the client's options and the game looks just fine (check the 8th and 9th screenshots). Note that I had deleted ~/.config/freeciv-qt-client.ini before that, so I suspect these fonts are set by default.
There was no such problem with the previous versions of the Qt client I've used.
#4 Updated by Yuri Tretyakov about 3 years ago
Jacob Nevins wrote:
What versions were those, do you remember?
(From screenshots, this is many client fonts, not just city font on the map. So it's not a consequence of bug #760420.)
I don't remember which version I played in the previous year, but the Qt client for Freeciv 2.5.11 looks fine.
#5 Updated by Yuri Tretyakov about 3 years ago
If I understand correctly, the font sizes are calculated at configure_fonts() in client/gui-qt/fonts.cpp using the Qt physical and logical DPI values. I don't know if this helps, but here are the variable values:
logical_dpi: 96 physical_dpi: 102.048 scale: 1.063 max: 17 smaller: 13 default_size: 15 logicalDotsPerInchX(): 96 physicalDotsPerInchX(): 102.048 logicalDotsPerInchY(): 96 physicalDotsPerInchY(): 102.669 logicalDotsPerInch(): 96 physicalDotsPerInch(): 102.359 devicePixelRatio(): 1
#6 Updated by Anonymous about 3 years ago
- File qt_fonts_tune.patch qt_fonts_tune.patch added
- Status changed from New to Resolved
- Assignee set to Anonymous
- Sprint/Milestone set to 2.6.1
Thansk for report and DPI settings. I tuned settings much better now.
Off topic: That titlebar looks useless in your case -> u can disable it in local options ->interface -> show titlebar (unmark), close/min/max buttons will appear on right side of menus.
U can save 20 pixels that way
I checked also on 43 tv and it looks ok ( earlier fonts were at least 2x too small)
all 22-25 monitors should have the same sizes, bigger monitors -> bigger sizes, lower -> lower sizes.
New formula for standard menu font is:
screen_width ppi * 16
(------------ + 5 ) * -------------
ppi lpi * 27
ppi = physical dpi, lpi = logical_dpi
screen_width/ppi ~ screen size in inches
( In your case its 11.6 - it will be rounded to 12)
I'll check in Windows on Lifebook A512 (15.6" screen, 1366x768 screen) next week before commiting.