Bug #331

Width of the letter 'x'

Added by planetmaker over 10 years ago. Updated over 10 years ago.

Status:ClosedStart date:2009-07-14
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Base
Target version:0.1.1

Description

The 'x' of the default OpenGFX font is one pixel wider than the TTDX 'x' which results in current trunk in ugly close boxes of the windows: http://bugs.openttd.org/task/3033/getfile/4456/close_button.png

Question is: do we want to fix it or wait till the problem gets fixed by OpenTTD?
http://bugs.openttd.org/task/3033#comment6327

Associated revisions

Revision 145:841b3d1f5ce3
Added by Ammler over 10 years ago

Fix #331: reduced the close-x 1px right and bottom to keep it square.

Revision 145:841b3d1f5ce3
Added by Ammler over 10 years ago

Fix #331: reduced the close-x 1px right and bottom to keep it square.

History

#1 Updated by athanasios over 10 years ago

I suspect we should wait for the OTTD coders to fix it.

#2 Updated by planetmaker over 10 years ago

A chat with the developers told me that they're going to fix this indeed. But it won't be fixed quickly; it will be fixed with the overhaul of the graphics system in order to adopt different fonts and sizes.

#3 Updated by planetmaker over 10 years ago

Sprite 143 in ogfx1_base defines the "close x" sprite. Making it one pixel less wide would solve the problem...

#4 Updated by Ammler over 10 years ago

  • Status changed from Confirmed to Closed
  • % Done changed from 0 to 100

Applied in changeset r145.

#5 Updated by Ammler over 10 years ago

  • Target version changed from 0.2.0 to 0.1.1

Also available in: Atom PDF