1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-24 07:02:30 +01:00

some documentation updates

This commit is contained in:
kojima
2004-10-18 01:37:17 +00:00
parent 27b9e27ae0
commit 1e3a40370d
6 changed files with 60 additions and 70 deletions

54
INSTALL
View File

@@ -80,7 +80,10 @@ The following is required to build Window Maker:
If you have a different version, disable them by temporarily
renaming them to something else or uninstalling them from your
system. If you don't develop software you don't need them,
so you can safely uninstall.
so you can safely uninstall.
- Xft2 and its dependencies (such as freetype2 and fontconfig)
For the Antialiased text support.
OPTIONAL:
@@ -269,27 +272,6 @@ apply.
* make sure you have /usr/local/lib in /etc/ld.so.conf before running
ldconfig;
* if you have problems that mention an error message with --no-reexec
uninstall libtool-1.2b and install libtool-1.3 instead. libtool-1.3
can be found in ftp.gnu.org Also read the TROUBLESHOOTING section;
* if you installed the Window Maker package from RedHat and are
installing a new version of it by hand (compiling yourself), uninstall
the package from RedHat before.
* make sure you have a symbolic link from /usr/include/X11 to
/usr/X11R6/include/X11 (if not, type ln -s /usr/X11R6/include/X11
/usr/include/X11 )
* make sure you have /lib/cpp pointing to the cpp program
If you have any doubts in doing any of the stuff above, please
don't hesitate to contact the RedHat user support. They will
kindly answer to all your questions regarding their system.
They also know much more about their own system than us
(we don't use RedHat).
- PowerPC MkLinux
You will need to have the latest version of Xpmac. Older versions
seem to have bugs that cause the system to hang.
@@ -558,31 +540,3 @@ menu.pt
menu
5 - If you chose a language that uses multi-byte characters, you must
configure the fonts appropriately. Read the manual page for XCreateFontSet
to have more details about it. You must change the ~/G/D/WindowMaker file
for fonts used in titlebars, menus and other things. For fonts used in
dialog windows, change ~/G/D/WMGLOBAL. The %d in the font names must not be
removed. You can also use the supplied wsetfont script for the task.
Read the script itself for instructions.
For example, you can specify the following in ~/G/D/WindowMaker:
WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*,-*-*-medium-r-normal-*-14-*";
MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*,-*-*-medium-r-normal-*-14-*";
MenuTextFont = "-*-helvetica-medium-r-normal-*-12-*,-*-*-medium-r-normal-*-14-*";
IconTitleFont = "-*-helvetica-medium-r-normal-*-8-*,-*-*-medium-r-normal-*-12-*";
ClipTitleFont = "-*-helvetica-bold-r-normal-*-10-*,-*-*-medium-r-normal-*-12-*";
DisplayFont = "-*-helvetica-medium-r-normal-*-12-*,-*-*-medium-r-normal-*-12-*";
and in ~/G/D/WMGLOBAL:
SystemFont = "-*-*-medium-r-normal-*-%d-*-*-*-*-*-*-*";
BoldSystemFont = "-*-*-medium-r-normal-*-%d-*-*-*-*-*-*-*";
The above 2 fonts are only used by applications that use WINGs (WindowMaker
and WPrefs.app)
The wsetfont script that's supplied will allow you to change the font
settings in a easier way. Take a look in the script for details on usage.

51
NEWS
View File

@@ -2,18 +2,32 @@
NEWS for veteran Window Maker users
-----------------------------------
--- 0.81.0
--- 0.90.0
NetWM / EWMH Support
--------------------
Support for the EWMH standard has been added. Applications from GNOME 2.x and
KDE 3.x should now interoperate better with Window Maker.
Support for the obsolete/legacy GNOME 1.x, KDE 1.x and OpenLook(!) hints was
wiped out for the sake of sanity.
Antialiased font support
------------------------
With the addition of support for antialiased fonts in the WINGs library, now
Window Maker can also support antialiased fonts.
With the addition of Xft2 support in the WINGs library, now
Window Maker can display antialiased text with TrueType or any scalable fonts.
Antialiased text can be enabled either by adding AntialiasedText = Yes;
in ~/GNUstep/Defaults/WindowMaker or by launching WPrefs and checking the
"Smooth font edges" in the Expert User Preferences panel.
You can pick fonts for Window Maker in the Font configuration section of
WPrefs.
Antialiased text is enabled by default, but can be disabled by adding
AntialiasedText = NO; in ~/GNUstep/Defaults/WMGLOBAL
Note that bitmapped fonts look much better than TrueType when antialiasing is
disabled.
Global Submenus
---------------
@@ -38,6 +52,31 @@ or, in case you want a submenu:
("Blabla", EXEC, blabla)))
UTF-8 Support
-------------
Window Maker now uses UTF-8 internally (and thus can display UTF-8 text
in window titles and other places). Menus and po files must now be
encoded in UTF-8. If your menus contain non ASCII characters, you can convert
them to UTF-8 with the following command:
iconv -f <current-file-encoding> -t utf-8 <filename> > <filename>.utf8
For example:
iconv -f iso-8859-1 -t utf-8 menu > menu.utf
mv menu.utf menu
Icon Panel for Alt-Tabbing
--------------------------
A panel with icons for the windows that you can switch to will appear
when you press Alt-Tab. You can navigate through the windows with Alt-Tab
(Alt-Shift-Tab) or with the left/right keys once the panel is shown.
--- 0.80.0
Shading/Unshading windows using mouse wheel on their titlebar

3
TODO
View File

@@ -12,9 +12,6 @@ To do before next release:
1. make AntialiasedText in WMGLOBAL work
2. make wmaker read old xlfd, but warn about them so people use convert
(I think it reads them, but the warning needs to be added)
3. Set the default font
4. Change all xlfd fonts we still use hardcoded in wmaker/wprefs
5. Update NEWS/Changelog (remove old info that only applies to xft1)
=====================================================================

View File

@@ -61,8 +61,8 @@ extern Panel *InitAppearance(WMScreen *scr, WMWidget *parent);
#define ICON_TITLE_FONT "-adobe-helvetica-bold-r-*-*-10-*"
#define ICON_TITLE_VFONT "-adobe-helvetica-bold-r-*-*-10-[]-*"
#define ICON_TITLE_FONT "sans:pixelsize=9"
#define ICON_TITLE_VFONT "sans:pixelsize=9:weight=100"
#define MAX_SECTIONS 16

View File

@@ -1,6 +1,6 @@
{
SystemFont = "sans:slant=0:weight=100";
BoldSystemFont = "sans:slant=0:weight=200";
SystemFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=100";
BoldSystemFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=200";
DefaultFontSize = 12;
AntialiasedText = No;
MultiByteText = AUTO;

View File

@@ -105,13 +105,13 @@
ConstrainWindowSize = NO;
ClipRaiseLowerKey = None;
TitleJustify = center;
WindowTitleFont = "sans:slant=0:weight=200:pixelsize=12";
MenuTitleFont = "sans:slant=0:weight=200:pixelsize=12";
MenuTextFont = "sans:slant=0:weight=100:pixelsize=12";
IconTitleFont = "sans:slant=0:weight=100:pixelsize=8";
ClipTitleFont = "sans:slant=0:weight=200:pixelsize=10";
DisplayFont = "sans:slant=0:weight=100:pixelsize=10";
LargeDisplayFont = "sans:slant=0:weight=200:pixelsize=24";
WindowTitleFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=200:pixelsize=12";
MenuTitleFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=200:pixelsize=12";
MenuTextFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=100:pixelsize=12";
IconTitleFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=100:pixelsize=8";
ClipTitleFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=200:pixelsize=10";
DisplayFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=100:pixelsize=10";
LargeDisplayFont = "Trebuchet MS,Luxi Sans,sans:slant=0:weight=200:pixelsize=24";
HighlightColor = white;
HighlightTextColor = black;
ClipTitleColor = black;