summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
AgeCommit message (Collapse)Author
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.
2008-11-24(svn r14620) -Fix (r14618): missing lines broke compilation on windowsglx
2008-11-24(svn r14618) -Feature: when the chosen language isn't supported by the ↵rubidium
current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-07-26(svn r13832) -Fix [FS#2152]: FreeType may return a bitmap glyph even if a ↵peter1138
grey-scale glyph was requested.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-01-25(svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up ↵peter1138
missing/shuffled sprites in original data files instead of shuffling or skipping sprites directly. Some required glyphs were not loaded. -Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-08(svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with ↵rubidium
(Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style