Couldn’t find ‘UniCNS-UCS2-H’ CMap file for ‘Adobe-CNS1′ collection

ok..
這是因為xpdf 在找對應的檔案 對應錯誤
裝完

/usr/ports/chinese/xpdf

會多了

/usr/local/share/xpdf/chinese-traditional

這個目錄
裡面的dot.xpdfrc設定不對…

請把

cMapDir   Adobe-CNS1  /usr/local/share/fonts/adobe-cmaps
toUnicodeDir      /usr/local/share/fonts/adobe-cmaps

換成

cMapDir    Adobe-CNS1  /usr/local/share/fonts/adobe-cmaps/ac15/CMap
toUnicodeDir     /usr/local/share/fonts/adobe-cmaps/ac15/CMap

這樣就對了……

About johnpupu

..........
This entry was posted in 有的沒的. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word