Bug #199

Scale map name font to fit its bounding box

Added by Radegast over 6 years ago. Updated about 6 years ago.

Status:Fixed% Done:

100%

Priority:NormalSpent time:-
Assignee:-
Category:Client
Target version:2.71rc2
OS: Arch:

Description

In the UI load panel, long map names overlap their bounding box.

map_name_scaling.png (241 KB) Radegast, 10.02.2013 17:25

103

Associated revisions

Revision f5b5d091
Added by IR4T4 about 6 years ago

cgame: dynamic scale of map name font to fit bounding box fixes #199

History

#1 Updated by IR4T4 over 6 years ago

Unfortunately there is no real limit for mappers given ...

  • get the length of string and print it in different sizes related to the length

#2 Updated by Radegast over 6 years ago

IR4T4 wrote:

  • get the length of string and print it in different sizes related to the length

= Scale map name font to fit its bounding box

#3 Updated by IR4T4 over 6 years ago

Side note: Some translations don’t fit as well see italian main menu ...

#4 Updated by IR4T4 about 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF