"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
>>>>> "Mike" == Mike Fabian
<mfabian(a)suse.de> writes:
Mike> I was able to print all languages from the hello-file except
Mike> Amharic, Thai, and Tigrigna. When testing the bdf printing
Mike> with the hello-file you have to remove the lines with these
Mike> languages, otherwise you will get an error.
What is the error?
Contents of the *Backtrace* buffer when it fails for Amharic:
Signaling: (args-out-of-range "ሠላም" 3)
ps-mule-prepare-font((bdf ("ethio24f-uni.bdf"
"ethiomx24f-uni.bdf") ps-mule-encode-ethiopic 2) "ሠላም" ethiopic nil
nil)
ps-mule-string-encoding((bdf ("ethio24f-uni.bdf"
"ethiomx24f-uni.bdf") ps-mule-encode-ethiopic 2) "ሠላም")
ps-mule-plot-string(158 161 nil)
ps-plot(ps-mule-plot-string 158 161 nil)
ps-plot-region(1 1098 0 nil)
ps-generate-postscript(1 1098)
ps-generate(#<buffer "HELLO"> 1 1098 ps-generate-postscript)
ps-spool-without-faces(1 1098 nil)
ps-print-without-faces(1 1098 "/tmp/ttt.ps")
#<compiled-function (&optional filename) "...(6)" [filename
ps-print-without-faces] 4
("/usr/share/xemacs/xemacs-packages/lisp/ps-print/ps-print.elc" . 58585) (list
(ps-print-preprint current-prefix-arg))>("/tmp/ttt.ps")
call-interactively(ps-print-buffer)
command-execute(ps-print-buffer t)
execute-extended-command((4))
call-interactively(execute-extended-command)
I tried to investigate a bit but couldn't yet find out what is wrong
here.
With the Amharic line removed from the HELLO file I get:
Signaling: (args-out-of-range ["\\000" "\\001" "\\002"
"\\003" "\\004" "\\005" "\\006" "\\007"
"\\b" "\\t" "\\n" "\\013" "\\f"
"\\r" "\\016" "\\017" "\\020" "\\021"
"\\022" "\\023" "\\024" "\\025" "\\026"
"\\027" "\\030" "\\031" "\\032" "\\033"
"\\034" "\\035" "\\036" "\\037" " "
"!" "\"" "#" "$" "%"
"&" "'" "\\(" "\\)" "*"
"+" "," "-" "." "/" "0"
"1" "2" "3" "4" "5" "6"
"7" "8" "9" ":" ";" "<"
"=" ">" "?" "@" "A" "B"
"C" "D" "E" "F" "G" "H"
"I" "J" "K" "L" "M" "N"
"O" "P" "Q" "R" "S" "T"
"U" "V" "W" "X" "Y" "Z"
"[" "\\\\" "]" "^" "_" "`"
"a" "b" "c" "d" "e" "f"
"g" "h" "i" "j" "k" "l"
"m" "n" "o" "p" "q" "r"
"s" "t" "u" "v" "w" "x"
"y" "z" "{" "|" "}" "~"
"\\177" "\\200" "\\201" "\\202" "\\203"
"\\204" "\\205" "\\206" "\\207" "\\210"
"\\211" "\\212" "\\213" "\\214" "\\215"
"\\216" "\\217" "\\220" "\\221" "\\222"
"\\223" "\\224" "\\225" "\\226" "\\227"
"\\230" "\\231" "\\232" "\\233" "\\234"
"\\235" "\\236" "\\237" "\\240" "\\241"
"\\242" "\\243" "\\244" "\\245" "\\246"
"\\247" "\\250" "\\251" "\\252" "\\253"
"\\254" "\\255" "\\256" "\\257" "\\260"
"\\261" "\\262" "\\263" "\\264" "\\265"
"\\266" "\\267" "\\270" "\\271" "\\272"
"\\273" "\\274" "\\275" "\\276" "\\277"
"\\300" "\\301" "\\302" "\\303" "\\304"
"\\305" "\\306" "\\307" "\\310" "\\311"
"\\312" "\\313" "\\314" "\\315" "\\316"
"\\317" "\\320" "\\321" "\\322" "\\323"
"\\324" "\\325" "\\326" "\\327" "\\330"
"\\331" "\\332" "\\333" "\\334" "\\335"
"\\336" "\\337" "\\340" "\\341" "\\342"
"\\343" "\\344" "\\345" "\\346" "\\347"
"\\350" "\\351" "\\352" "\\353" "\\354"
"\\355" "\\356" "\\357" "\\360" "\\361"
"\\362" "\\363" "\\364" "\\365" "\\366"
"\\367" "\\370" "\\371" "\\372" "\\373"
"\\374" "\\375" "\\376" "\\377"] ?ት)
ps-flush-output()
ps-end-job(t)
ps-generate(#<buffer "ttt"> 1 1079 ps-generate-postscript)
ps-spool-without-faces(1 1079 nil)
ps-print-without-faces(1 1079 "ttt.ps")
#<compiled-function (&optional filename) "...(6)" [filename
ps-print-without-faces] 4
("/usr/share/xemacs/xemacs-packages/lisp/ps-print/ps-print.elc" . 58585) (list
(ps-print-preprint current-prefix-arg))>("ttt.ps")
call-interactively(ps-print-buffer)
command-execute(ps-print-buffer t)
execute-extended-command((4))
call-interactively(execute-extended-command)
And when I remove the Tigrigna line as well, the PostScript
output is written without error, but when previewing it
with Ghostview the Thai characters are empty boxes and
the languages below Thai are not displayed at all.
When I remove the Thai line as well, the remaining languages
are displayed correctly when viewing with Ghostscript.
--
Mike Fabian <mfabian(a)suse.de>
http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。