mirror of https://github.com/buggins/dlangide.git
font rendering setting - AutoHint, gamma=0.8
This commit is contained in:
parent
6f6fe65b31
commit
42fb5cab8e
|
@ -28,6 +28,8 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
version (USE_OPENGL) {
|
version (USE_OPENGL) {
|
||||||
// you can turn on subpixel font rendering (ClearType) here
|
// you can turn on subpixel font rendering (ClearType) here
|
||||||
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //
|
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //
|
||||||
|
FontManager.fontGamma = 0.8;
|
||||||
|
FontManager.hintingMode = HintingMode.AutoHint;
|
||||||
} else {
|
} else {
|
||||||
version (USE_FREETYPE) {
|
version (USE_FREETYPE) {
|
||||||
// you can turn on subpixel font rendering (ClearType) here
|
// you can turn on subpixel font rendering (ClearType) here
|
||||||
|
|
Loading…
Reference in New Issue