diff options
author | Johannes Schickel | 2010-08-01 19:31:37 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-08-01 19:31:37 +0000 |
commit | c8aabe77e8858b68c5458888a01e5aeb3f5ffb2d (patch) | |
tree | abd1d24fad67c912c2681e353dc56acc133fa22c /dists | |
parent | 2095ce31bde18f6b3a153d7479467eb13ed009ff (diff) | |
download | scummvm-rg350-c8aabe77e8858b68c5458888a01e5aeb3f5ffb2d.tar.gz scummvm-rg350-c8aabe77e8858b68c5458888a01e5aeb3f5ffb2d.tar.bz2 scummvm-rg350-c8aabe77e8858b68c5458888a01e5aeb3f5ffb2d.zip |
GUI: Fix font cache.
The bounding boxes of the glyphs use signed coordinates. We stored only
unsigned coordinates, which resulted in incorrect glyph positioning.
Conrecte example: the bounding box of the glyphs for clR6x12-iso-8859-5.bdf
used:
x y w h
0 -3 6 12
We on the other hand interpreted that as:
x y w h
0 65533 6 12
when loading the font from our font cache.
svn-id: r51586
Diffstat (limited to 'dists')
0 files changed, 0 insertions, 0 deletions