aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.cpp
AgeCommit message (Collapse)Author
2007-03-08Replaced uses of fprintf() with warning() or error()Max Horn
svn-id: r26022
2006-10-08fixed assert in isspace function because wrong variable type for chars when ↵Paweł Kołodziejski
they value is greater then 128. isspace take as "int" type param (at least in ms sdk) svn-id: r24210
2006-06-25Fixes a warning with VC++ 2005 Express.Oystein Eftevaag
svn-id: r23307
2006-06-24fix character clipping as mentioned by Marcus on the mailing list on 22 juneWillem Jan Palenstijn
svn-id: r23292
2006-06-20Applied patches from bug report #1276480, "GUI: Accented characters". ThisTorbjörn Andersson
changes quite a lot of things in the font renderer and the convbdf tools, so there may be regressions, but we want this feature for 0.9.0. svn-id: r23208
2006-05-09- Updated MSVC8 project filesEugene Sandulenko
- Renamed base/options.cpp to base/commandLine.cpp because of conflict with gui/options.cpp which sit in same directory in MSVC builds - Moved AudioCDManager singleton declaration outside of Audio namespace - Fixed numerous MSVC warning of potentially uninitialized variables and int <-> bool conversions. svn-id: r22397
2006-04-16- Moves Graphics::loadFont to Graphics::NewFont::loadFontJohannes Schickel
- adds code for caching of fonts (just for Graphics::NewFont) - implements cache using in the modern theme for custom fonts - adds cache file for current normal font in the theme zip file svn-id: r21952
2006-04-14- implements .bdf font loader based on convbdf (sure could have some clean up)Johannes Schickel
- adds three different font styles to the themes (normal, bold (default one), italic) - implements code for specifing the font files in the theme config ('fontfile_normal','fontfile_bold' and 'fontfile_italic' in the 'extra' section) - changes EditTextWidget to use the normal font (has some minor aligment problems with the caret now, though) - extends the FontManager (new functions: getFontByName, assignFontToName, removeFontName) - adds the font style constans to the builtin constants for the evaluator) svn-id: r21868
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20519
2006-01-31Plug in better font. Unfortunately we can't use Arial12 which Krest put onEugene Sandulenko
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
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-04Remove special case for char 0x20 (=space). No idea why it was there in the ↵Max Horn
first place svn-id: r18335
2005-05-17Fix word wrapping: do not generate spaces at the start/end of the wrapped linesMax Horn
svn-id: r18142
2005-05-15Added Font::wordWrapText methodMax Horn
svn-id: r18109
2005-05-02Const correctnessMax Horn
svn-id: r17898
2005-01-08Fix bug #1098115 (GUI: Broken console font)Max Horn
svn-id: r16488
2005-01-06Switching GUI to an alternate font; using a second, bigger, font for 640x480 ↵Max Horn
games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to svn-id: r16467
2005-01-06Added a font manager (work in progress)Max Horn
svn-id: r16460
2005-01-06Patch #1092994 (Selfscaling GUI)Max Horn
svn-id: r16455
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-27do clippingMax Horn
svn-id: r15902
2004-08-15Changed the way NewFonts are instantiated (will make it easier to add ↵Max Horn
multiple fonts) svn-id: r14625
2004-03-21Moved Surface/Font code into new 'graphics' moduleMax Horn
svn-id: r13357