aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-01-31 03:11:40 +0000
committerEugene Sandulenko2006-01-31 03:11:40 +0000
commit28753b9fdf8056e4aa19524680d04258042f7c70 (patch)
tree1404a18db97b206e5bd721b733b8e4d9b23eb5c9 /graphics/font.cpp
parent930ef80e2344783cf5082b7ad82c93600a5f1746 (diff)
downloadscummvm-rg350-28753b9fdf8056e4aa19524680d04258042f7c70.tar.gz
scummvm-rg350-28753b9fdf8056e4aa19524680d04258042f7c70.tar.bz2
scummvm-rg350-28753b9fdf8056e4aa19524680d04258042f7c70.zip
Plug in better font. Unfortunately we can't use Arial12 which Krest put on
his mock-ups due to license restrictions, i.e. Microsoft prohibits any reverse engineering and modifications of it and we need to convert it into raster font. Fortunately there are free fonts in the wild. I tried Bitstream Vera, but it looked too wide, or crappy if horizontal resolution was altered. Next try was Adobe Helvetica from X.org. Only requirement is to verbose copyright notice and disclaimer. However we will need both bold (provided) and normal wieghts of font in new GUI for use in text inputs. This is work to do. svn-id: r20325
Diffstat (limited to 'graphics/font.cpp')
-rw-r--r--graphics/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/font.cpp b/graphics/font.cpp
index 6cfdf89749..45faf0a047 100644
--- a/graphics/font.cpp
+++ b/graphics/font.cpp
@@ -38,7 +38,7 @@ void NewFont::drawChar(Surface *dst, byte chr, int tx, int ty, uint32 color) con
assert(dst != 0);
byte *ptr = (byte *)dst->getBasePtr(tx, ty);
- assert(desc.bits != 0 && desc.maxwidth <= 16);
+ assert(desc.bits != 0 && desc.maxwidth <= 17);
assert(dst->bytesPerPixel == 1 || dst->bytesPerPixel == 2);
// If this character is not included in the font, use the default char.