[問題] problem in setting up chinese fonts

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

[問題] problem in setting up chinese fonts

文章訪客 » 週六 1月 04, 2003 5:15 pm

in dfontmgr..

truetype usr/share/fonts/truetype/dynalab/mingliu.ttc

Failed: abiword-common (1)

my hints file, /usr/share/fonts/truetype/dynalab/ttf-dynalab-mingliu.hints

代碼: 選擇全部

category truetype
begin /usr/share/fonts/truetype/dynalab/mingliu.ttc
  FaceNum = 2
  Family = MingLiU
  FontName = MingLiU-Regular
  Encoding = Unicode
  Location = Chinese-Taiwan English
  Charset = ISO10646-1 BIG5 ISO8859-1
  UniCharset = BIG5 ISO8859-1
  GeneralFamily = Ming
  Weight = Medium
  Width = Fixed
  Shape = Upright
  Alias = MingLiU
  Foundry = Dynalab
  Priority = 20
  X-Family = MingLiU
  TTCap = halfwidth-bw=0.5 italic-angle=0.167 no-roblique no-oblique no-ritalic
  Family1 = PMingLiU
  FontName1 = PMingLiU-Regular
  Encoding1 = Unicode
  Location1 = Chinese-Taiwan English
  Charset1 = ISO10646-1 BIG5 ISO8859-1
  UniCharset1 = BIG5 ISO8859-1
  GeneralFamily1 = Ming
  Weight1 = Medium
  Width1 = Fixed
  Shape1 = Upright
  Alias1 = PMingLiU
  Foundry1 = Dynalab
  Priority1 = 20
  X-Family1 = PMingLiU
  TTCap1 = halfwidth-bw=0.5 italic-angle=0.167 no-roblique  no-oblique no-ritalic
end



is it okay..?

others..
Failed: abiword-common (3)


# xlsfonts | grep big5

代碼: 選擇全部
-default-ming-bold-r-normal--32-320-72-72-m-320-big5-0
-default-ming-bold-r-normal--8-80-72-72-c-80-big5-0
-default-ming-bold-r-normal--8-80-72-72-m-80-big5-0
-default-ming-medium-i-normal--0-0-72-72-c-0-big5-0
-default-ming-medium-i-normal--0-0-72-72-m-0-big5-0
-default-ming-medium-i-normal--10-100-72-72-c-100-big5-0
-default-ming-medium-i-normal--10-100-72-72-m-100-big5-0
-default-ming-medium-i-normal--12-120-72-72-c-120-big5-0
-default-ming-medium-i-normal--12-120-72-72-m-120-big5-0
-default-ming-medium-i-normal--14-140-72-72-c-140-big5-0
-default-ming-medium-i-normal--14-140-72-72-m-140-big5-0
-default-ming-medium-i-normal--16-160-72-72-c-160-big5-0
-default-ming-medium-i-normal--16-160-72-72-m-160-big5-0
-default-ming-medium-i-normal--18-180-72-72-c-180-big5-0
-default-ming-medium-i-normal--18-180-72-72-m-180-big5-0
-default-ming-medium-i-normal--20-200-72-72-c-200-big5-0
-default-ming-medium-i-normal--20-200-72-72-m-200-big5-0
-default-ming-medium-i-normal--22-220-72-72-c-220-big5-0
-default-ming-medium-i-normal--22-220-72-72-m-220-big5-0
-default-ming-medium-i-normal--24-240-72-72-c-240-big5-0
-default-ming-medium-i-normal--24-240-72-72-m-240-big5-0
-default-ming-medium-i-normal--26-260-72-72-c-260-big5-0
-default-ming-medium-i-normal--26-260-72-72-m-260-big5-0
-default-ming-medium-i-normal--28-280-72-72-c-280-big5-0
-default-ming-medium-i-normal--28-280-72-72-m-280-big5-0
-default-ming-medium-i-normal--30-300-72-72-c-300-big5-0
-default-ming-medium-i-normal--30-300-72-72-m-300-big5-0
-default-ming-medium-i-normal--32-320-72-72-c-320-big5-0
-default-ming-medium-i-normal--32-320-72-72-m-320-big5-0
-default-ming-medium-i-normal--8-80-72-72-c-80-big5-0
-default-ming-medium-i-normal--8-80-72-72-m-80-big5-0
-default-ming-medium-r-normal--0-0-72-72-c-0-big5-0
-default-ming-medium-r-normal--0-0-72-72-m-0-big5-0
-default-ming-medium-r-normal--10-100-72-72-c-100-big5-0
-default-ming-medium-r-normal--10-100-72-72-m-100-big5-0
-default-ming-medium-r-normal--12-120-72-72-c-120-big5-0
-default-ming-medium-r-normal--12-120-72-72-m-120-big5-0
-default-ming-medium-r-normal--14-140-72-72-c-140-big5-0
-default-ming-medium-r-normal--14-140-72-72-m-140-big5-0
-default-ming-medium-r-normal--16-160-72-72-c-160-big5-0
-default-ming-medium-r-normal--16-160-72-72-m-160-big5-0
-default-ming-medium-r-normal--18-180-72-72-c-180-big5-0
-default-ming-medium-r-normal--18-180-72-72-m-180-big5-0
-default-ming-medium-r-normal--20-200-72-72-c-200-big5-0
-default-ming-medium-r-normal--20-200-72-72-m-200-big5-0
-default-ming-medium-r-normal--22-220-72-72-c-220-big5-0
-default-ming-medium-r-normal--22-220-72-72-m-220-big5-0
-default-ming-medium-r-normal--24-240-72-72-c-240-big5-0
-default-ming-medium-r-normal--24-240-72-72-m-240-big5-0
-default-ming-medium-r-normal--26-260-72-72-c-260-big5-0
-default-ming-medium-r-normal--26-260-72-72-m-260-big5-0
-default-ming-medium-r-normal--28-280-72-72-c-280-big5-0
-default-ming-medium-r-normal--28-280-72-72-m-280-big5-0
-default-ming-medium-r-normal--30-300-72-72-c-300-big5-0
-default-ming-medium-r-normal--30-300-72-72-m-300-big5-0
-default-ming-medium-r-normal--32-320-72-72-c-320-big5-0
-default-ming-medium-r-normal--32-320-72-72-m-320-big5-0
-default-ming-medium-r-normal--8-80-72-72-c-80-big5-0
-default-ming-medium-r-normal--8-80-72-72-m-80-big5-0
-dynalab-mingliu-bold-i-normal--0-0-0-0-c-0-big5-0
-dynalab-mingliu-bold-i-normal--0-0-0-0-m-0-big5-0
-dynalab-mingliu-bold-r-normal--0-0-0-0-c-0-big5-0
-dynalab-mingliu-bold-r-normal--0-0-0-0-m-0-big5-0
-dynalab-mingliu-medium-i-normal--0-0-0-0-c-0-big5-0
-dynalab-mingliu-medium-i-normal--0-0-0-0-m-0-big5-0
-dynalab-mingliu-medium-r-normal--0-0-0-0-c-0-big5-0
-dynalab-mingliu-medium-r-normal--0-0-0-0-m-0-big5-0
-dynalab-pmingliu-bold-i-normal--0-0-0-0-c-0-big5-0
-dynalab-pmingliu-bold-i-normal--0-0-0-0-m-0-big5-0
-dynalab-pmingliu-bold-r-normal--0-0-0-0-c-0-big5-0
-dynalab-pmingliu-bold-r-normal--0-0-0-0-m-0-big5-0
-dynalab-pmingliu-medium-i-normal--0-0-0-0-c-0-big5-0
-dynalab-pmingliu-medium-i-normal--0-0-0-0-m-0-big5-0
-dynalab-pmingliu-medium-r-normal--0-0-0-0-c-0-big5-0
-dynalab-pmingliu-medium-r-normal--0-0-0-0-m-0-big5-0
-eten-fixed-medium-r-normal--0-0-75-75-c-0-big5.eten-0
-eten-fixed-medium-r-normal--16-150-75-75-c-160-big5-0
-eten-fixed-medium-r-normal--16-150-75-75-c-160-big5.eten-0
-eten-fixed-medium-r-normal--24-230-75-75-c-240-big5-0
-eten-fixed-medium-r-normal--24-230-75-75-c-240-big5.eten-0

[/b]
訪客
 

re:[問題] problem in setting up chinese fonts

文章阿信 » 週六 1月 04, 2003 6:41 pm

看不出有甚麼問題呢...:?
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題] problem in setting up chinese fonts

文章訪客 » 週日 1月 05, 2003 12:46 pm

那樣會有什麼影響嗎?
這樣叫設定成功嗎...@@..?
訪客
 

re:[問題] problem in setting up chinese fonts

文章阿信 » 週日 1月 05, 2003 12:54 pm

mingliu 和 pmingliu已經安裝好了。

所以只要將x-win manager改一下字型就可以摟。
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題] problem in setting up chinese fonts

文章訪客 » 週日 1月 05, 2003 2:50 pm

can't see chinese..

$HOME/GNUstep/Defaults/WindowMaker
代碼: 選擇全部
{
  AdvanceToNewWorkspace = YES;
  HighlightColor = "#366ac1";
  CycleWorkspaces = YES;
  MenuTextFont = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,-*-ming-medium-r-normal--14-*-*-*-*-*-big5-0";
  MenuTitleExtendSpace = "-1";
  UTitleBack = (
    spixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/Aquatb2.jpg",
    "#86a4a6"
  );
  MoveResizeKey = None;
  MouseMiddleButtonAction = OpenWindowListMenu;
  NormalCursor = (builtin, left_ptr);
  PixmapPath = (
    "~/pixmaps",
    "~/GNUstep/Library/WindowMaker/Backgrounds",
    "~/GNUstep/Library/WindowMaker/Pixmaps",
    "/usr/local/share/WindowMaker/Backgrounds",
    "/usr/local/share/WindowMaker/Pixmaps",
    "/usr/share/WindowMaker/Backgrounds",
    "/usr/share/WindowMaker/Pixmaps",
    "/usr/local/share/pixmaps",
    "/usr/share/pixmaps",
    "/usr/X11R6/include/X11/pixmaps",
    "/home/anonz/GNUstep/Library/WindowMaker/Themes"
  );
  PTitleBack = (
    spixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/Aquatb1.jpg",
    "#777777"
  );
  WindowShortcut10Key = None;
  MiniwindowTitleBalloons = NO;
  NoWindowOverDock = NO;
   WindowTitleFont = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,-*-ming-medium-r-normal--14-*-*-*-*-*-big5-0";
   ClipTitleFont = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,-*-ming-medium-r-normal--14-*-*-*-*-*-big5-0";
  MenuDisabledColor = "#b2b2b2";
  MenuTextBack = (
    tpixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/AquaMenu1.jpg",
    "#555555"
  );
  MenuStyle = flat;
  DisplayFont = "-default-*-medium-r-normal--12-120-72-72-c-120-big5-0,-adobe-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1";
  MenuTitleBack = (
    spixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/Aquatb2.jpg",
    "#333333"
  );
  IconBack = (
    cpixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/dock.png",
    black
  );
  IconificationStyle = flip;
  WindowShortcut1Key = None;
  FTitleBack = (
    spixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/Aquatb1.jpg",
    "#2e2e2e"
  );
  MouseRightButtonAction = OpenApplicationsMenu;
  WindowShortcut2Key = None;
  WindowTitleExtendSpace = "-1";
  WindowShortcut3Key = None;
  ToggleKbdModeKey = None;
  WindowShortcut4Key = None;
  ResizebarBack = (
    spixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/Aquatb1.jpg",
    "#999999"
  );
  MenuTextColor = "#131313";
  WindowShortcut5Key = None;
  HighlightTextColor = "#f5f5f5";
  AutoArrangeIcons = YES;
  MenuTitleFont = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*, -*-ming-medium-r-normal--14-*-*-*-*-*-big5-0";
  WindowShortcut6Key = None;
  MenuTitleColor = "#232323";
  WorkspaceNameDisplayPosition = topright;
  LargeDisplayFont = "-adobe-helvetica-bold-r-normal-*-*-240-*-*-p-*-iso8859-1";
  MenuTextExtendSpace = "-1";
  WindowShortcut7Key = None;
  AppIconBalloons = NO;
  FTitleColor = "#252525";
  MouseLeftButtonAction = SelectWindows;
  WorkspaceBorderSize = 0;
  WorkspaceBack = (
    spixmap,
    "/home/anonz/GNUstep/Library/WindowMaker/Themes/Moto_Aqua.themed/AquaTuxClouds.png",
    "#000000"
  );
  HideOthersKey = None;
  IconTitleFont = "-adobe-helvetica-medium-r-normal--11-*-*-*-*-*-iso8859-*, -*-ming-medium-r-normal--11-*-*-*-*-*-big5-0";
  IconPath = (
    "~/pixmaps",
    "~/GNUstep/Library/Icons",
    "/usr/local/share/WindowMaker/Icons",
    "/usr/share/WindowMaker/Icons",
    "/usr/local/share/icons",
    "/usr/share/icons",
    "/usr/X11R6/include/X11/pixmaps",
    "/home/anonz/GNUstep/Library/Icons"
  );
  UTitleColor = "#5d5d5d";
  PTitleColor = "#e5e5e5";
  WorkspaceBorder = None;
  Attraction = NO;
  DontLinkWorkspaces = NO;
  WindowTitleBalloons = NO;
  HelpBalloons = NO;
  WindowPlaceOrigin = (129, 160);
  CirculateRaise = NO;
  TitleJustify = right;
  DisableMiniwindows = YES;
  WindowShortcut8Key = None;
  CClipTitleColor = "#555555";
  ScreenSwitchKey = None;
  WindowShortcut9Key = None;
  ClipTitleColor = "#777777";
  IconPosition = tlv;
  IconTitleBack = "#111111";
  IconTitleColor = "#999999";
  HMaximizeKey = None;
  MouseWheelAction = None;
  DisableBlinking = NO;
}

訪客
 

re:[問題] problem in setting up chinese fonts

文章訪客 » 週日 1月 05, 2003 2:52 pm

# locale

代碼: 選擇全部
    LANG=zh_TW.Big5
    LC_CTYPE="zh_TW.Big5"
    LC_NUMERIC="zh_TW.Big5"
    LC_TIME="zh_TW.Big5"
    LC_COLLATE="zh_TW.Big5"
    LC_MONETARY="zh_TW.Big5"
    LC_MESSAGES="zh_TW.Big5"
    LC_PAPER="zh_TW.Big5"
    LC_NAME="zh_TW.Big5"
    LC_ADDRESS="zh_TW.Big5"
    LC_TELEPHONE="zh_TW.Big5"
    LC_MEASUREMENT="zh_TW.Big5"
    LC_IDENTIFICATION="zh_TW.Big5"
    LC_ALL=zh_TW.Big5
訪客
 

re:[問題] problem in setting up chinese fonts

文章阿信 » 週日 1月 05, 2003 3:51 pm

耶...奇怪了,系統是用文鼎的字型,卻看不到。

小弟記得windowmaker還要設定一個WMGLOBAL的檔案,裡面要加入multibyte的敘述,

耶...有點忘記,因為我都是用IceWM的,請版上使用window maker來解答一下。
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題] problem in setting up chinese fonts

文章訪客 » 週日 1月 05, 2003 4:15 pm

奇怪..
WMGLOBAL這個檔小弟也設定好了....
訪客
 

re:[問題] problem in setting up chinese fonts

文章阿信 » 週日 1月 05, 2003 4:34 pm

那打locale -a有zh_TW.Big5嗎?

小弟認為是系統的locale沒有zh_TW.Big5的關係。
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題] problem in setting up chinese fonts

文章訪客 » 週日 1月 05, 2003 6:27 pm

oh..u r right..
but how to add zh_TW.Big5 to system locale?
訪客
 

re:[問題] problem in setting up chinese fonts

文章訪客 » 週日 1月 05, 2003 6:31 pm

is zh_TW.Big5 = zh_TW?

# locale -a
代碼: 選擇全部
japanese.euc
japanese.sjis
ko_KR
korean
korean.euc
lithuanian
nb_NO
nb_NO.ISO-8859-1
norwegian
nynorsk
polish
portuguese
POSIX
romanian
russian
slovak
slovene
slovenian
spanish
swedish
thai
turkish
zh_TW

訪客
 

re:[問題] problem in setting up chinese fonts

文章阿信 » 週日 1月 05, 2003 6:33 pm

2 methods

1: add the zh_TW.Big5 string to the file /etc/locale.gen
then execute locale.gen

2: just excute the command below

dpkg-reconfigure locales
then just follow the debconf tool window and add zh_TW.Big5
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題] problem in setting up chinese fonts

文章阿信 » 週日 1月 05, 2003 6:37 pm

Anonymous 寫:is zh_TW.Big5 = zh_TW?

# locale -a
代碼: 選擇全部
japanese.euc
japanese.sjis
ko_KR
korean
korean.euc
lithuanian
nb_NO
nb_NO.ISO-8859-1
norwegian
nynorsk
polish
portuguese
POSIX
romanian
russian
slovak
slovene
slovenian
spanish
swedish
thai
turkish
zh_TW



actually... in glibc-2.2.x

zh_TW = zh_TW.Big5 zh_TW.big5 = zh_TW.xxxx

so you may export the LC_ALL=zh_TW to be your locale setting.

However...Some ap may be error. So in best case, just set the zh_TW.Big5 is a best way...
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題] problem in setting up chinese fonts

文章訪客 » 週日 1月 05, 2003 7:49 pm

weird..
still..can't see chinese...argh..
訪客
 

re:[問題] problem in setting up chinese fonts

文章訪客 » 週三 2月 26, 2003 5:15 am

注意大小寫試試看

zh_TW.BIG5
訪客
 

下一頁

回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客