問題是這樣:
在 firefox 下,我印出中文是正常的,我是用 freetype2 然後加裝 xprint ,可是要輸出成 ps 檔後,用 gv 或是gnome-gv ,就無法看到字,可是如果直接將檔案(mozilla.ps),lpr mozilla.ps ,也是可以成功印中文,感覺我的問題是出在gs的字型,然後我有用 openoffice 去 export 一個中文 pdf,沒問題,然後,用 pdf2ps test.pdf test.ps,轉出來的 ps 檔,中文不清楚,但是隱約有中文的線條,以上都是用
ttf-arphic-newsung 的字型,已經奮鬥兩天了,希望,有遇過相同問題的前輩,能不另提點一下小弟
/var/lib/defoma/gs.d/dirs/fonts/CIDFnmap 的內容如下
- 代碼: 選擇全部
/ShanHeiSun-Uni-JaH (/usr/share/fonts/truetype/arphic/uming.ttf) /Adobe-Japan2-Unicode ;
/KochiGothic-Regular-JaH (/usr/share/fonts/truetype/kochi/kochi-gothic-subst.ttf) /Adobe-Japan2-Unicode ;
/ShanHeiSun-Light (/usr/share/fonts/truetype/arphic/bsmi00lp.ttf) /Adobe-CNS1-Unicode ;
/GBZenKai-Medium (/usr/share/fonts/truetype/arphic/gkai00mp.ttf) /Adobe-GB1-Unicode ;
/BousungEG-Light-GB (/usr/share/fonts/truetype/arphic/gbsn00lp.ttf) /Adobe-GB1-Unicode ;
/ZenKai-Medium (/usr/share/fonts/truetype/arphic/bkai00mp.ttf) /Adobe-CNS1-Unicode ;
/KochiMincho-Regular-JaH (/usr/share/fonts/truetype/kochi/kochi-mincho-subst.ttf) /Adobe-Japan2-Unicode ;
/ShanHeiSun-Uni (/usr/share/fonts/truetype/arphic/uming.ttf) /Adobe-CNS1-Unicode ;
/ShanHeiSun-Uni-Ja (/usr/share/fonts/truetype/arphic/uming.ttf) /Adobe-Japan1-Unicode ;
/KochiMincho-Regular (/usr/share/fonts/truetype/kochi/kochi-mincho-subst.ttf) /Adobe-Japan1-Unicode
;
/ShanHeiSun-Uni-GB (/usr/share/fonts/truetype/arphic/uming.ttf) /Adobe-GB1-Unicode ;
/KochiGothic-Regular (/usr/share/fonts/truetype/kochi/kochi-gothic-subst.ttf) /Adobe-Japan1-Unicode
;
/AR-PL-New-Sung (/usr/share/fonts/truetype/fireflysung.ttf) /Adobe-GB1-Unicode ;
/AR-PL-New-Sung-CNS (/usr/share/fonts/truetype/fireflysung.ttf) /Adobe-CNS1-Unicode ;
/Arphic-SongGB /BousungEG-Light-GB ;
/Ryumin-Light /KochiMincho-Regular ;
/Arphic-MingUni-GB /ShanHeiSun-Uni-GB ;
/Adobe-GB1 /GBZenKai-Medium ;
/Arphic-MingUni-Ja /ShanHeiSun-Uni-Ja ;
/ArphicKaiB5 /ZenKai-Medium ;
/Arphic-KaiB5 /ZenKai-Medium ;
/ArphicMingB5 /ShanHeiSun-Light ;
/Adobe-Japan1 /KochiMincho-Regular ;
/ArphicKaiGB /GBZenKai-Medium ;
/ArphicMingUni-JaH /ShanHeiSun-Uni-JaH ;
/MOESung-Regular /ZenKai-Medium ;
/FireFlySung-CNS /AR-PL-New-Sung-CNS ;
/Arphic-MingUni /ShanHeiSun-Uni ;
/Adobe-CNS1 /ZenKai-Medium ;
/Adobe-CNS1-Bold /ShanHeiSun-Light ;
/Adobe-GB1-Bold /GBZenKai-Medium ;
/ArphicMingGB /BousungEG-Light-GB ;
/FireFlySung /AR-PL-New-Sung ;
/ArphicMingUni-GB /ShanHeiSun-Uni-GB ;
/Adobe-Japan1-Bold /KochiMincho-Regular ;
/Song-Medium /GBZenKai-Medium ;
/Arphic-MingGB /BousungEG-Light-GB ;
/Arphic-MingB5 /ShanHeiSun-Light ;
/Arphic-KaiGB /GBZenKai-Medium ;
/ArphicMingUni-Ja /ShanHeiSun-Uni-Ja ;
/ArphicMingUni /ShanHeiSun-Uni ;
/Arphic-MingUni-JaH /ShanHeiSun-Uni-JaH ;
/GothicBBB-Medium /KochiGothic-Regular ;
不知道還要照無痛起步法去設
Arphic-Kai-Eten-B5-H (Arphic-Kai-Eten-B5-H.gsf) ;
/Arphic-Kai-Eten-B5-H (Arphic-Kai-Eten-B5-H.gsf) ;
/Arphic-Ming-Eten-B5-H (Arphic-Ming-Eten-B5-H.gsf) ;
/Arphic-Ming-Eten-B5-H (Arphic-Ming-Eten-B5-H.gsf) ;
這四個檔案
ps: 還被用 fedora 的同事笑,說他的 just work ,我的Debian~~~~