?? 94.html
字號:
有的則不能.于是靈機一動,跑到久違的W2K,打開Adobe Acrobat,把那些中文pdf逐個<br>
另存為pdf文件(估計Adobe Acrobat在偷偷笑我白癡,呵呵).然后到Linux下就能看了.<br>
看來原因可能和不支持GB18030有關. 另外,我用KGhostView看pdf dvi都比較慢,<br>
但xpdf,acrobat reader都正常,不知道大家是不是這樣.(我用的是Redhat9.0)<br>
<br>
<br>
怎么讓acroread在能夠顯示目錄中的中文文件名?<br>
就是裝簡體和繁體兩個字體吧,呵呵<br>
界面中文化的補丁好象沒有?nbsp;呵呵<br>
<br>
<br>
RH7.3中xpdf不能看中文pdf問題的解決<br>
<br>
在RH7.3下要看中文.pdf文件,除了要安裝xpdf同時也要安裝pdf的中文字體,<br>
但RH7.3提供的xpdf-chinese-simplified字體安裝/配置文件都有錯誤,<br>
繁體xpdf-chinese-traditional也有同樣的問題(比簡體少一個).所以即使<br>
裝了也看不成.<br>
問題之一是安裝時沒有進行自動配置,之二是配置文件有錯誤.字體安裝在了<br>
/usr/share/xpdf/chinese-simplified下,配置文件為其下的add-to-xpdfrc(.config)<br>
按說明應當將配置文件內容加入/etc/xpdfrc或~/.xpdfrc中, 但打開配置文件<br>
看看其內容就知道即使加進去也不會起作用, 錯誤有兩個:<br>
第一個錯誤是字體目錄用的都是/usr/local/share/xpdf/chinese-simplified/<br>
而實際安裝目錄是在/usr/share/xpdf/chinese-simplified,要么是安裝包做錯了<br>
要么就是配置文件錯了,還是改配置吧.<br>
第二個錯誤是個錄入錯誤,第一項目錄中應當是GB1,少了一個1<br>
改正后的配置為:<br>
#----- begin Chinese Simplified support package (2002-jan-16)<br>
cidToUnicode Adobe-GB1 /usr/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode<br>
unicodeMap ISO-2022-CN /usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap<br>
unicodeMap EUC-CN /usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap<br>
cMapDir Adobe-GB1 /usr/share/xpdf/chinese-simplified/CMap<br>
toUnicodeDir /usr/share/xpdf/chinese-simplified/CMap<br>
displayCIDFontX Adobe-GB1 "-*-simsun-medium-r-normal-*-%s-*-*-*-*-*-gb2312.1980-0" ISO-2022-CN<br>
#----- end Chinese Simplified support package<br>
<br>
將其直接加到/etc/xpdfrc文件的后面即可, 最后一項是字體設置,根據系統中安裝的字體自己選擇吧,<br>
我用的是從windows下弄過來的宋體. 這樣配完后再用xpdf看中文的pdf加上漂漂的宋體, 比windows下<br>
用acrobat的效果一點也不差!<br>
<br>
五、gftp,xmms,mplayer,openoffice下的中文支持<br>
rh8下面xmms的playlist的中文顯示問題<br>
給你一種更簡單的方法,打開xmms<br>
Ctrl+p->fonts把復選框選擇中文支持上下兩個都選<br>
字體選擇fangsongti和songti,在最后加上",fixed"(引號里面的),兩個都加<br>
這樣就可以了,不過這只是個性設置,只對本用戶有效,以其他用戶登陸時<br>
需自己再設置.(我沒有加fixed,好像也可以)<br>
<br>
另一個方法由smileliu提供,其實前面的步驟就是安裝了一個新字體,后面和上面上的一樣<br>
xmms顯示英文用的是ISO8859-1, 顯示中文用的是gb2312.1980-0, 所以只要在<br>
/usr/share/fonts/zh_CN/TrueType/fonts.dir中加上:<br>
zysong.ttf -misc-ZYSong18030-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0<br>
然后退出X, 以root身份執行/etc/rc.d/init.d/xfs restart, 再進X, 啟動xmms,<br>
在選項中字體那一欄里選中"use fontsets"復選框和"Use X font"復選框, 同時將<br>
playlist以及main windows的字體都設為:<br>
-misc-zysong18030-medium-r-normal-*-*-120-*-*-c-*-*<br>
就可以了.<br>
如果你沒有裝zysong字體, 用別的字體的話照此辦理就行了, 注意有的字體沒有定義<br>
ISO8859-1, 你還需要像添加gb2312.1980-0的定義那樣添加它的定義.<br>
<br>
<br>
gftp不能進入中文目錄和下載中文文件<br>
是gtk2的問題,下載源碼自己修改一下去掉gtk2的支持就行了。<br>
我自己編譯(rh7.2+gcc-3.2)的文件傳到ftp.lib.pku.edu.cn了,包括修改好的src.rpm。<br>
補充一下,gftp可以基于gtk2或者gtk1.2,用gtk1.2的話中文就沒什么問題。<br>
要使用gtk1.2,configure時加選項--disable-gtk20<br>
<br>
<br>
如何使用mplayer播放.srt格式的中文字幕<br>
For mplayer 0.9 you can do this:<br>
1. ln -s /usr/share/simsun/simsun.ttf ~/.mplayer/subfont.ttf<br>
2. mplayer -subcp cp936 ****.avi<br>
(OR you can add this option to ~/.mplayer/config: subcp = cp936)<br>
<br>
by nightcat:<br>
mplayer -sub subfile -font subfont.ttf -unicode<br>
<br>
<br>
mplayer怎么顯示不了中文?<br>
如果是對話框顯示不了是gtk的字體沒有配好,如果是播放的那個狀態框<br>
里面,是不可能顯示中文的,因為那個其實是圖片<br>
<br>
<br>
OpenOffice1.0中文顯示<br>
www.linuxforum.net上的討論:<br>
turbo中有個字體名叫song<br>
而openoffice的安裝界面和程序界面都要使用song這個字體名<br>
隨便給哪個中文字體起個song和kai的別名就行了<br>
界面字體可以工具/選項/視圖<br>
調整顯示百分比為110%就可以了<br>
<br>
我試了一下,安裝時字體怎么都不成功(可能是因為我沒用truetye字體)<br>
但安裝后把simsun.ttf拷貝到oppenoffice的字體目錄中,<br>
再在菜單(T)->(O)中,選擇第一個分支的倒數第二項,然后左側選Interface User,<br>
右側選宋體,點第一個按鈕即可。界面即成為pp的simsun了<br>
<br>
六、如何實現英文環境(或英文菜單)而使用中文輸入或顯示<br>
Rh9中怎么設置才可以用中文輸入而是英文菜單?<br>
RH9中語言選英文,但想輸入中文,i18n如何修改?<br>
redhat8.0英文界面+中文環境支持的方法<br>
創建 ~/.i18n<br>
LANGUAGE=en_US.UTF-8<br>
LC_CTYPE=zh_CN.GB18030<br>
應該就可以了<br>
<br>
不過我的~/.i18n是這樣的<br>
LANG=zh_CN.GB18030<br>
LANGUAGE=en_US.UTF-8<br>
LC_CTYPE=zh_CN.GB18030<br>
LC_TIME=en_US.UTF-8<br>
因為不設LANG,似乎ctrl+space不能直接調出輸入法,需要在每個程序里<br>
點右鍵,設置Input Method為XIM(不知能不能自動設置?)<br>
不設LC__TIME,右下角的時間顯示還是有中文,而且在console下看時間的時候會出現亂碼。<br>
<br>
如果你用GNOME的話,上面這些就夠了<br>
如果你用KDE的話,理論上只要進控制中心修改界面語言為英文就可以了<br>
但是rh9的KDE有bug,解決辦法是rpm -e kde-i18n-Chinese<br>
<br>
原理大概是這樣的: gtk2程序是按`LANGUAGE' `LC_ALL' `LC_xxx' `LANG'的次序<br>
來決定菜單的語言。<br>
<br>
i18n: 就是internationalization, 國際化,由于首字母"i"和末尾字母"n"間有18個字符,所以簡稱i18n. <br>
internationalization指為了使應用程序能適應不同的語言和地區間的變化而不作系統性的變化所采取的設計措施。
</FONT><br>
</TD>
</TR>
<TR>
<TD colSpan=2><FONT
class=middlefont></FONT><BR>
<FONT
class=normalfont>全文結束</FONT> </TD>
</TR>
<TR>
<TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2
height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
<TD vAlign=top width="20%"
background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2>
<DIV align=center>
<table class=tableoutline cellspacing=1 cellpadding=4
width="100%" align=center border=0>
<tr class=firstalt>
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
<font class=normalfont><b>所有分類</b></font></td>
</tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技術類</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基礎知識</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安裝啟動</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">輸入法類</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化漢化</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">網絡配置</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存儲備份</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">雜項工具</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">編程技術</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">網絡安全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">內核技術</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度優化</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服務</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服務</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服務</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服務</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">網絡過濾</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服務</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td> </tr> </table></td></tr> </table>
</DIV></TD></TR>
<TR vAlign=top>
<TD width="80%">
<DIV align=center><BR>
</DIV>
</TD></TR></TBODY></TABLE></TD></TR>
</TABLE></TD></TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee
border=0><TBODY>
<TR>
<TD width="50%">
<P><FONT class=middlefont>版權所有 © 2004 <A
href="mailto:bjchenxu@sina.com">linux知識寶庫</A><BR>
違者必究. </FONT></P>
</TD>
<TD width="50%">
<DIV align=right><FONT class=middlefont>Powered by: <A
href="mailto:bjchenxu@sina.com">Linux知識寶庫</A> Version 0.9.0 </FONT></DIV>
</TD></TR></TBODY></TABLE>
<CENTER></CENTER></TD></TR>
</TABLE></CENTER></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -