mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
- If fonts are specified as xlfd, convert to fc names before creating them.
This was we internally only deal with fc names and properties. It will incur a small performance hit as the font needs to be parsed/unparsed, but this is only for backward-compatibility to support old xlfd names. People are encouraged to swtich to fontconfig names. - WINGs no longer adds sans as a fallback for internal fonts. It is automatically done by fontconfig (if it can't find the requested font it will use the closest match which is the default font: sans-serif) - Added code to honor the AntialiasesText global option - Fixed style names for WMCopyFontWithStyle() - Added fonts in style files where they were missing. Also changed some fonts to better defaults.
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
SystemFont = "Trebuchet MS,Luxi Sans";
|
||||
BoldSystemFont = "Trebuchet MS,Luxi Sans:bold";
|
||||
DefaultFontSize = 12;
|
||||
AntialiasedText = No;
|
||||
MultiByteText = AUTO;
|
||||
AntialiasedText = Yes;
|
||||
FloppyPath = "/floppy";
|
||||
DoubleClickTime = 250;
|
||||
MouseWheelUp = Button4;
|
||||
|
||||
@@ -108,10 +108,10 @@
|
||||
WindowTitleFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=12";
|
||||
MenuTitleFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=12";
|
||||
MenuTextFont = "Trebuchet MS,Luxi Sans:pixelsize=12";
|
||||
IconTitleFont = "Trebuchet MS,Luxi Sans:pixelsize=8";
|
||||
ClipTitleFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=10";
|
||||
DisplayFont = "Trebuchet MS,Luxi Sans:pixelsize=10";
|
||||
LargeDisplayFont = "Trebuchet MS,Luxi Sans:bold:pixelsize=24";
|
||||
IconTitleFont = "Arial,Luxi Sans:pixelsize=9";
|
||||
ClipTitleFont = "Verdana:bold:pixelsize=10";
|
||||
DisplayFont = "Trebuchet MS,Luxi Sans:pixelsize=12";
|
||||
LargeDisplayFont = "Trebuchet MS,Luxi Sans:pixelsize=24";
|
||||
HighlightColor = white;
|
||||
HighlightTextColor = black;
|
||||
ClipTitleColor = black;
|
||||
|
||||
Reference in New Issue
Block a user