aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/font
AgeCommit message (Collapse)Author
2019-06-30COMMON & WINTERMUTE: Use non-1252 for 125X games (PR 1698)lolbot-iichan
* WINTERMUTE: Add detection for "The Driller Incident" "The Driller Incident" is a small freeware game for Wintermute, avaliable in English and Russian: http://questzone.ru/enzi/files/1645 * WINTERMUTE: Add detection table for "One Helluva Day" demo "One Helluva Day" is a point-and-click adventure demo in English / Czech / Russian. Free download: https://store.steampowered.com/app/603680/One_helluva_day/ * WINTERMUTE: Support CHARSET property for TT fonts "// we don't need this anymore" was a mistake =) Surely, most Wintermute games are either designed for 1252 language (DE_DEU, EN_ANY, ES_ESP, FR_FRA, IT_ITA, PT_BRA), or don't use TrueType fonts (5ma, deadcity, grotter1, grotter2, thekite, tib), or use CHARSET=1 with UTF strings (dirtysplit, reversion1, reversion2, twc), which meen this conversion is not needed for those games. However, there are some games that explicitly states CHARSET=10 (driller (RU_RUS), oknytt (RU_RUS), onehelluvaday (UNK_LANG when playing as Russian)) and there are some games with CHARSET=1 with non-1252 in mind (bookofgron (RU_RUS excepts 1251), carolreed4 (RU_RUS excepts 1251), kulivocko (CZ_CZE excepts 1250)). This fixes text in some games: bookofgron, carolreed4, driller, kulivocko, oknytt, onehelluvaday. * WINTERMUTE: Break savegame compatibility sizeof(BaseFontTT) was changed, so let's break savegame compatibility * COMMON: Add conversion tables for win1253 and win1257 * COMMON: Add string conversion from U32String back to Common::String convertUtf32ToUtf8 code is based on Wintermute::ConvertUTF32toUTF8 convertFromU32String use convertUtf32ToUtf8 for UTF8 or lookup through conversion table for single-byte encodings * WINTERMUTE: Use Common::convert functions for non-UTF charsets * WINTERMUTE: Fix whitespaces at detection tables * WINTERMUTE: Add TODO comments
2018-12-25WINTERMUTE: Attempt to load fallback fonts from fonts.datCameron Cawley
2015-12-21GRAPHICS: Introduce a size mode for TrueType fontsBastien Bouclet
Allows to match Windows font size selection by converting font heights to point sizes using the TrueType tables.
2014-06-15WINTERMUTE: Switch to use of moved to OSystem TransparentSurfaceEugene Sandulenko
2014-04-17WINTERMUTE: Add a warning when loading TTF-fonts without FreeType2-support.Einar Johan Trøan Sømåen
2014-02-21WINTERMUTE: Use the correct field for dpi when loading FreeSans from ↵Einar Johan Trøan Sømåen
scummmodern.zip
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-16WINTERMUTE: Janitorial - Remove trailing spacesStrangerke
2014-02-12WINTERMUTE: Use game format for fallback font rendering.Johannes Schickel
BDF fonts got 32bit drawing support in ece8b7fb65402238ab7df896361a9cefe28b8897 Thus it is not necessary to draw onto a 16bit surface.
2013-11-23WINTERMUTE: Switch WideString to U32String.Johannes Schickel
2013-11-15WINTERMUTE: Add bold-font support for FreeSans.ttf (and only FreeSans for now).Einar Johan Trøan Sømåen
This is mostly a quick fix to solve the rather common case of wanting to use bold Arial. This will not handle the user adding the actual Arial.ttf file to the folder yet, but atleast it solves the common case of having to fallback to FreeSans.
2013-11-05WINTERMUTE: Transfer Char* explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Sint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Uint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Remove BasePlatform::setRect (replace with member-call)Einar Johan Trøan Sømåen
2013-10-28WINTERMUTE: Transfer booleans explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-01WINTERMUTE: Clean up byte/char casts in loading/parsingWillem Jan Palenstijn
2013-09-29WINTERMUTE: Fix typo in commentWillem Jan Palenstijn
2013-09-29WINTERMUTE: Do antialiased TT font renderingWillem Jan Palenstijn
2013-09-08WINTERMUTE: Swap dpi and font-height to be the right-way around.Einar Johan Trøan Sømåen
2013-08-20WINTERMUTE: Change pixel-format to RGBA.Einar Johan Trøan Sømåen
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-04-22WINTERMUTE: Use the theme-path to find scummodern.zipEinar Johan Trøan Sømåen
2013-04-20WINTERMUTE: Further reduce the amount of int->int32-confusion.Einar Johan Trøan Sømåen
2013-04-19WINTERMUTE: Add overrides to Font-classes.Einar Johan Trøan Sømåen
2013-04-19WINTERMUTE: Replace a few more ints by int32s.Einar Johan Trøan Sømåen
2013-04-19WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid ↵Einar Johan Trøan Sømåen
overload-misses.
2013-04-18WINTERMUTE: Do not us char literals to index an arrayMax Horn
This silences a clang warning
2013-04-15WINTERMUTE: Fix warnings and improve const-correctnessWillem Jan Palenstijn
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2013-01-23WINTERMUTE: Fix double delete of TTFs.Einar Johan Trøan Sømåen
2013-01-23WINTERMUTE: Use FreeSans from ScummModern.zip if the requested font is ↵Einar Johan Trøan Sømåen
unavailable. Right now this is the ONLY replacement in place, but Arial is also the default font for WME, so it should cover most cases.
2013-01-09WINTERMUTE: Fix const away cast warning.Johannes Schickel
2012-12-02WINTERMUTE: Fix a warning from buildbot.Einar Johan Trøan Sømåen
2012-12-02WINTERMUTE: Make the TTF-cache actually use LRU.Einar Johan Trøan Sømåen
2012-10-23WINTERMUTE: Convert ' correctly from CP1252Einar Johan Trøan Sømåen
2012-09-11WINTERMUTE: Remove a few more unused includes.Einar Johan Trøan Sømåen
2012-09-11WINTERMUTE: Remove unneccessary includes of base_file.hEinar Johan Trøan Sømåen
2012-09-11WINTERMUTE: Only include base_renderer.h where neededEinar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-09-01WINTERMUTE: Fix various comments.Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Fix warningsEinar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Use ++it instead of it++Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: General cleanupEinar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Cleanup the header-guards.Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Replace col_templ's getSize with Common::Array::size()Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Fix g++ warnings listed by LordHotoEinar Johan Trøan Sømåen
2012-08-14WINTERMUTE: Adjust a few warnings.Einar Johan Trøan Sømåen
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-08-13WINTERMUTE: Use the correct DPI for TTF-fonts, and don't display ↵Einar Johan Trøan Sømåen
overshooting lines.