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...":https://support.plan.io/news/187

Feature #760428

closed

Minimal font configuration for SDL2 client

Added by Jacob Nevins almost 5 years ago. Updated almost 5 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.


Files

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 sizeClosedJacob Nevins

Actions
Actions #1

Updated by Jacob Nevins almost 5 years ago

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

Updated by Marko Lindqvist almost 5 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.

Actions #4

Updated by Jacob Nevins almost 5 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.)

Actions #5

Updated by Jacob Nevins almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF