Replace DejaVuSans font by FreeSans font
Moderator: Oberlus
Forum rules
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Replace DejaVuSans font by FreeSans font
Object: replace the default font (DejaVuSans) in FO
I get used to the new default font size (15pt) implemented by Geoff (finally, it's a good idea), but the DejaVu font is definitely ugly now in big size, mostly because the letter height is too small (letters seems squizzed vertically) and the letter-spacing is too big.
So I searched for another GNU/GPL font, and after many tries in FO with different fonts, I found FreeSans (True Type) font (GNU Freefont) that fits very well with FO UI (more visual impact at first glance, better lettering than DejaVu)
Official site: http://savannah.gnu.org/projects/freefont/
Download: freefont-ttf-20120503.zip (contains FreeSans, FreeSansBold, FreeSansBoldOblique, FreeSansOblique).
Some comparison screenshots:
DejaVuSans (Text: 15pt ; Windows Title: 16pt)
FreeSans (Text: 15 ; Windows Title: 16pt)
Map Window
I get used to the new default font size (15pt) implemented by Geoff (finally, it's a good idea), but the DejaVu font is definitely ugly now in big size, mostly because the letter height is too small (letters seems squizzed vertically) and the letter-spacing is too big.
So I searched for another GNU/GPL font, and after many tries in FO with different fonts, I found FreeSans (True Type) font (GNU Freefont) that fits very well with FO UI (more visual impact at first glance, better lettering than DejaVu)
Official site: http://savannah.gnu.org/projects/freefont/
Download: freefont-ttf-20120503.zip (contains FreeSans, FreeSansBold, FreeSansBoldOblique, FreeSansOblique).
Some comparison screenshots:
DejaVuSans (Text: 15pt ; Windows Title: 16pt)
FreeSans (Text: 15 ; Windows Title: 16pt)
Map Window
Last edited by Ouaz on Mon Aug 01, 2016 1:45 am, edited 11 times in total.
I release every updated file under the CC-BY-SA 3.0 license.
Re: Replace DejaVuSans font by FreeSans font
Production Window
Last edited by Ouaz on Sun Jul 31, 2016 10:38 pm, edited 2 times in total.
I release every updated file under the CC-BY-SA 3.0 license.
Re: Replace DejaVuSans font by FreeSans font
Design Window
Last edited by Ouaz on Sun Jul 31, 2016 10:39 pm, edited 1 time in total.
I release every updated file under the CC-BY-SA 3.0 license.
Re: Replace DejaVuSans font by FreeSans font
Tech List View
Last edited by Ouaz on Sun Jul 31, 2016 10:39 pm, edited 1 time in total.
I release every updated file under the CC-BY-SA 3.0 license.
Re: Replace DejaVuSans font by FreeSans font
Dialog Box example
Last edited by Ouaz on Sun Jul 31, 2016 10:40 pm, edited 1 time in total.
I release every updated file under the CC-BY-SA 3.0 license.
Re: Replace DejaVuSans font by FreeSans font
TBH, I don't see that much of a difference, but since I'm kind of graphically impaired (by that I mean I'm exceptionally incompetent when it comes to visual and graphic design;)), that doesn't mean much. I do see a slight improvement, so changing the font is fine with me.
Re: Replace DejaVuSans font by FreeSans font
The font looks smoother, but the letter "l" seems to be positioned too far on the right and touches the next letter which disturbs me a little bit.
- Attachments
-
- prod_free16.png (104.64 KiB) Viewed 1892 times
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
-
- Programmer
- Posts: 389
- Joined: Sun Feb 14, 2016 12:08 am
Re: Replace DejaVuSans font by FreeSans font
May need to vet for any special symbols needed, catching them in-game may be difficult.
Number of glyphs:
Number of glyphs:
Code: Select all
font FreeSans DejaVu
version 4012.2268 2.34
------------------------------
(book) 6272 6108
Bold 2911 6034
Oblique 3036 5335
BoldOblique 2403 5265
Re: Replace DejaVuSans font by FreeSans font
Oh yeah, now you noticed it, I only see that and it's pretty disturbing.Sloth wrote:The font looks smoother, but the letter "l" seems to be positioned too far on the right and touches the next letter which disturbs me a little bit.
On the other hand, it happens also with DejaVu. The letter-spacing is irregular with these fonts, and it is increased visually because of the big size.
Well, if there's no major objection to replace the default font in FO, I'll continue to search a better replacement font, then.
Interesting. Didn't think about the possible missing glyphs in bold, oblique, etc. Although I think the major ones are there (Greek letters, mathematical symbols).dbenage-cx wrote:May need to vet for any special symbols needed, catching them in-game may be difficult.
Number of glyphs:Code: Select all
font FreeSans DejaVu version 4012.2268 2.34 ------------------------------ (book) 6272 6108 Bold 2911 6034 Oblique 3036 5335 BoldOblique 2403 5265
I release every updated file under the CC-BY-SA 3.0 license.
-
- Programmer
- Posts: 389
- Joined: Sun Feb 14, 2016 12:08 am
Re: Replace DejaVuSans font by FreeSans font
I don't find any mention of oblique(or boldoblique) in actual use, can be dropped?
DejaVuSansCondensed solves some of those kerning issues.
DejaVuSansCondensed solves some of those kerning issues.
- Attachments
-
- djsans_vs_condensed.png (19.64 KiB) Viewed 1877 times
Re: Replace DejaVuSans font by FreeSans font
It seems so.dbenage-cx wrote:I don't find any mention of oblique(or boldoblique) in actual use, can be dropped?
Nice and definitely better. I am all for it (my only nitpick about this font is the slight blur on the edges). And it seems to be the simplest and safest solution.DejaVuSansCondensed solves some of those kerning issues.
In the meantime, I tried another free font: Roboto (Google font, License Apache 2.0) > https://www.typewolf.com/assets/fonts/roboto.zip (Roboto-Regular and Roboto-Bold)
that does well in FO, especially in Pedia and big paragraphs (mainly due to the heavier weight).
I don't know which version it is, there's only 1249 glyphs (european special letters are here, and mathematical symbols),
and it requires to increase text size to 16pt and title size to 17pt.
The version in the Github repo, even if more recent (+3000 glyphs),
is not as good once in FO, compared to the version in the link above.
I made some comparison screenshots:
DejaVuSans (default size)
DejaVuSansCondensed (defaut size)
Roboto (Text: 16pt; Title: 17pt)
Last edited by Ouaz on Mon Aug 01, 2016 2:08 am, edited 13 times in total.
I release every updated file under the CC-BY-SA 3.0 license.
Re: Replace DejaVuSans font by FreeSans font
I release every updated file under the CC-BY-SA 3.0 license.
Re: Replace DejaVuSans font by FreeSans font
So far I like this Roboto font best.
Re: Replace DejaVuSans font by FreeSans font
Me too.Vezzra wrote:So far I like this Roboto font best.
I did some research, and this Roboto font is used as default font on Android system and in Chrome applications. It was freely released under license Apache 2.0 in 2012.
That's why this font looks good on a screen and easy to read. It was designed specifically for it. ^^
Let's wait what Geoff thinks about all of this (he will have the last word anyway )
EDIT: here's the specific version of the Roboto Font that works well in FO
- Attachments
-
- roboto16-17.zip
- (356.54 KiB) Downloaded 111 times
I release every updated file under the CC-BY-SA 3.0 license.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Replace DejaVuSans font by FreeSans font
Roboto looks good.