aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.h
AgeCommit message (Collapse)Author
2017-01-29GRAPHICS: Added optional initial line width ot text wrapperEugene Sandulenko
2016-03-21GRAPHICS: Implement convenience Font::drawChar taking ManagedSurface.Johannes Schickel
2016-03-14GRAPHICS: Added ManagedSurface and Screen classesPaul Gilbert
2014-09-03GRAPHICS: Allow to query the bounding box of chars/strings drawn with Font API.Johannes Schickel
2014-02-18GRAPHICS: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-23GRAPHICS: Allow Font to accept U32String as strings.Johannes Schickel
2013-11-23GRAPHICS: Let Font take uint32 as character codes.Johannes Schickel
This is required to support UTF-32 strings but does not make them work automatically!
2012-01-29GRAPHICS/GUI: Implement kerning support for Font.Johannes Schickel
This adapts the related graphics code, which is the generic Font API and the TTF font implementation. It furthermore adapts the GUI to properly take care of kerning in text input widgets.
2011-07-01GRAPHICS: Move NewFont code to a separate file.Johannes Schickel
2011-06-06GRAPHICS: Get rid of kSODFont (ScummFont)Thierry Crozat
OSD is now using the kGUIFont instead. The main advantage is that the kGUIFont can be used for translated text while only ASCII characters were present in ScummFont.
2011-05-23GRAPHICS: Rename some members of NewFontMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-01-07GRAPHICS: Some basic documentation for Font.Johannes Schickel
svn-id: r55143
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-06-07Fix some typos in a commentJordi Vilalta Prat
svn-id: r49488
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2009-12-10Hopefully fixing linking on MSVC:Johannes Schickel
svn-id: r46329
2009-12-09Cleanup: remove "s_initialized" from CursorManager and FontManager ↵Johannes Schickel
implementation, these classes are Singletons, so they will ever only be initialized once at most anyway. svn-id: r46313
2009-12-09GRAPHICS: Change font code to be identical on all platformsMax Horn
svn-id: r46309
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-06-06Implement widget property "textalign". Added it to all theme layoutsEugene Sandulenko
svn-id: r41265
2008-11-13minor tweaksMax Horn
svn-id: r35036
2008-11-12Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with ↵Max Horn
GUI::ThemeEngine::TextAlignVertical svn-id: r35023
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
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-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-15cleanupMax Horn
svn-id: r21921
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-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
svn-id: r19710
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-08PalmOS : very bad hack to fix global constructor problem with ARMChris Apers
svn-id: r18970
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-20Added virtual destructor, to silence a few more GCC 4 warningsMax Horn
svn-id: r18419
2005-05-15Added Font::wordWrapText methodMax Horn
svn-id: r18109
2005-05-02Const correctnessMax Horn
svn-id: r17898
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-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