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 這樣就對了……
posted in 有的沒的 by johnpupu
system() The system() call also tries to automatically flush the web server’s output buffer after each line of output if PHP is running as a server module. exec() 則不會flush 遇到的問題是 我的php 透過perl 去執行一些功能 然後perl 回傳 success or false 字串 在standard output 上 php再去get 這個字串 success 則print success 給 ajax 來判斷 結果 在前端的ajax 一直印出 successsuccess 的字眼 [...]
posted in program by johnpupu