[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 有關 WindowManagers 顯示中文問題



From: Anthony Fok <foka@ualberta.ca>
Subject: Re: 有關 WindowManagers 顯示中文問題
Date: Sun, 28 May 2000 10:06:18 -0600
Message-ID: <20000528100617.C3052@lovelife.olvc.ab.ca>

foka> On Fri, May 26, 2000 at 07:18:17PM +0800, Andrew Lee wrote:
foka> > On Fri, 26 May 2000, Kam Tik wrote:
foka> > > 請問要使 Window Managers (WindowMaker, Enlightenment, etc) 能夠顯示中文
foka> > > 應該用甚麼方法?(e.g. Menu, Title bar, etc) (不會再用 CXWin 吧...) 是否只
foka> > > 有用 CV Wrapper?
foka> > 現在很多 Window Managers 都有支援 i18n 了,所以我猜在 debian 上
foka> > 使用 WindowMaker-i18n 應該就不需要 cv 就可以直接顯示中文了吧 :-)
foka> 
foka>   對,應該可以。我多個月前試過一下,可惜失敗了。不知 Debian 目前的
foka> Window Maker 套件是否符合 i18n。麻煩大家使用 Debian 的朋友測試了。
foka> ^_^  (也是時候繼續向 CLE 取經。 ^_^)
foka> 
foka> 					東東
foka> 
foka> -- 

Hi:
	關於 WindowMaker 我有一點經驗, 目前可以在所有的 WINGs widget 正常顯示中文。
其實要改的地方不多:

1. 把該 Package 的 source 捉回來。
2. 在 debian/rules 這個 file 裡的 LINGUAS 作如下的更改

< LINGUAS           := $(patsubst po/%.po, %, $(wildcard po/??.po))
---
> LINGUAS           := $(patsubst po/%.po, %, $(wildcard po/*.po))

3. 重新編 deb package, and install
4. 記得在 $HOME/GNUstep/Defaults/WMGLOBAL 和 $HOME/GNUstep/Defaults/WindowMaker 作一些修改,請見附件:
{
  MultiByteText = YES;
  ClipTitleColor = white;
  CClipTitleColor = gray40;
  IconTitleBack = black;
  FTitleBack = (dgradient, "rgb:21/00/05", "rgb:90/00/30");
  UTitleBack = (dgradient, "rgb:90/90/90", "rgb:c0/c0/c0");
  ResizebarBack = (dgradient, "rgb:90/90/90", "rgb:c0/c0/c0");
  MenuTitleBack = (dgradient, "rgb:90/00/30", "rgb:21/00/05");
  MenuTextBack = (dgradient, "rgb:b0/b0/b0", "rgb:60/60/60");
  IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61");
  FTitleColor = "#ffffff";
  UTitleColor = "#333333";
  PTitleColor = "#ffffff";
  MenuTitleColor = "#ffffff";
  MenuTextColor = "#000000";
  MenuDisabledColor = "#666666";
  HighlightColor = "#ffffff";
  HighlightTextColor = "#000000";
  TitleJustify = center;
  SaveSessionOnExit = YES;
  DisableBlinking = NO;
  CloseKey = "Mod1+F4";
  MaximizeKey = "Mod1+z";
  ShadeKey = "Mod1+s";
  MoveResizeKey = None;
  WindowShortcut1Key = None;
  WindowShortcut2Key = None;
  WindowShortcut3Key = None;
  WindowShortcut4Key = None;
  WindowShortcut5Key = None;
  WindowShortcut6Key = None;
  WindowShortcut7Key = None;
  WindowShortcut8Key = None;
  WindowShortcut9Key = None;
  WindowShortcut10Key = None;
  ToggleKbdModeKey = None;
  WindowTitleFont = "-*-charter-medium-r-normal-*-12-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-medium-r-normal-*-14-*-*-*-*-*-big5-0";
  MenuTitleFont = "-*-charter-medium-r-normal-*-12-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-medium-r-normal-*-14-*-*-*-*-*-big5-0";
  MenuTextFont = "-*-charter-medium-r-normal-*-12-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-medium-r-normal-*-14-*-*-*-*-*-big5-0";
  IconTitleFont = "-*-charter-medium-r-normal-*-8-*-*-*-*-*-iso8869-1, -arphic-ar pl mingti2l big5-medium-r-normal-*-10-*-*-*-*-*-big5-0";
  ClipTitleFont = "-*-charter-medium-r-normal-*-10-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-medium-r-normal-*-12-*-*-*-*-*-big5-0";
  DisplayFont = "-*-charter-medium-r-normal-*-12-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-medium-r-normal-*-14-*-*-*-*-*-big5-0";
  LargeDisplayFont = "-*-charter-medium-r-normal-*-24-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-medium-r-normal-*-26-*-*-*-*-*-big5-0";
  NoWindowOverDock = NO;
  Attraction = NO;
  IconificationStyle = twist;
  CirculateRaise = YES;
  KbdModeLock = YES;
  MiniwindowTitleBalloons = YES;
  AppIconBalloons = YES;
  HelpBalloons = YES;
  IconPath = (
    "~/GNUstep/Library/Icons",
    "/usr/share/WindowMaker/Icons",
    "/usr/share/icons",
    "/usr/X11R6/include/X11/pixmaps",
    "/usr/lib/GNUstep/Apps/WPrefs.app",
    "/usr/share/wmakerconf"
  );
  PixmapPath = (
    "~/GNUstep/Library/WindowMaker/Backgrounds",
    "~/GNUstep/Library/WindowMaker/Pixmaps",
    "/usr/share/WindowMaker/Backgrounds",
    "/usr/share/WindowMaker/Pixmaps",
    "/usr/share/pixmaps",
    "/usr/X11R6/include/X11/pixmaps"
  );
  IconSlideSpeed = ultrafast;
  ShadeSpeed = ultrafast;
  Superfluous = YES;
  SmoothWorkspaceBack = YES;
  DontLinkWorkspaces = NO;
  CycleWorkspaces = YES;
}
{
  MultiByteText = YES;
  DoubleClickTime = 250;
  SystemFont = "-*-charter-medium-r-normal-*-%d-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-medium-r-normal-*-%d-*-*-*-*-*-big5-0";
  BoldSystemFont = "-*-charter-bold-r-normal-*-%d-*-*-*-*-*-iso8859-*, -arphic-ar pl mingti2l big5-bold-r-normal-*-%d-*-*-*-*-*-big5-0";
}

Reply to: