mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
- Added double buffering when drawing a WMFrame title with an AA font to avoid
flickering. - Added double buffering when drawing WMList items to avoid flickering - Shared xft drawable - Renamed AASystemFont and AABoldSystemFont to AntialiasedSystemFont respectively AntialiasedBoldSystemFont in WMGLOBAL - WMCreateFont falls back to normal fonts if antialiased fonts cannot be created (even if enabled)
This commit is contained in:
@@ -65,11 +65,11 @@ W_ReadConfigurations(void)
|
||||
WINGsConfiguration.boldSystemFont =
|
||||
WMGetUDStringForKey(defaults, "BoldSystemFont");
|
||||
|
||||
WINGsConfiguration.aaSystemFont =
|
||||
WMGetUDStringForKey(defaults, "AASystemFont");
|
||||
WINGsConfiguration.antialiasedSystemFont =
|
||||
WMGetUDStringForKey(defaults, "AntialiasedSystemFont");
|
||||
|
||||
WINGsConfiguration.aaBoldSystemFont =
|
||||
WMGetUDStringForKey(defaults, "AABoldSystemFont");
|
||||
WINGsConfiguration.antialiasedBoldSystemFont =
|
||||
WMGetUDStringForKey(defaults, "AntialiasedBoldSystemFont");
|
||||
|
||||
#ifdef XFT
|
||||
WINGsConfiguration.antialiasedText =
|
||||
@@ -139,11 +139,11 @@ W_ReadConfigurations(void)
|
||||
if (!WINGsConfiguration.boldSystemFont) {
|
||||
WINGsConfiguration.boldSystemFont = BOLD_SYSTEM_FONT;
|
||||
}
|
||||
if (!WINGsConfiguration.aaSystemFont) {
|
||||
WINGsConfiguration.aaSystemFont = AASYSTEM_FONT;
|
||||
if (!WINGsConfiguration.antialiasedSystemFont) {
|
||||
WINGsConfiguration.antialiasedSystemFont = AASYSTEM_FONT;
|
||||
}
|
||||
if (!WINGsConfiguration.aaBoldSystemFont) {
|
||||
WINGsConfiguration.aaBoldSystemFont = AABOLD_SYSTEM_FONT;
|
||||
if (!WINGsConfiguration.antialiasedBoldSystemFont) {
|
||||
WINGsConfiguration.antialiasedBoldSystemFont = AABOLD_SYSTEM_FONT;
|
||||
}
|
||||
if (!WINGsConfiguration.floppyPath) {
|
||||
WINGsConfiguration.floppyPath = FLOPPY_PATH;
|
||||
|
||||
Reference in New Issue
Block a user