GUI: use FreeType by default
This commit is contained in:
parent
758498255d
commit
7dfb7e916c
|
@ -1792,7 +1792,7 @@ class FurnaceGUI {
|
||||||
showPool(0),
|
showPool(0),
|
||||||
writeInsNames(1),
|
writeInsNames(1),
|
||||||
readInsNames(1),
|
readInsNames(1),
|
||||||
fontBackend(0),
|
fontBackend(1),
|
||||||
fontHinting(0),
|
fontHinting(0),
|
||||||
fontBitmap(0),
|
fontBitmap(0),
|
||||||
fontAutoHint(1),
|
fontAutoHint(1),
|
||||||
|
|
|
@ -43,6 +43,12 @@
|
||||||
#define POWER_SAVE_DEFAULT 0
|
#define POWER_SAVE_DEFAULT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_FREETYPE
|
||||||
|
#define FONT_BACKEND_DEFAULT 1
|
||||||
|
#else
|
||||||
|
#define FONT_BACKEND_DEFAULT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__HAIKU__) || defined(IS_MOBILE) || (defined(_WIN32) && !defined(_WIN64))
|
#if defined(__HAIKU__) || defined(IS_MOBILE) || (defined(_WIN32) && !defined(_WIN64))
|
||||||
// NFD doesn't support Haiku
|
// NFD doesn't support Haiku
|
||||||
// NFD doesn't support Windows XP either
|
// NFD doesn't support Windows XP either
|
||||||
|
@ -3717,7 +3723,7 @@ void FurnaceGUI::syncSettings() {
|
||||||
settings.writeInsNames=e->getConfInt("writeInsNames",1);
|
settings.writeInsNames=e->getConfInt("writeInsNames",1);
|
||||||
settings.readInsNames=e->getConfInt("readInsNames",1);
|
settings.readInsNames=e->getConfInt("readInsNames",1);
|
||||||
settings.defaultAuthorName=e->getConfString("defaultAuthorName","");
|
settings.defaultAuthorName=e->getConfString("defaultAuthorName","");
|
||||||
settings.fontBackend=e->getConfInt("fontBackend",0);
|
settings.fontBackend=e->getConfInt("fontBackend",FONT_BACKEND_DEFAULT);
|
||||||
settings.fontHinting=e->getConfInt("fontHinting",0);
|
settings.fontHinting=e->getConfInt("fontHinting",0);
|
||||||
settings.fontBitmap=e->getConfInt("fontBitmap",0);
|
settings.fontBitmap=e->getConfInt("fontBitmap",0);
|
||||||
settings.fontAutoHint=e->getConfInt("fontAutoHint",1);
|
settings.fontAutoHint=e->getConfInt("fontAutoHint",1);
|
||||||
|
|
Loading…
Reference in a new issue