Commit Graph

129 Commits

Author SHA1 Message Date
frosch
f1f07b55f4 (svn r27888) -Fix: Member access coding style (adf88) 2017-07-11 19:34:41 +00:00
peter1138
5932c84011 (svn r27859) -Revert (r27858): Committed too much :( 2017-04-23 09:20:53 +00:00
peter1138
e9e44105eb (svn r27858) -Change [FS#6560]: Add missing game script event for ships arriving at a station. (juanjo) 2017-04-23 09:19:32 +00:00
frosch
aef1cf42e1 (svn r27187) -Fix: Code style. 2015-03-15 12:19:58 +00:00
frosch
8767a11d60 (svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad(). 2015-02-01 20:54:24 +00:00
planetmaker
84e2d4dd9e (svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3) 2014-12-11 12:25:53 +00:00
rubidium
0c2f4bdc2b (svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces) 2014-10-15 18:31:37 +00:00
peter1138
d549ed2d6c (svn r27015) -Codechange: Also scale the character spacing for fonts without shadow. 2014-10-14 14:16:38 +00:00
peter1138
aa6fdf6f13 (svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well. 2014-10-12 20:43:25 +00:00
rubidium
660a95e5d2 (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 2014-10-12 18:41:53 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
fonsinchen
d766a72146 (svn r26389) -Fix [FS#5885]: Select a specific font size when freetype fails to select one automatically. 2014-03-03 21:34:36 +00:00
rubidium
4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 2014-01-02 22:41:58 +00:00
rubidium
8860bb5c8d (svn r26170) -Feature-ish: add the currently used fonts to the crash log 2013-12-22 17:46:27 +00:00
frosch
0cf1de904d (svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear layout cache. (adf88) 2013-10-13 13:28:06 +00:00
frosch
56bf93b35a (svn r25822) -Fix [FS#5704]: Searching for a suitable font failed, if one of the fonts had no '?' glyph, and no baseset is installed. 2013-10-06 20:08:11 +00:00
frosch
520a8de3e1 (svn r25569) -Codechange: Cache all Font instances in a static container. 2013-07-06 18:56:23 +00:00
rubidium
31c0eda620 (svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache 2013-06-29 12:03:44 +00:00
rubidium
d09127996d (svn r25501) -Fix: compilation error on OS X 2013-06-28 19:31:31 +00:00
rubidium
f2d78be786 (svn r25493) -Codechange: support for the safer variant of ICU's getFontTable 2013-06-27 21:21:47 +00:00
rubidium
1e7ff472c7 (svn r25469) -Add: method for getting the font tables from freetype fonts 2013-06-25 20:39:58 +00:00
rubidium
755bd9901d (svn r25463) -Codechange: export more size related information from the fonts 2013-06-25 20:21:21 +00:00
rubidium
71f6eab843 (svn r25462) -Codechange: make a better distinction between characters and glyphs 2013-06-25 20:20:15 +00:00
frosch
15993b7d87 (svn r25451) -Fix (r25445): Ini configuration for medium font was overwritten by front configuration of other sizes. 2013-06-23 20:08:13 +00:00
rubidium
e326a4b865 (svn r25446) -Codechange: call sprite fontcache code from freetype font cache in case a sprite must be shown 2013-06-23 15:38:51 +00:00
rubidium
67dc369a82 (svn r25445) -Codechange: simplify the font loading 2013-06-23 15:37:18 +00:00
rubidium
24db751594 (svn r25444) -Codechange: move sprite font code together with the other sprite font code 2013-06-23 15:36:29 +00:00
rubidium
e73e0a6a7c (svn r25443) -Codechange: move the glyph to sprite cache into the FreeTypeFontCache instance 2013-06-23 15:35:06 +00:00
rubidium
aa9bf82121 (svn r25442) -Codechange: move height and ascender information into the FontCache instances 2013-06-23 15:32:09 +00:00
rubidium
49e71c3bee (svn r25441) -Codechange: move the freetype font allocation into the FreeTypeFontCache 2013-06-23 15:29:20 +00:00
rubidium
78d6a73de8 (svn r25439) -Codechange: move the glyph to sprite ID mapping into the SpriteFontCache 2013-06-23 15:25:35 +00:00
rubidium
30394cb05e (svn r25438) -Codechange: introduce classes for the FontCache 2013-06-23 15:24:36 +00:00
rubidium
44d584f84a (svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped 2013-06-23 15:23:22 +00:00
rubidium
d99113bd00 (svn r25436) -Codechange: split the font detection code out of the font caching code 2013-06-23 15:20:23 +00:00
michi_cc
557b0993ba (svn r25157) -Feature: Determine the default font height for vector fonts according to the minimum readable height that the font provides. 2013-04-06 22:06:44 +00:00
michi_cc
da843d931e (svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist. 2013-04-06 18:36:41 +00:00
planetmaker
f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
alberth
19adc87262 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 2012-12-01 13:12:39 +00:00
frosch
fd986f651a (svn r23987) -Fix (r23000): Also reset the font glyph cache when switching blitters. 2012-02-25 17:20:02 +00:00
michi_cc
a55a77cbae (svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138) 2012-02-04 13:29:13 +00:00
truebrain
7cfe482045 (svn r23592) -Fix (r23590): forgot one case 2011-12-18 19:39:24 +00:00
rubidium
b3fc75c72d (svn r23582) -Fix [FS#4870]: add missing characters for certain languages and the large font
-Codechange: don't remove large font glyphs because they are broken in the original font, just fix them up in openttd.grf using action A
-Change: make extra characters more consistent with the original font
  All by PaulC.
2011-12-17 21:42:11 +00:00
rubidium
a531ec1899 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 2011-12-08 18:13:29 +00:00
glx
fd3a27fa2e (svn r23381) -Fix (r23380): win9x compilation 2011-11-30 20:17:27 +00:00
glx
514bc0bc81 (svn r23380) -Add: monospace font detection for win32 (also ignore duplicates) 2011-11-30 17:05:14 +00:00
peter1138
b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 2011-11-24 12:38:48 +00:00
peter1138
9e0e4bf639 (svn r23315) -Codechange: Only encode sprites for zoom levels that will be used. 2011-11-24 12:26:44 +00:00
rubidium
dd26086629 (svn r23279) -Codechange: try to prevent slanted and skinny fonts with fontconfig. This should generally make the fallback choice better legible 2011-11-20 12:10:41 +00:00
rubidium
97d1969a69 (svn r23277) -Codechange: fallback font support for fontcache 2011-11-20 12:02:06 +00:00
rubidium
17db686187 (svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts 2011-11-20 11:59:36 +00:00