Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
or you don't have fontconfig.
|
|
|
|
current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
|
|
sprites: fonts, recolour, mapgen and normal sprites.
|
|
grey-scale glyph was requested.
|
|
something more than whitespace as description of files that don't have a description.
|
|
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.
|