Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
unneeded include from openttd.h.
|
|
when it's not necessary.
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
logical locations.
|
|
(Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
|
|
style
|
|
API: blitter
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
|
|
FreeType. This is configurable for each font size in the configuration settings and requires using the 32bpp blitter and suitable fonts.
|
|
of ignoring it
|