summaryrefslogtreecommitdiff
path: root/fontcache.c
AgeCommit message (Collapse)Author
2006-12-04(svn r7362) -Fix (r7337): Free the freetype face after any possible error. ↵Darkvater
For win32 do not use the last font in the registry if no suitable font is found.
2006-12-03(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ↵Darkvater
ala Fontconfig. Pretty messy if you ask me, but this is what you get when MS hides the font API in the deepest depths... thanks Rubidium for testing.
2006-12-03(svn r7334) -Revert accidentally committed file in r7333Darkvater
2006-12-03(svn r7333) -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to ↵Darkvater
also accept conversions into a predefined buffer insted of using the static (global) buffer. This is useful if the converted value will be used later on; no need to copy it somewhere else to save it. -CodeChange: [win32] Added appropiate macros WIDE_TO_MB_BUFFER, MB_TO_WIDE_BUFFER next to existing WIDE_TO_MB and MB_TO_WIDE that only do work when UNICODE is defined, saves #ifdefs all over the place
2006-11-24(svn r7249) -Fix (r7248): Missed a free()...peter1138
2006-11-24(svn r7248) -Codechange: Support reinitializing the unicode glyph map.peter1138
2006-11-17(svn r7196) -Feature: use fontconfig so one can set the font family name in ↵rubidium
openttd.cfg instead of the full path to the font.
2006-11-16(svn r7182) -Feature: Merge utf8 branch. This brings us support for ↵peter1138
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.