summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
AgeCommit message (Collapse)Author
2013-06-23(svn r25451) -Fix (r25445): Ini configuration for medium font was ↵frosch
overwritten by front configuration of other sizes.
2013-06-23(svn r25446) -Codechange: call sprite fontcache code from freetype font ↵rubidium
cache in case a sprite must be shown
2013-06-23(svn r25445) -Codechange: simplify the font loadingrubidium
2013-06-23(svn r25444) -Codechange: move sprite font code together with the other ↵rubidium
sprite font code
2013-06-23(svn r25443) -Codechange: move the glyph to sprite cache into the ↵rubidium
FreeTypeFontCache instance
2013-06-23(svn r25442) -Codechange: move height and ascender information into the ↵rubidium
FontCache instances
2013-06-23(svn r25441) -Codechange: move the freetype font allocation into the ↵rubidium
FreeTypeFontCache
2013-06-23(svn r25439) -Codechange: move the glyph to sprite ID mapping into the ↵rubidium
SpriteFontCache
2013-06-23(svn r25438) -Codechange: introduce classes for the FontCacherubidium
2013-06-23(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it ↵rubidium
better grouped
2013-06-23(svn r25436) -Codechange: split the font detection code out of the font ↵rubidium
caching code
2013-04-06(svn r25157) -Feature: Determine the default font height for vector fonts ↵michi_cc
according to the minimum readable height that the font provides.
2013-04-06(svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to ↵michi_cc
SHGetFolderPath as it may not exist.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-01(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵alberth
various sources (including Eagle_rainbow, MinchinWeb)
2012-02-25(svn r23987) -Fix (r23000): Also reset the font glyph cache when switching ↵frosch
blitters.
2012-02-04(svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138)michi_cc
2011-12-18(svn r23592) -Fix (r23590): forgot one casetruebrain
2011-12-17(svn r23582) -Fix [FS#4870]: add missing characters for certain languages ↵rubidium
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-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-11-30(svn r23381) -Fix (r23380): win9x compilationglx
2011-11-30(svn r23380) -Add: monospace font detection for win32 (also ignore duplicates)glx
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-24(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.peter1138
2011-11-20(svn r23279) -Codechange: try to prevent slanted and skinny fonts with ↵rubidium
fontconfig. This should generally make the fallback choice better legible
2011-11-20(svn r23277) -Codechange: fallback font support for fontcacherubidium
2011-11-20(svn r23275) -Codechange: allow loading of the monospace (freetype) font at ↵rubidium
another moment than the other fonts
2011-11-20(svn r23274) -Add: internal support for a monospaced sprite fontrubidium
2011-11-20(svn r23271) -Codechange: don't repeatedly initialise and free the freetype ↵rubidium
library
2011-11-19(svn r23268) -Fix (r23267): compilation failed on Windowsrubidium
2011-11-19(svn r23267) -Codechange: unify the font name setting of the font cacherubidium
2011-11-19(svn r23265) -Codechange: replace the setfallbackfont callback function with ↵rubidium
a class to call back
2011-11-17(svn r23243) -Codechange: give a clearer error when the sprite font failed ↵rubidium
to provide a sprite or fall back to the freetype font if that's loaded
2011-10-18(svn r23038) -Fix: Check that the selected font size is valid the font face ↵peter1138
in use and choose the nearest size to that selected if not. Font metrics should then just work.
2011-10-07(svn r23009) -Change: Improve appearance of antialiased text with shadow.peter1138
2011-09-02(svn r22874) -Fix [FS#4747]: Check size of various buffers before ↵michi_cc
allocation. (monoid)
2011-01-14(svn r21789) -Fix [FS#4405]: When the font misses the fallback character ↵frosch
'?', use the sprite font's '?' instead.
2010-12-12(svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be ↵rubidium
called with NULL
2010-11-25(svn r21320) -Fix (r21298): somehow a semicolon got lostrubidium
2010-11-23(svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly ↵glx
checked for missing glyphs on language change
2010-11-15(svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed ↵planetmaker
when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-03(svn r19753) -Fix [FS#3740]: try a bit harder to find a suitable font that ↵rubidium
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
2010-01-04(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts ↵peter1138
for small and large font sizes.
2009-12-20(svn r18564) -Fix: silence a warningglx
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium