summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
AgeCommit message (Collapse)Author
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
2009-03-14(svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before ↵glx
defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h.
2009-02-23(svn r15555) -Codechange: remove the mallocs + frees for temporary data from ↵rubidium
loading sprites.
2009-02-05(svn r15361) -Cleanup: minor comment style fixes (planetmaker)smatz
2009-02-02(svn r15317) -Fix: support Windows fonts with non-ASCII characters in their ↵rubidium
file name. Windows doesn't come with them by default, but one can easily install a font with non-ASCII name.
2009-02-02(svn r15315) -Fix (r15314): make gcc happy (for once)glx
2009-02-02(svn r15314) -Fix/hackaround [FS#2590]: fonts have a feature where they can ↵rubidium
have localised names. Windows thinks it's a feature to use the name matching the system's locale, Windows doesn't provide an API to get the font name given another locale and freetype uses the English locale to resolve the name when opening the font... This results in fonts that will can't be found and warnings that the fallback font can't be loaded. Work around this by 'manually' getting the non-localised font name from the font.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-11-24(svn r14622) -Fix (r14618): win9x compilationglx
2008-11-24(svn r14621) -Fix (r14618): link error when you aren't compiling for Windows ↵rubidium
or you don't have fontconfig.