Age | Commit message (Collapse) | Author |
|
fontconfig. This should generally make the fallback choice better legible
|
|
|
|
another moment than the other fonts
|
|
|
|
library
|
|
|
|
|
|
a class to call back
|
|
to provide a sprite or fall back to the freetype font if that's loaded
|
|
in use and choose the nearest size to that selected if not. Font metrics should then just work.
|
|
|
|
allocation. (monoid)
|
|
'?', use the sprite font's '?' instead.
|
|
called with NULL
|
|
|
|
checked for missing glyphs on language change
|
|
when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters
|
|
|
|
|
|
|
|
|
|
consisted of unrelated values use static const (u)int
|
|
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
|
|
for small and large font sizes.
|
|
|
|
|
|
to position font offset correctly.
|
|
|
|
OSX.
|
|
|
|
|
|
|
|
unconditionally (leeus)
|
|
|
|
|
|
instead of palette_mode. (Why did it work at some point?)
|
|
|
|
fonts
|
|
Win32 specific part of fontcache.cpp; jumps across variable declarations (Maeyanie)
|
|
|
|
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.
|
|
sources too
|
|
|
|
defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h.
|
|
loading sprites.
|
|
|
|
file name. Windows doesn't come with them by default, but one can easily install a font with non-ASCII name.
|
|
|
|
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.
|
|
|