FreeOrion

Forums for the FreeOrion project
It is currently Wed Dec 13, 2017 8:21 pm

All times are UTC


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.



Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Jul 29, 2016 7:10 pm 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
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

Attachment:
map_deja.PNG
map_deja.PNG [ 180.07 KiB | Viewed 313 times ]
Attachment:
map_free15.PNG
map_free15.PNG [ 190.38 KiB | Viewed 313 times ]

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Last edited by Ouaz on Mon Aug 01, 2016 1:45 am, edited 11 times in total.

Top
 Profile  
 
PostPosted: Fri Jul 29, 2016 7:12 pm 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
Production Window

Attachment:
prod_deja.png
prod_deja.png [ 35.09 KiB | Viewed 312 times ]
Attachment:
prod_free15.png
prod_free15.png [ 35.47 KiB | Viewed 312 times ]

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Last edited by Ouaz on Sun Jul 31, 2016 10:38 pm, edited 2 times in total.

Top
 Profile  
 
PostPosted: Fri Jul 29, 2016 7:14 pm 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
Design Window

Attachment:
design_deja.PNG
design_deja.PNG [ 142.42 KiB | Viewed 312 times ]
Attachment:
design_free15.PNG
design_free15.PNG [ 151.28 KiB | Viewed 312 times ]

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Last edited by Ouaz on Sun Jul 31, 2016 10:39 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Jul 29, 2016 7:21 pm 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
Tech List View

Attachment:
list_deja.PNG
list_deja.PNG [ 55.31 KiB | Viewed 312 times ]
Attachment:
list_free15.PNG
list_free15.PNG [ 58.4 KiB | Viewed 312 times ]

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Last edited by Ouaz on Sun Jul 31, 2016 10:39 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Jul 29, 2016 7:23 pm 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
Dialog Box example

Attachment:
options_deja.PNG
options_deja.PNG [ 38.76 KiB | Viewed 312 times ]
Attachment:
options_free15.PNG
options_free15.PNG [ 43.88 KiB | Viewed 312 times ]

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Last edited by Ouaz on Sun Jul 31, 2016 10:40 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Jul 31, 2016 8:15 am 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4289
Location: Sol III
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.


Top
 Profile  
 
PostPosted: Sun Jul 31, 2016 10:28 am 
Offline
Content Scripter
User avatar

Joined: Sat Mar 17, 2007 12:28 am
Posts: 685
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
prod_free16.png [ 104.64 KiB | Viewed 282 times ]

_________________
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
Top
 Profile  
 
PostPosted: Sun Jul 31, 2016 4:29 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 359
May need to vet for any special symbols needed, catching them in-game may be difficult.

Number of glyphs:
Code:
font     FreeSans     DejaVu
version 4012.2268       2.34
------------------------------
(book)       6272       6108
Bold         2911       6034
Oblique      3036       5335
BoldOblique  2403       5265


Top
 Profile  
 
PostPosted: Sun Jul 31, 2016 5:27 pm 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
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.


Oh yeah, now you noticed it, I only see that and it's pretty disturbing. :?

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.

Attachment:
design_deja2.png
design_deja2.png [ 23.66 KiB | Viewed 270 times ]


Well, if there's no major objection to replace the default font in FO, I'll continue to search a better replacement font, then.

dbenage-cx wrote:
May need to vet for any special symbols needed, catching them in-game may be difficult.

Number of glyphs:
Code:
font     FreeSans     DejaVu
version 4012.2268       2.34
------------------------------
(book)       6272       6108
Bold         2911       6034
Oblique      3036       5335
BoldOblique  2403       5265


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).

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Top
 Profile  
 
PostPosted: Sun Jul 31, 2016 7:30 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 359
I don't find any mention of oblique(or boldoblique) in actual use, can be dropped?

DejaVuSansCondensed solves some of those kerning issues.


Attachments:
djsans_vs_condensed.png
djsans_vs_condensed.png [ 19.64 KiB | Viewed 267 times ]
Top
 Profile  
 
PostPosted: Mon Aug 01, 2016 1:12 am 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
dbenage-cx wrote:
I don't find any mention of oblique(or boldoblique) in actual use, can be dropped?


It seems so.

Quote:
DejaVuSansCondensed solves some of those kerning issues.


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.

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)

Attachment:
map_window.png
map_window.png [ 97.35 KiB | Viewed 257 times ]
Attachment:
sidepanel.png
sidepanel.png [ 188.69 KiB | Viewed 257 times ]

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Last edited by Ouaz on Mon Aug 01, 2016 2:08 am, edited 13 times in total.

Top
 Profile  
 
PostPosted: Mon Aug 01, 2016 1:14 am 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
Attachment:
design_window.png
design_window.png [ 92.77 KiB | Viewed 257 times ]
Attachment:
prod_window.png
prod_window.png [ 131.21 KiB | Viewed 257 times ]

_________________
I release every updated file under the CC-BY-SA 3.0 license.


Top
 Profile  
 
PostPosted: Mon Aug 01, 2016 9:07 am 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4289
Location: Sol III
So far I like this Roboto font best.


Top
 Profile  
 
PostPosted: Mon Aug 01, 2016 6:24 pm 
Offline
Dyson Forest
User avatar

Joined: Wed Aug 13, 2014 7:21 pm
Posts: 213
Location: France
Vezzra wrote:
So far I like this Roboto font best.


Me too.

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 :P )

EDIT: here's the specific version of the Roboto Font that works well in FO


Attachments:
roboto16-17.zip [356.54 KiB]
Downloaded 3 times

_________________
I release every updated file under the CC-BY-SA 3.0 license.
Top
 Profile  
 
PostPosted: Tue Aug 02, 2016 12:05 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12041
Location: Munich
Roboto looks good.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group