summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
AgeCommit message (Collapse)Author
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
2009-11-15(svn r18096) -Fix (r5079/r7158??): Use free type ascender/descender metrics ↵peter1138
to position font offset correctly.
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-10-17(svn r17794) -Feature: [OSX] Implement automatic fallback font selection for ↵michi_cc
OSX.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-31(svn r17336) -Codechange: move some os specific files into src/os/rubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-21(svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined ↵alberth
unconditionally (leeus)
2009-06-20(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.alberth
2009-06-20(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.alberth
2009-06-20(svn r16602) -Fix (r13831): Antialiased fonts broken; check pixel_mode ↵peter1138
instead of palette_mode. (Why did it work at some point?)
2009-03-25(svn r15851) -Fix (r15849): compile failure when there's no freetype...rubidium
2009-03-25(svn r15849) -Codechange: provide easy access to the real height of the used ↵rubidium
fonts
2009-03-22(svn r15818) -Fix [FS#2752]: some (newer) GCCs have trouble compiling the ↵rubidium
Win32 specific part of fontcache.cpp; jumps across variable declarations (Maeyanie)
2009-03-18(svn r15758) -Fix (r15757): win9x compilationglx
2009-03-18(svn r15757) -Fix/hackaround (r15314): of course on some system searching a ↵glx
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.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium