summaryrefslogtreecommitdiff
path: root/src/fontcache.h
AgeCommit message (Collapse)Author
2019-05-14Codechange: [Win32] Pass a native GDI font description around when we have ↵Michael Lutz
one, instead of repeatedly guessing the font.
2019-05-14Add: [Win32] GDI engine for font glyph rendering as a replacement for ↵Michael Lutz
including FreeType. Building with FreeType is still possible and will take precedence over the GDI renderer, but the project files don't include FreeType anymore by default. Combining GDI rendering with ICU text layout is untested.
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-12-08Add: [OSX] Text layout using the native CoreText API.Michael Lutz
By default, the native API will be used instead of ICU, but if ICU is forced in using configure, it will take precedence.
2018-06-06Add: [Win32] Text layout using the native Windows Uniscribe library.Michael Lutz
Uniscribe is sometimes producing different results compared to ICU, especially when RTL and LTR content is mixed. Comparing the results to other programs (like editors or web browsers) leads me to believe that the result are at least not worse than ICU and possibly better.
2014-10-12(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.peter1138
2013-12-22(svn r26170) -Feature-ish: add the currently used fonts to the crash logrubidium
2013-10-13(svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear ↵frosch
layout cache. (adf88)
2013-06-27(svn r25493) -Codechange: support for the safer variant of ICU's getFontTablerubidium
2013-06-25(svn r25469) -Add: method for getting the font tables from freetype fontsrubidium
2013-06-25(svn r25463) -Codechange: export more size related information from the fontsrubidium
2013-06-25(svn r25462) -Codechange: make a better distinction between characters and ↵rubidium
glyphs
2013-06-23(svn r25445) -Codechange: simplify the font loadingrubidium
2013-06-23(svn r25442) -Codechange: move height and ascender information into the ↵rubidium
FontCache instances
2013-06-23(svn r25438) -Codechange: introduce classes for the FontCacherubidium
2013-06-23(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it ↵rubidium
better grouped
2013-06-23(svn r25436) -Codechange: split the font detection code out of the font ↵rubidium
caching code
2012-02-25(svn r23992) -Fix: compilation without freetyperubidium
2012-02-25(svn r23987) -Fix (r23000): Also reset the font glyph cache when switching ↵frosch
blitters.
2011-11-20(svn r23275) -Codechange: allow loading of the monospace (freetype) font at ↵rubidium
another moment than the other fonts
2011-11-20(svn r23274) -Add: internal support for a monospaced sprite fontrubidium
2011-11-20(svn r23271) -Codechange: don't repeatedly initialise and free the freetype ↵rubidium
library
2011-11-19(svn r23265) -Codechange: replace the setfallbackfont callback function with ↵rubidium
a class to call back
2011-10-07(svn r23009) -Change: Improve appearance of antialiased text with shadow.peter1138
2010-11-23(svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly ↵glx
checked for missing glyphs on language change
2010-08-02(svn r20296) -Fix: Fallback font selection due to missing glyphs did not ↵alberth
work as intended.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-10-17(svn r17794) -Feature: [OSX] Implement automatic fallback font selection for ↵michi_cc
OSX.
2009-10-04(svn r17696) -Fix (r17693): compile failure when compiling without freetyperubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-03-25(svn r15849) -Codechange: provide easy access to the real height of the used ↵rubidium
fonts
2008-11-24(svn r14618) -Feature: when the chosen language isn't supported by the ↵rubidium
current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-06-15(svn r10166) -Feature(tte): Add support for antialiased typefaces via ↵peter1138
FreeType. This is configurable for each font size in the configuration settings and requires using the 32bpp blitter and suitable fonts.
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.