mirror of https://github.com/buggins/dlangui.git
disable subpixel antialiasing
This commit is contained in:
parent
afae967515
commit
4920646aa8
|
|
@ -244,10 +244,10 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
FontManager.minAnitialiasedFontSize = 0; // 0 means always antialiased
|
FontManager.minAnitialiasedFontSize = 0; // 0 means always antialiased
|
||||||
//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; //
|
||||||
//} else {
|
//} else {
|
||||||
// you can turn on subpixel font rendering (ClearType) here
|
// you can turn on subpixel font rendering (ClearType) here
|
||||||
FontManager.subpixelRenderingMode = SubpixelRenderingMode.BGR; //SubpixelRenderingMode.None; //
|
//FontManager.subpixelRenderingMode = SubpixelRenderingMode.BGR; //SubpixelRenderingMode.None; //
|
||||||
//}
|
//}
|
||||||
|
|
||||||
// create window
|
// create window
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue