summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
AgeCommit message (Collapse)Author
2018-06-17Fix: Scale default FreeType font size selection by UI zoom level.Michael Lutz
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.
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-07-11(svn r27888) -Fix: Member access coding style (adf88)frosch
2017-04-23(svn r27859) -Revert (r27858): Committed too much :(peter1138
2017-04-23(svn r27858) -Change [FS#6560]: Add missing game script event for ships ↵peter1138
arriving at a station. (juanjo)
2015-03-15(svn r27187) -Fix: Code style.frosch
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-12-11(svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3)planetmaker
2014-10-15(svn r27020) -Cleanup: some coding style consistency improvements (mostly ↵rubidium
spaces)
2014-10-14(svn r27015) -Codechange: Also scale the character spacing for fonts without ↵peter1138
shadow.
2014-10-12(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.peter1138
2014-10-12(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some ↵rubidium
comments
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-03(svn r26389) -Fix [FS#5885]: Select a specific font size when freetype fails ↵fonsinchen
to select one automatically.
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
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-10-06(svn r25822) -Fix [FS#5704]: Searching for a suitable font failed, if one of ↵frosch
the fonts had no '?' glyph, and no baseset is installed.
2013-07-06(svn r25569) -Codechange: Cache all Font instances in a static container.frosch
2013-06-29(svn r25511) -Fix-ish: add the same printable key assert to the sprite font ↵rubidium
cache as the freetype font cache
2013-06-28(svn r25501) -Fix: compilation error on OS Xrubidium
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 r25451) -Fix (r25445): Ini configuration for medium font was ↵frosch
overwritten by front configuration of other sizes.
2013-06-23(svn r25446) -Codechange: call sprite fontcache code from freetype font ↵rubidium
cache in case a sprite must be shown
2013-06-23(svn r25445) -Codechange: simplify the font loadingrubidium
2013-06-23(svn r25444) -Codechange: move sprite font code together with the other ↵rubidium
sprite font code
2013-06-23(svn r25443) -Codechange: move the glyph to sprite cache into the ↵rubidium
FreeTypeFontCache instance
2013-06-23(svn r25442) -Codechange: move height and ascender information into the ↵rubidium
FontCache instances
2013-06-23(svn r25441) -Codechange: move the freetype font allocation into the ↵rubidium
FreeTypeFontCache
2013-06-23(svn r25439) -Codechange: move the glyph to sprite ID mapping into the ↵rubidium
SpriteFontCache
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
2013-04-06(svn r25157) -Feature: Determine the default font height for vector fonts ↵michi_cc
according to the minimum readable height that the font provides.
2013-04-06(svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to ↵michi_cc
SHGetFolderPath as it may not exist.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-01(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵alberth
various sources (including Eagle_rainbow, MinchinWeb)
2012-02-25(svn r23987) -Fix (r23000): Also reset the font glyph cache when switching ↵frosch
blitters.
2012-02-04(svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138)michi_cc
2011-12-18(svn r23592) -Fix (r23590): forgot one casetruebrain
2011-12-17(svn r23582) -Fix [FS#4870]: add missing characters for certain languages ↵rubidium
and the large font -Codechange: don't remove large font glyphs because they are broken in the original font, just fix them up in openttd.grf using action A -Change: make extra characters more consistent with the original font All by PaulC.
2011-12-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-11-30(svn r23381) -Fix (r23380): win9x compilationglx
2011-11-30(svn r23380) -Add: monospace font detection for win32 (also ignore duplicates)glx
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-24(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.peter1138