Commit Graph
76 Commits
Author SHA1 Message Date
Bastien Bouclet 2d86f6da9c GRAPHICS: Introduce a size mode for TrueType fonts
Allows to match Windows font size selection by converting font heights
to point sizes using the TrueType tables.
2015-12-21 18:41:14 +01:00
Eugene Sandulenko 385f8358ab WINTERMUTE: Switch to use of moved to OSystem TransparentSurface 2014-06-15 15:43:18 +03:00
Einar Johan Trøan Sømåen 3377784b35 WINTERMUTE: Add a warning when loading TTF-fonts without FreeType2-support. 2014-04-17 11:15:24 +02:00
Einar Johan Trøan Sømåen cda0598047 WINTERMUTE: Use the correct field for dpi when loading FreeSans from scummmodern.zip 2014-02-21 16:35:47 +01:00
Johannes Schickel fc5ef58fff WINTERMUTE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Strangerke 81f0a5dc42 WINTERMUTE: Janitorial - Remove trailing spaces 2014-02-16 18:41:25 +01:00
Johannes Schickel 24d2e246b4 WINTERMUTE: Use game format for fallback font rendering.
BDF fonts got 32bit drawing support in ece8b7fb65
Thus it is not necessary to draw onto a 16bit surface.
2014-02-12 18:31:06 +01:00
Johannes Schickel a6fff7a805 WINTERMUTE: Switch WideString to U32String. 2013-11-23 21:34:54 +01:00
Einar Johan Trøan Sømåen eceaf7f8cb WINTERMUTE: Add bold-font support for FreeSans.ttf (and only FreeSans for now).
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-15 15:27:50 +01:00
Einar Johan Trøan Sømåen 237d3d86ec WINTERMUTE: Transfer Char* explicitly when saving/loading. 2013-11-05 13:54:25 +01:00
Einar Johan Trøan Sømåen d07409def7 WINTERMUTE: Transfer Sint32s explicitly when saving/loading. 2013-11-05 13:48:11 +01:00
Einar Johan Trøan Sømåen 7892188bcf WINTERMUTE: Transfer Uint32s explicitly when saving/loading. 2013-11-05 13:31:13 +01:00
Einar Johan Trøan Sømåen d6b9d7de8f WINTERMUTE: Remove BasePlatform::setRect (replace with member-call) 2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen 6b4adab654 WINTERMUTE: Transfer booleans explicitly when saving/loading. 2013-10-28 19:19:12 +01:00
Willem Jan Palenstijn a979072410 WINTERMUTE: Clean up byte/char casts in loading/parsing 2013-10-01 23:20:43 +02:00
Willem Jan Palenstijn 1c3202794a WINTERMUTE: Fix typo in comment 2013-09-29 22:49:07 +02:00
Willem Jan Palenstijn 2242917dda WINTERMUTE: Do antialiased TT font rendering 2013-09-29 22:27:56 +02:00
Einar Johan Trøan Sømåen 1c091ca1ff WINTERMUTE: Swap dpi and font-height to be the right-way around. 2013-09-08 23:25:23 +02:00
Einar Johan Trøan Sømåen e824ebaa44 WINTERMUTE: Change pixel-format to RGBA. 2013-08-20 16:52:29 +02:00
Johannes Schickel 1ce54c217a WINTERMUTE: Fix end of namespace comments. 2013-08-04 00:51:09 +02:00
Einar Johan Trøan Sømåen 0695739239 WINTERMUTE: Use the theme-path to find scummodern.zip 2013-04-22 16:14:11 +02:00
Einar Johan Trøan Sømåen 51e17d9f86 WINTERMUTE: Further reduce the amount of int->int32-confusion. 2013-04-20 18:11:47 +02:00
Einar Johan Trøan Sømåen 9184bb5c24 WINTERMUTE: Add overrides to Font-classes. 2013-04-19 18:15:25 +02:00
Einar Johan Trøan Sømåen a2fb3dfe9e WINTERMUTE: Replace a few more ints by int32s. 2013-04-19 18:13:42 +02:00
Einar Johan Trøan Sømåen 72d0affe01 WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid overload-misses. 2013-04-19 17:17:53 +02:00
Max Horn 2a10f6a97f WINTERMUTE: Do not us char literals to index an array
This silences a clang warning
2013-04-18 23:50:20 +02:00
Willem Jan Palenstijn 250967a63f WINTERMUTE: Fix warnings and improve const-correctness 2013-04-15 20:44:41 +02:00
Einar Johan Trøan Sømåen 980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Einar Johan Trøan Sømåen 6476ba33d2 WINTERMUTE: Fix double delete of TTFs. 2013-01-23 01:40:13 +01:00
Einar Johan Trøan Sømåen 57bc6374f4 WINTERMUTE: Use FreeSans from ScummModern.zip if the requested font is 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-23 00:34:04 +01:00
Johannes Schickel 4a7ddc6956 WINTERMUTE: Fix const away cast warning. 2013-01-09 08:18:05 +01:00
Einar Johan Trøan Sømåen d54df32483 WINTERMUTE: Fix a warning from buildbot. 2012-12-02 08:38:20 +01:00
Einar Johan Trøan Sømåen 4efd40e41e WINTERMUTE: Make the TTF-cache actually use LRU. 2012-12-02 07:25:12 +01:00
Einar Johan Trøan Sømåen 228785eda2 WINTERMUTE: Convert ' correctly from CP1252 2012-10-23 03:05:17 +02:00
Einar Johan Trøan Sømåen f33884b020 WINTERMUTE: Remove a few more unused includes. 2012-09-11 03:40:56 +02:00
Einar Johan Trøan Sømåen 8c864170a4 WINTERMUTE: Remove unneccessary includes of base_file.h 2012-09-11 03:11:02 +02:00
Einar Johan Trøan Sømåen 2a6e551695 WINTERMUTE: Only include base_renderer.h where needed 2012-09-11 02:51:33 +02:00
Willem Jan Palenstijn b4090ead4d WINTERMUTE: Convert CRLF to LF 2012-09-04 22:17:23 +02:00
Einar Johan Trøan Sømåen 7b17d8060d WINTERMUTE: Fix various comments. 2012-09-01 14:04:23 +02:00
Einar Johan Trøan Sømåen 7027741de7 WINTERMUTE: Fix warnings 2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen 158a206086 WINTERMUTE: Use ++it instead of it++ 2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen 8cf7d765c0 WINTERMUTE: General cleanup 2012-08-31 20:00:40 +02:00
Einar Johan Trøan Sømåen 07c27b775c WINTERMUTE: Cleanup the header-guards. 2012-08-31 20:00:32 +02:00
Einar Johan Trøan Sømåen 2fd38f47e0 WINTERMUTE: Replace col_templ's getSize with Common::Array::size() 2012-08-31 19:23:41 +02:00
Einar Johan Trøan Sømåen 2039ea6b8d WINTERMUTE: Fix g++ warnings listed by LordHoto 2012-08-31 14:01:18 +02:00
Einar Johan Trøan Sømåen 83344a5aef WINTERMUTE: Adjust a few warnings. 2012-08-14 17:27:28 +02:00
Einar Johan Trøan Sømåen fed19cb66a WINTERMUTE: WinterMute -> Wintermute 2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen 61ddc77804 WINTERMUTE: Use the correct DPI for TTF-fonts, and don't display overshooting lines. 2012-08-13 02:13:26 +02:00
Einar Johan Trøan Sømåen 3abccb2e33 WINTERMUTE: Change PixelFormat to ARGB (same as Sword25)
Mainly a workaround for the OpenGL-backend.
2012-08-07 14:56:06 +02:00
Einar Johan Trøan Sømåen 6b07218eb2 WINTERMUTE: Remove statics and silence spam in debug console. 2012-07-29 18:24:08 +02:00