Commit Graph

349 Commits (jgrpp)

Author SHA1 Message Date
frosch a8080b6256 (svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad(). 9 years ago
planetmaker 84e2d4dd9e (svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3) 10 years ago
planetmaker 24fec6da12 (svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3) 10 years ago
rubidium 0c2f4bdc2b (svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces) 10 years ago
rubidium d534c80e94 (svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces) 10 years ago
peter1138 d549ed2d6c (svn r27015) -Codechange: Also scale the character spacing for fonts without shadow. 10 years ago
peter1138 2eb38ef9e9 (svn r27015) -Codechange: Also scale the character spacing for fonts without shadow. 10 years ago
peter1138 aa6fdf6f13 (svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well. 10 years ago
peter1138 1088ad48fc (svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well. 10 years ago
rubidium 660a95e5d2 (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 10 years ago
rubidium 771dcf3b7b (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 10 years ago
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 10 years ago
rubidium 0463dbdc9e (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 10 years ago
fonsinchen d766a72146 (svn r26389) -Fix [FS#5885]: Select a specific font size when freetype fails to select one automatically. 10 years ago
fonsinchen b816e07742 (svn r26389) -Fix [FS#5885]: Select a specific font size when freetype fails to select one automatically. 10 years ago
rubidium 4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 8860bb5c8d (svn r26170) -Feature-ish: add the currently used fonts to the crash log 11 years ago
rubidium 00c05e79b1 (svn r26170) -Feature-ish: add the currently used fonts to the crash log 11 years ago
frosch 0cf1de904d (svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear layout cache. (adf88) 11 years ago
frosch dcec8b9abd (svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear layout cache. (adf88) 11 years ago
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. 11 years ago
frosch b4609fd923 (svn r25822) -Fix [FS#5704]: Searching for a suitable font failed, if one of the fonts had no '?' glyph, and no baseset is installed. 11 years ago
frosch 520a8de3e1 (svn r25569) -Codechange: Cache all Font instances in a static container. 11 years ago
frosch 4824cb7886 (svn r25569) -Codechange: Cache all Font instances in a static container. 11 years ago
rubidium 31c0eda620 (svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache 11 years ago
rubidium fac0b83df6 (svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache 11 years ago
rubidium d09127996d (svn r25501) -Fix: compilation error on OS X 11 years ago
rubidium 3831e3829d (svn r25501) -Fix: compilation error on OS X 11 years ago
rubidium f2d78be786 (svn r25493) -Codechange: support for the safer variant of ICU's getFontTable 11 years ago
rubidium 0c14a586bd (svn r25493) -Codechange: support for the safer variant of ICU's getFontTable 11 years ago
rubidium 1e7ff472c7 (svn r25469) -Add: method for getting the font tables from freetype fonts 11 years ago
rubidium 7b10e39bf1 (svn r25469) -Add: method for getting the font tables from freetype fonts 11 years ago
rubidium 755bd9901d (svn r25463) -Codechange: export more size related information from the fonts 11 years ago
rubidium 43a37f7f28 (svn r25463) -Codechange: export more size related information from the fonts 11 years ago
rubidium 71f6eab843 (svn r25462) -Codechange: make a better distinction between characters and glyphs 11 years ago
rubidium 092c33be3f (svn r25462) -Codechange: make a better distinction between characters and glyphs 11 years ago
frosch 15993b7d87 (svn r25451) -Fix (r25445): Ini configuration for medium font was overwritten by front configuration of other sizes. 11 years ago
frosch 798f472552 (svn r25451) -Fix (r25445): Ini configuration for medium font was overwritten by front configuration of other sizes. 11 years ago
rubidium e326a4b865 (svn r25446) -Codechange: call sprite fontcache code from freetype font cache in case a sprite must be shown 11 years ago
rubidium 8190d26f9e (svn r25446) -Codechange: call sprite fontcache code from freetype font cache in case a sprite must be shown 11 years ago
rubidium 67dc369a82 (svn r25445) -Codechange: simplify the font loading 11 years ago
rubidium 8c5a7cf0ab (svn r25445) -Codechange: simplify the font loading 11 years ago
rubidium 24db751594 (svn r25444) -Codechange: move sprite font code together with the other sprite font code 11 years ago
rubidium c23eaf0790 (svn r25444) -Codechange: move sprite font code together with the other sprite font code 11 years ago
rubidium e73e0a6a7c (svn r25443) -Codechange: move the glyph to sprite cache into the FreeTypeFontCache instance 11 years ago
rubidium ac4dd5d627 (svn r25443) -Codechange: move the glyph to sprite cache into the FreeTypeFontCache instance 11 years ago
rubidium aa9bf82121 (svn r25442) -Codechange: move height and ascender information into the FontCache instances 11 years ago
rubidium d724088a1c (svn r25442) -Codechange: move height and ascender information into the FontCache instances 11 years ago
rubidium 49e71c3bee (svn r25441) -Codechange: move the freetype font allocation into the FreeTypeFontCache 11 years ago
rubidium eb4388f4f3 (svn r25441) -Codechange: move the freetype font allocation into the FreeTypeFontCache 11 years ago
rubidium 78d6a73de8 (svn r25439) -Codechange: move the glyph to sprite ID mapping into the SpriteFontCache 11 years ago
rubidium a285743d48 (svn r25439) -Codechange: move the glyph to sprite ID mapping into the SpriteFontCache 11 years ago
rubidium 30394cb05e (svn r25438) -Codechange: introduce classes for the FontCache 11 years ago
rubidium e1a2a8275b (svn r25438) -Codechange: introduce classes for the FontCache 11 years ago
rubidium 44d584f84a (svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped 11 years ago
rubidium 94a5fe6b92 (svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped 11 years ago
rubidium d99113bd00 (svn r25436) -Codechange: split the font detection code out of the font caching code 11 years ago
rubidium 13c450a66b (svn r25436) -Codechange: split the font detection code out of the font caching code 11 years ago
michi_cc 557b0993ba (svn r25157) -Feature: Determine the default font height for vector fonts according to the minimum readable height that the font provides. 11 years ago
michi_cc 55ba9320f3 (svn r25157) -Feature: Determine the default font height for vector fonts according to the minimum readable height that the font provides. 11 years ago
michi_cc da843d931e (svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist. 11 years ago
michi_cc d1212e0b1a (svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist. 11 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
alberth 19adc87262 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
alberth 732e073261 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
frosch fd986f651a (svn r23987) -Fix (r23000): Also reset the font glyph cache when switching blitters. 12 years ago
frosch df54f25efe (svn r23987) -Fix (r23000): Also reset the font glyph cache when switching blitters. 12 years ago
michi_cc a55a77cbae (svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138) 13 years ago
michi_cc e85d5b5d31 (svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138) 13 years ago
truebrain 7cfe482045 (svn r23592) -Fix (r23590): forgot one case 13 years ago
truebrain b827694aec (svn r23592) -Fix (r23590): forgot one case 13 years ago
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.
13 years ago
rubidium ab974bee97 (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.
13 years ago
rubidium a531ec1899 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 13 years ago
rubidium 2ccbd2a6f5 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 13 years ago
glx fd3a27fa2e (svn r23381) -Fix (r23380): win9x compilation 13 years ago
glx 721c74d279 (svn r23381) -Fix (r23380): win9x compilation 13 years ago
glx 514bc0bc81 (svn r23380) -Add: monospace font detection for win32 (also ignore duplicates) 13 years ago
glx 44918dded0 (svn r23380) -Add: monospace font detection for win32 (also ignore duplicates) 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 81598273e9 (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 9e0e4bf639 (svn r23315) -Codechange: Only encode sprites for zoom levels that will be used. 13 years ago
peter1138 15d0a22aac (svn r23315) -Codechange: Only encode sprites for zoom levels that will be used. 13 years ago
rubidium dd26086629 (svn r23279) -Codechange: try to prevent slanted and skinny fonts with fontconfig. This should generally make the fallback choice better legible 13 years ago
rubidium 7f390964c3 (svn r23279) -Codechange: try to prevent slanted and skinny fonts with fontconfig. This should generally make the fallback choice better legible 13 years ago
rubidium 97d1969a69 (svn r23277) -Codechange: fallback font support for fontcache 13 years ago
rubidium 33f1636847 (svn r23277) -Codechange: fallback font support for fontcache 13 years ago
rubidium 17db686187 (svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts 13 years ago
rubidium 9512838a5e (svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts 13 years ago
rubidium 49047246fa (svn r23274) -Add: internal support for a monospaced sprite font 13 years ago
rubidium dfefcab47d (svn r23274) -Add: internal support for a monospaced sprite font 13 years ago
rubidium c2ea904860 (svn r23271) -Codechange: don't repeatedly initialise and free the freetype library 13 years ago
rubidium 542c61397c (svn r23271) -Codechange: don't repeatedly initialise and free the freetype library 13 years ago
rubidium 3e09fa8102 (svn r23268) -Fix (r23267): compilation failed on Windows 13 years ago
rubidium d86e6b6162 (svn r23268) -Fix (r23267): compilation failed on Windows 13 years ago
rubidium 2ce44dc201 (svn r23267) -Codechange: unify the font name setting of the font cache 13 years ago
rubidium 4e1c4f9079 (svn r23267) -Codechange: unify the font name setting of the font cache 13 years ago
rubidium e3905eecbb (svn r23265) -Codechange: replace the setfallbackfont callback function with a class to call back 13 years ago
rubidium 447884fddb (svn r23265) -Codechange: replace the setfallbackfont callback function with a class to call back 13 years ago
rubidium c77ae1f54c (svn r23243) -Codechange: give a clearer error when the sprite font failed to provide a sprite or fall back to the freetype font if that's loaded 13 years ago
rubidium 4390f6f449 (svn r23243) -Codechange: give a clearer error when the sprite font failed to provide a sprite or fall back to the freetype font if that's loaded 13 years ago
peter1138 8e4081f183 (svn r23038) -Fix: Check that the selected font size is valid the font face in use and choose the nearest size to that selected if not. Font metrics should then just work. 13 years ago
peter1138 f0ef9a09ff (svn r23038) -Fix: Check that the selected font size is valid the font face in use and choose the nearest size to that selected if not. Font metrics should then just work. 13 years ago
peter1138 9024c77635 (svn r23009) -Change: Improve appearance of antialiased text with shadow. 13 years ago
peter1138 8a41530585 (svn r23009) -Change: Improve appearance of antialiased text with shadow. 13 years ago
michi_cc 7c325fcb78 (svn r22874) -Fix [FS#4747]: Check size of various buffers before allocation. (monoid) 13 years ago
michi_cc 65637d8941 (svn r22874) -Fix [FS#4747]: Check size of various buffers before allocation. (monoid) 13 years ago
frosch 4748e49f4a (svn r21789) -Fix [FS#4405]: When the font misses the fallback character '?', use the sprite font's '?' instead. 14 years ago
frosch fad00367ae (svn r21789) -Fix [FS#4405]: When the font misses the fallback character '?', use the sprite font's '?' instead. 14 years ago
rubidium a73f9183a5 (svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be called with NULL 14 years ago
rubidium 0575c8fec9 (svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be called with NULL 14 years ago
rubidium 36a7e75c44 (svn r21320) -Fix (r21298): somehow a semicolon got lost 14 years ago
rubidium 4e78e7b6c2 (svn r21320) -Fix (r21298): somehow a semicolon got lost 14 years ago
glx 9904cb7372 (svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly checked for missing glyphs on language change 14 years ago
glx d9173858a2 (svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly checked for missing glyphs on language change 14 years ago
planetmaker d9647c0e3b (svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters 14 years ago
planetmaker b7d8001202 (svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium d5357c6545 (svn r19753) -Fix [FS#3740]: try a bit harder to find a suitable font that can be loaded, i.e. while searching for a suitable font test whether you can open it and if not search further instead of always returning the first suitable font even when it can't be loaded 14 years ago
rubidium 4c52a2cbd3 (svn r19753) -Fix [FS#3740]: try a bit harder to find a suitable font that can be loaded, i.e. while searching for a suitable font test whether you can open it and if not search further instead of always returning the first suitable font even when it can't be loaded 14 years ago
peter1138 550b68c96e (svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes. 15 years ago
peter1138 51f5102713 (svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes. 15 years ago
glx da99cc15e9 (svn r18564) -Fix: silence a warning 15 years ago
glx 5ac036720b (svn r18564) -Fix: silence a warning 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
rubidium b00a5f1069 (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
peter1138 010627a303 (svn r18096) -Fix (r5079/r7158??): Use free type ascender/descender metrics to position font offset correctly. 15 years ago
peter1138 f28d32943d (svn r18096) -Fix (r5079/r7158??): Use free type ascender/descender metrics to position font offset correctly. 15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 15 years ago
michi_cc 685a7752f2 (svn r17794) -Feature: [OSX] Implement automatic fallback font selection for OSX. 15 years ago
michi_cc 94003b455c (svn r17794) -Feature: [OSX] Implement automatic fallback font selection for OSX. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium 19b83eb5aa (svn r17336) -Codechange: move some os specific files into src/os/ 15 years ago
rubidium bc8e66c202 (svn r17336) -Codechange: move some os specific files into src/os/ 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
alberth 8d3e094920 (svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus) 15 years ago