[問題]mozilla的字型

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

[問題]mozilla的字型

文章zjason » 週五 10月 25, 2002 1:01 am

闗於mozilla的字型...
要怎麼弄才能讓mozilla抓到字型..讓我可以在Preference那裡選擇我裝上去的中文字型...
我應該是有裝好我的字型了....可是就是在mozilla那裡看不到.....
zjason
 

re:[問題]mozilla的字型

文章訪客 » 週六 10月 26, 2002 7:58 pm

哇....沒有人要理我喔.......
不要醬子啦..............救救我啦................

有人是用個 GUI 的 dfontmgr 管理字型的嗎....
訪客
 

re:[問題]mozilla的字型

文章octapult » 週六 10月 26, 2002 9:12 pm

我這邊的 mozilla 1.1 都是自動抓到 X 底下的字型設定,所以您問的問題,我也不知道該怎麼回答。

嗯,不如您先列出 xlsfonts | grep big5 的結果,看看是否所有的中文字型都有設定好。
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

re:[問題]mozilla的字型

文章訪客 » 週日 10月 27, 2002 12:11 am

Your information is not enough for us to diagnose.
I would like to see the following:

1. Debian version;

2. The contents in /etc/X11/XF86Config-4, especially in Section "Files" and Section "Module".

3. The result of
$ dpkg -l defoma
$ dpkg -l | grep "ttf-arphic"
訪客
 

re:[問題]mozilla的字型

文章訪客 » 週日 10月 27, 2002 2:42 am

debian version
I had update to the leaster version (unstable)

Section "Files"
# FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSectionth

FontPaSection "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "xtt"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
#Load "type1"
Load "vbe"
EndSection


---------------------------
the result of dpkg -l defoma

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii defoma 0.11.1 Debian Font Manager -- automatic font config

------------------------------------------
the result of dpkg -l |grep "ttf-arphic"

ii ttf-arphic-bka 2.10-6 "AR PL KaitiM Big5" Chinese TrueType font by
ii ttf-arphic-bsm 2.10-6 "AR PL Mingti2L Big5" Chinese TrueType font
ii ttf-arphic-gbs 2.11-6 "AR PL SungtiL GB" Chinese TrueType font by
ii ttf-arphic-gka 2.11-6 "AR PL KaitiM GB" Chinese TrueType font by A
訪客
 

re:[問題]mozilla的字型

文章訪客 » 週日 10月 27, 2002 4:16 am

Well, everything looks fine for me. I am also a newbie to Linux, I hope that I can help, but don't expect too much. 8-)

Would you please also show the result of
$ ls -l /etc/X11
$ ls -l /etc/X11/fs
$ ls -l /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType

and, if the file /etc/X11/fs/config exists, show the content of it, especially the line started with
catalogue = ...

And I also have two questions:

1. Why the line Load "type1" in XF86Config-4 is commented off? Did you do it manually?

2. How did you install Mozilla 1.1? Debian package? Compiled from source? Or some binary package (rpm, tar.gz)?

Sorry for so many questions. I really do not know what is the problem, I am just comparing your system and mine to see if there is any clue. And I think these information will be useful if some real expert is considering your problem anyway... 8-P
訪客
 

re:[問題]mozilla的字型

文章damon » 週日 10月 27, 2002 3:35 pm

cat /var/log/XFree86.log or something like this , and recheck if any error messages , if your XFree86 did not found these fonts , there should be some error messages like : remove font path or something like this
damon
活潑的高中生
活潑的高中生
 
文章: 358
註冊時間: 週二 9月 10, 2002 5:42 pm

re:[問題]mozilla的字型

文章zjason » 週一 10月 28, 2002 1:55 am

1. ls -l /etc/X11


drwxr-xr-x 2 root root 4096 2002-10-24 02:24 app-defaults
-rw-r--r-- 1 root root 17 2002-10-23 11:21 default-display-manager
drwxr-xr-x 7 root root 4096 2002-10-23 10:52 fonts
drwxr-xr-x 2 root root 4096 2002-10-28 09:30 fs
drwxr-xr-x 2 root root 4096 2002-10-23 11:20 lbxproxy
drwxr-xr-x 2 root root 4096 2002-10-23 11:20 proxymngr
-rw-r--r-- 1 root root 17371 2002-10-17 04:20 rgb.txt
drwxr-xr-x 4 root root 4096 2002-10-23 11:20 rstart
drwxr-xr-x 2 root root 4096 2002-10-27 07:27 twm
drwxr-xr-x 2 root root 4096 2002-10-27 07:27 WindowMaker
lrwxrwxrwx 1 root root 20 2002-10-23 11:21 X -> /usr/bin/X11/XFree86
drwxr-xr-x 3 root root 4096 2002-10-23 11:21 xdm
-rw-r--r-- 1 root root 2992 2002-10-25 09:51 XF86Config-4
-rw-r--r-- 1 root root 510 2002-10-17 04:14 XftConfig
drwxr-xr-x 2 root root 4096 2002-10-23 11:21 xinit
drwxr-xr-x 10 root root 4096 2002-10-23 10:53 xkb
drwxr-xr-x 2 root root 4096 2002-10-23 11:21 Xresources
drwxr-xr-x 2 root root 4096 2002-10-23 11:21 xserver
-rwxr-xr-x 1 root root 2456 2002-10-17 04:20 Xsession
drwxr-xr-x 2 root root 4096 2002-10-23 10:53 Xsession.d
-rw-r--r-- 1 root root 217 2002-10-17 04:20 Xsession.options
drwxr-xr-x 2 root root 4096 2002-10-23 11:21 xsm
-rw-r--r-- 1 root root 240 2002-10-23 11:21 Xwrapper.confi

2.ls -l /etc/X11/fs
-rw-r--r-- 1 root root 1031 2002-10-28 09:30 config
-rw-r--r-- 1 root root 146 2002-10-17 04:14 xfs.options

3. ls -l /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
i guess here is the problem....
lrwxrwxrwx 1 root root 45 2002-10-27 09:45 bkai00mp.ttf -> /usr /share/fonts/truetype/arphic/bkai00mp.ttf
lrwxrwxrwx 1 root root 45 2002-10-27 09:45 bsmi00lp.ttf -> /usr /share/fonts/truetype/arphic/bsmi00lp.ttf
-rw-r--r-- 1 root root 3141 2002-10-27 09:45 encodings.dir
-rw-r--r-- 1 root root 101024 2002-10-27 09:45 fonts.alias
-rw-r--r-- 1 root root 36696 2002-10-27 09:45 fonts.dir
-rw-r--r-- 1 root root 36696 2002-10-27 09:45 fonts.scale
lrwxrwxrwx 1 root root 45 2002-10-27 09:45 gbsn00lp.ttf -> /usr /share/fonts/truetype/arphic/gbsn00lp.ttf
lrwxrwxrwx 1 root root 45 2002-10-27 09:45 gkai00mp.ttf -> /usr /share/fonts/truetype/arphic/gkai00mp.ttf
lrwxrwxrwx 1 root root 45 2002-10-27 09:45 mingliu.ttc -> /usr/ share/fonts/truetype/dynalab/mingliu.ttc

4. /etc/X11/fs/config
catalogue = /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/:unscaled,
/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/CID,
/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/,
/usr/share/fonts/truetype/arphic/,/usr/share/fonts/truetype/dynalab/

5. yes , i did the #type1
6. i installed the mozilla1.1 by apt-get install mozilla



7. cat /var/log/XF86.log
Could not init font path element var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Could not init font path element var/lib/defoma/x-ttcidfont-conf.d/dirs/CID, removing from list!
Could not init font path element /usr/lib/X11/fonts/Type1, removing from list
zjason
 

re:[問題]mozilla的字型

文章訪客 » 週一 10月 28, 2002 1:59 am

因為在linux下還不能打中文所以我過來這一篇說我的問題...

上篇的 7.
那個是說字型設的路徑找不到對吧...可是我去看...有做連結到字型放的地方丫...
還是我要重新連結一次嗎...

對了..謝謝你丫....真是好心...肯幫忙我....
請問你是用什麼來裝中文字型丫....
dfontmgr? defoma?. or ttfm?
訪客
 

re:[問題]mozilla的字型

文章訪客 » 週一 10月 28, 2002 2:52 am

zjason 寫:4. /etc/X11/fs/config
catalogue = /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/:unscaled,
/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/CID,
/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/,
/usr/share/fonts/truetype/arphic/,/usr/share/fonts/truetype/dynalab/

Aha, I think here is the problem. Please delete the
/usr/lib/X11/fonts/CID
part, and add
/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
to see if it works.

zjason 寫:5. yes , i did the #type1

I think it doesn't matter, but if the above change doesn't work, try uncommenting it back.

zjason 寫:7. cat /var/log/XF86.log
Could not init font path element var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Could not init font path element var/lib/defoma/x-ttcidfont-conf.d/dirs/CID, removing from list!
Could not init font path element /usr/lib/X11/fonts/Type1, removing from list

So daemon is right, the XF86.log gave the correct error message. I am quite sure there is problem in your /etc/X11/fs/config. Maybe not the only problem, though. 8-P
訪客
 

re:[問題]mozilla的字型

文章訪客 » 週一 10月 28, 2002 10:22 pm

still can't ..... -.-.....damn.....

i don't know where is the problem.....

oh my god....
訪客
 

re:[問題]mozilla的字型

文章訪客 » 週一 10月 28, 2002 10:28 pm

do u use msn or icq ?.....how can i contact u......
my e-mail: zjason@ms7.url.com.tw
訪客
 

re:[問題]mozilla的字型

文章高原之狼 » 週二 10月 29, 2002 7:11 am

Anonymous 寫:still can't ..... -.-....

I am really sorry to hear that. My system worked after I changed the /etc/X11/fs/config. Maybe there is something wrong with you defoma configuration, but I am really not sure. (By the way, you must restart X window after configuration.) So what is the information in /var/log/XFree86.log now?

I am afraid I can't help much here. Is there anybody familar with font settings?

I have sent you an Email. Good luck.
高原之狼
懵懂的國中生
懵懂的國中生
 
文章: 185
註冊時間: 週一 10月 28, 2002 5:54 am

re:[問題]mozilla的字型

文章louie » 週二 10月 29, 2002 11:58 pm

What is the result of
dpkg --status x-ttcidfont-conf
louie
快樂的大學生
快樂的大學生
 
文章: 593
註冊時間: 週一 9月 09, 2002 7:58 pm

re:[問題]mozilla的字型

文章louie » 週三 10月 30, 2002 12:02 am

找到了, 就是你那個 XF86Config-4 裡的 FontPath 中的 var/lib/..... 要加上 / 變成 /var/lib/.....
louie
快樂的大學生
快樂的大學生
 
文章: 593
註冊時間: 週一 9月 09, 2002 7:58 pm

下一頁

回到 debian desktop

誰在線上

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

cron