Show your font options

Do you want to help out with Freeciv development? Then check out this forum.
mir3x
Veteran
Posts: 73
Joined: Sat Jan 30, 2016 6:17 pm

Show your font options

Postby mir3x » Wed Aug 17, 2016 5:26 pm

I want to do some font autosetting on first run, eg trying to set font height, and trying some typical fonts.
So u can write your screen resolution, if font DPI is set set to some value,
if its windows then if there are some strange font settings in control system eg. font normal or large

eg. mine
screen res:1920x1080
DPI = 96

and fonts attached on pic
or just write your favourite fonts family
Attachments
a5.jpg

User avatar
dunnoob
Hardened
Posts: 166
Joined: Mon Dec 23, 2013 3:13 am
Location: Hamburg
Contact:

Re: Show your font options

Postby dunnoob » Thu Aug 18, 2016 1:02 am

I'm not sure what that's about, but not all Windows users have source code pro + liberation, and the segoe UI on Windows 7 needs an update to support more emojis. To avoid specific font issues I use generic font-families Monospace, Sans, and Serif: screenshot.

Apparently Freeciv cannot display u+1F4A9 (pile of poo) at the moment on my box, it displays something else: Unexpected city name for the natives, but copy+paste in the chatline also fails (2.6.0-beta0-r33596).

Fun fact, the forum also does not support pile of poo, ''Your message contains the following unsupported characters:" u+1F4A9, and age 6.0 indicates the ancient Unicode standard 6, current is 8.

mir3x
Veteran
Posts: 73
Joined: Sat Jan 30, 2016 6:17 pm

Re: Show your font options

Postby mir3x » Thu Aug 18, 2016 5:17 am

>> I'm not sure what that's about
If someone has 4k screen and low dpi then fonts should have higher size than default.
If 1024x768 and high dpi then it might be smaller.
>> Windows users dont have source code pro + liberation
But worth a check and use instead crap like 'serif' or 'monospace' which defaults to some bs.
ITs why I'm ask. I'll chceck if font x,y,z,u is available then set font options to use them if they are present.

User avatar
dunnoob
Hardened
Posts: 166
Joined: Mon Dec 23, 2013 3:13 am
Location: Hamburg
Contact:

Re: Show your font options

Postby dunnoob » Fri Aug 19, 2016 10:54 pm

mir3x wrote: crap like 'serif' or 'monospace' which defaults to some bs.
Meh, so far I thought that the defaults mean "use the best available font, and try to be smart (=take something else if the wannabe-best doesn't have a required Unicode-point)". While specific fonts invariably hit a wall, some ancient URW Chancery L replaced decades ago by something better, but still hiding out in ancient SVGs. Or some Garamond not supported by MediaWiki, but oddly they have a working replacement for URW Chancery L. For the Great Library I eventually replaced ~36 KB copyrighted Garamond text by ~420 KB rsvg-convert Lorem Ipsum vector graphics. :shock:

louis94
Hardened
Posts: 156
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Show your font options

Postby louis94 » Sat Aug 20, 2016 10:03 pm

As you can see I like consistency. Noto fonts are from the Android project, and used by default on Plasma 5. I use the same settings on two different computers, with screen resolutions of respectively 1280x1024 and 1366x768 (both low DPI).
font_options.png


Return to “Help wanted”

Who is online

Users browsing this forum: No registered users and 1 guest