Font options in formatting.lua not set correctly

Bug #900018 reported by Venatrix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Undecided
Unassigned

Bug Description

While trying to work on an ingame example for the new help, I found out, that some options in formatting.lua aren’t used correctly.
The headlines h3 and h4 should be italic and all the headlines should use the FreeSerif font. But by now the keywords aren’t set correctly.

While it’s no problem to use the correct keywords, I wonder whether that font use really is intended. I once learned to use serif fonts for longer texts and sansserif for headlines. On the other hand I don’t know, where these richtext-commands really are in use except of the new ingame help, because the section for formatting the speech of campaign characters is already set alright…

Tags: lua ui
Revision history for this message
Venatrix (elisabeth) wrote :
Revision history for this message
Astuur (wolfsteinmetz) wrote :

Ah, so you're indeed picking up that challenge? --- Nice!
AFAIK the usual rule is indeed like you say: a serif font for mass text, sans serife fonts for headlines.
Why not just set the keywords right, and see what happens? :)

Revision history for this message
SirVer (sirver) wrote :

I have no good feeling for text layout, therefore I am gladly accepting anything that looks nicer. For now, I will apply this patch (Thanks!) and we will see what comes from it :). Fixed in r6166.

Changed in widelands:
status: New → Fix Committed
Changed in widelands:
milestone: none → build17-rc1
Revision history for this message
SirVer (sirver) wrote :

Released in build17-rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.