Commit Graph

11 Commits

Author SHA1 Message Date
Darkvater
04628a1979 (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
2006-12-26 17:36:18 +00:00
Darkvater
90f7419681 (svn r7411) -Cleanup: Add 'Freetype' to dbg message output, just like all others 2006-12-07 00:54:18 +00:00
Darkvater
2dabe7ec0f (svn r7406) -Fix (r7377): [win32] Fontcache now also compiles in UNICODE mode; sorry, should've tested. 2006-12-06 19:28:25 +00:00
Darkvater
0e465359c5 (svn r7362) -Fix (r7337): Free the freetype face after any possible error. For win32 do not use the
last font in the registry if no suitable font is found.
2006-12-04 18:57:09 +00:00
Darkvater
dcd95059be (svn r7337) -Feature: [win32] Add font selection by specifying a font-name, 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 19:03:38 +00:00
Darkvater
be36fb01b1 (svn r7334) -Revert accidentally committed file in r7333 2006-12-03 17:54:28 +00:00
Darkvater
9a5a37abbe (svn r7333) -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to 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-12-03 17:47:53 +00:00
peter1138
865b67c873 (svn r7249) -Fix (r7248): Missed a free()... 2006-11-24 18:37:40 +00:00
peter1138
667ce90ad3 (svn r7248) -Codechange: Support reinitializing the unicode glyph map. 2006-11-24 18:35:59 +00:00
rubidium
9a8c149321 (svn r7196) -Feature: use fontconfig so one can set the font family name in openttd.cfg instead of the full path to the font. 2006-11-17 22:15:55 +00:00
peter1138
f660d48e6a (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00