Project

Profile

Help

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

Feature #760428

Minimal font configuration for SDL2 client

Added by Jacob Nevins over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
gui-sdl2
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This patch allows setting the font size (but not style) of the city name and production on the main map.

It's a prerequisite to solving bug #760420. Until that bug is resolved, SDL2 suffers the same problem as other clients, that this option is often not respected.

m-sdl2-font-size-config.patch (7.34 KB) m-sdl2-font-size-config.patch Jacob Nevins, 2018-06-17 03:09 PM
30-sdl2-font-size-config.patch (7.34 KB) 30-sdl2-font-size-config.patch Jacob Nevins, 2018-06-17 03:09 PM

Related issues

Blocks Freeciv - Bug #760420: Tileset and client options fight over city name/production font sizeClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Jacob Nevins over 3 years ago

  • Blocks Bug #760420: Tileset and client options fight over city name/production font size added

#3 Updated by Marko Lindqvist over 3 years ago

int client_font_sizes[FONT_COUNT] = {
&city_names_font_size, /
FONT_CITY_NAME /
&city_productions_font_size, /
FONT_CITY_PROD /
&city_productions_font_size /
FONT_REQTREE_TEXT; not used yet */
};

Does this mean that reqtree font size changes when city production font size changes? Doesn't sound right.

#4 Updated by Jacob Nevins over 3 years ago

No -- FONT_REQTREE_TEXT is just never used by the SDL client at all, I think. (This array indexed by enum client_font was already there, it's just moved.)

#5 Updated by Jacob Nevins over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF