add font antialiasing and hinting settings to example1

This commit is contained in:
Vadim Lopatin 2015-01-19 10:12:42 +03:00
parent 269b1736d3
commit eef521432f
3 changed files with 4 additions and 1 deletions

View File

@ -186,7 +186,10 @@ extern (C) int UIAppMain(string[] args) {
// load theme from file "theme_default.xml"
Platform.instance.uiTheme = "theme_default";
//drawableCache.get("tx_fabric.tiled");
// you can override default hinting mode here
FontManager.instance.hintingMode = HintingMode.Normal;
// you can override antialiasing setting here
FontManager.instance.minAnitialiasedFontSize = 16;
// create window
Window window = Platform.instance.createWindow("My Window", null);

BIN
lib/libfreetype-6.dll Normal file

Binary file not shown.

BIN
lib/zlib1.dll Normal file

Binary file not shown.