Commit Graph

89 Commits (bcbdc3933c4aeff90692a1059375b1f590e7c904)

Author SHA1 Message Date
truebrain b827694aec (svn r23592) -Fix (r23590): forgot one case 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 2ccbd2a6f5 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 13 years ago
glx 721c74d279 (svn r23381) -Fix (r23380): win9x compilation 13 years ago
glx 44918dded0 (svn r23380) -Add: monospace font detection for win32 (also ignore duplicates) 13 years ago
peter1138 81598273e9 (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 15d0a22aac (svn r23315) -Codechange: Only encode sprites for zoom levels that will be used. 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 33f1636847 (svn r23277) -Codechange: fallback font support for fontcache 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 dfefcab47d (svn r23274) -Add: internal support for a monospaced sprite font 13 years ago
rubidium 542c61397c (svn r23271) -Codechange: don't repeatedly initialise and free the freetype library 13 years ago
rubidium d86e6b6162 (svn r23268) -Fix (r23267): compilation failed on Windows 13 years ago
rubidium 4e1c4f9079 (svn r23267) -Codechange: unify the font name setting of the font cache 13 years ago
rubidium 447884fddb (svn r23265) -Codechange: replace the setfallbackfont callback function with a class to call back 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 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 8a41530585 (svn r23009) -Change: Improve appearance of antialiased text with shadow. 13 years ago
michi_cc 65637d8941 (svn r22874) -Fix [FS#4747]: Check size of various buffers before allocation. (monoid) 13 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 0575c8fec9 (svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be called with NULL 14 years ago
rubidium 4e78e7b6c2 (svn r21320) -Fix (r21298): somehow a semicolon got lost 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 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 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 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 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 51f5102713 (svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes. 15 years ago
glx 5ac036720b (svn r18564) -Fix: silence a warning 15 years ago
rubidium b00a5f1069 (svn r18330) -Cleanup: remove some unneeded includes 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 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 15 years ago
michi_cc 94003b455c (svn r17794) -Feature: [OSX] Implement automatic fallback font selection for OSX. 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium bc8e66c202 (svn r17336) -Codechange: move some os specific files into src/os/ 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
alberth 41c8baa7dc (svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus) 15 years ago
alberth 0aed5bf7d7 (svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file. 15 years ago
alberth 8aa51823fc (svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts. 15 years ago
peter1138 88ec646c1f (svn r16602) -Fix (r13831): Antialiased fonts broken; check pixel_mode instead of palette_mode. (Why did it work at some point?) 15 years ago
rubidium f3262c76f0 (svn r15851) -Fix (r15849): compile failure when there's no freetype... 15 years ago
rubidium e8d76e79ee (svn r15849) -Codechange: provide easy access to the real height of the used fonts 15 years ago
rubidium 56e7d2944b (svn r15818) -Fix [FS#2752]: some (newer) GCCs have trouble compiling the Win32 specific part of fontcache.cpp; jumps across variable declarations (Maeyanie) 15 years ago
glx c0a4498518 (svn r15758) -Fix (r15757): win9x compilation 16 years ago
glx 5654966e75 (svn r15757) -Fix/hackaround (r15314): of course on some system searching a font using its english name fails. So now we search the font using the localised name and use the english name for the final 'validation' only. 16 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago