cht台灣個人Log4Q
adm Find login register

[log] dvipdfm 過程內的錯誤訊息

qrtt1

joined: 2007-10-02
posted: 82
promoted: 18
bookmarked: 5
藍星
1subject: [log] dvipdfm 過程內的錯誤訊息Promote 0 Bookmark 02009-01-31quote  

怎麼會爆在這呢 Orz @@?

 

======================================================================

debian:/home/qrtt1# dvipdfm foo.dvi

foo.dvi -> foo.pdf
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 sbf5b
mktexpk: Running gsftopk sbf5b 600
gsftopk(k) version 1.19.2/81503
[1gs: ERROR: /typecheck in --bitshift--
gs: Operand stack:
gs:    glyphencoding   --dict:3/3(ro)(G)--   --nostringval--   0   --nostringval--   0   (\000\002\000\000\000\000\000\000\377\222\0002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0007D\000\000\001\002\000\002\001\003\000\003\000\004\000\005\000\006\000\007\000\b\000\t\000\n\000\013\000\f\000\r\000\016\000\017\000\020\000\021\000\022\000\023\000\024\000\025\000\026\000\027\000\030\000\031\000\032\000\033\000\034\000\035\000\036\000\037\000 \000!\000"\000#\000$\000%\000&\000'\000\(\000\)\000*\000+\000,\000-\000.\000/\0000\0001\0002\0003\0004\0005\0006\0007\0008\0009\000:\000;\000<\000=\000>\000?\000@\000A\000B\000C\000D\000E\000F\000G\000H\000I\000J\000K\000L\000M\000N\000O\000P\000Q...)   8
gs: Execution stack:
gs:    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   (\(/usr/local/texlive/2008/texmf-var/fonts/enc/sbf/sbf5b.enc\) run)   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--
gs: Dictionary stack:
gs:    --dict:1123/1686(ro)(G)--   --dict:0/20(G)--   --dict:126/200(L)--   --dict:33/50(ro)(G)--   --dict:36/40(L)--
gs: Current allocation mode is local
gs: Current file position is 5285
ESP Ghostscript 815.03: Unrecoverable error, exit code 1

Premature end of file
grep: sbf5b.log: No such file or directory
mktexpk: `gsftopk sbf5b 600' failed to make sbf5b.600pk.
kpathsea: Appending font creation commands to missfont.log.
sbf5b: Can't locate a Type 1, TTF, PK, or virtual font file

Not sure how to proceed.  For now this is fatal
Maybe in the future, I'll substitute some other font.

Output file removed.

edited: 1
本人已不在此站活動

joined: 2007-09-19
posted: 4946
promoted: 325
bookmarked: 206
歸隱山林
2subject: Promote 0 Bookmark 02009-01-31quote  

字型安裝不完整?或 map 檔沒有建立?

 


qrtt1

joined: 2007-10-02
posted: 82
promoted: 18
bookmarked: 5
藍星
3subject: Promote 0 Bookmark 02009-01-31quote  
LGJ

字型安裝不完整?或 map 檔沒有建立?

 

 

我是用 ada 提供的 script 建立的.

http://blog.adahsu.net/ada/space/start/2007-09-07/1

使用 root 身份. 不知為什麼會這樣 orz

 

不過查一下 gs 版本是 2006

qrtt1@debian:~$ /usr/bin/gs-esp
ESP Ghostscript 815.03 (2006-08-25)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Warning: the map file cidfmap was not found.
GS>

自己編了 2008 年版的

GPL Ghostscript 8.63 (2008-08-01)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

 不過編出來的 pdf 中文字不能顯示 (亂碼 ha)

現在先使用直接使用 TTF 的方案好了 @o@

本人已不在此站活動

joined: 2007-09-19
posted: 4946
promoted: 325
bookmarked: 206
歸隱山林
4subject: Promote 0 Bookmark 02009-01-31quote  

如果是用 dvipdfmx 也是一樣嗎?

 


qrtt1

joined: 2007-10-02
posted: 82
promoted: 18
bookmarked: 5
藍星
5subject: Promote 0 Bookmark 02009-01-31quote  
LGJ

如果是用 dvipdfmx 也是一樣嗎?

 

沒辦法>< 不過我覺得環境好像被我玩亂了.

再弄一個單純一點的環境來測, 再來發問好了 Orz

cht台灣個人Log4Q
adm Find login register
views:10435