Package: ghostscript
Version: 8.71~dfsg-4
Severity: important
Tags: sid
A program of mine that renders text by converting it to Unicode
encoding recently stopped working. The following PostScript sequence
illustrates the problem:
----
/tmpstr 255 string def
/Unicode /Decoding findresource
dup length dict /UnicodeEncode exch def
{exch UnicodeEncode 3 1 roll put} forall
32 1 126
{
dup tmpstr cvs print ( => ) print
dup UnicodeEncode exch known
{
UnicodeEncode exch get tmpstr cvs
}
{
(?)
}
ifelse
print
(\n) print
}
for
----
This gets the Unicode decoding resource and prints out the mapping from
printable ASCII characters to corresponding glyph names. Part of its
output is shown below:
104 => h
105 => i
106 => LJ010000
107 => LK010000
108 => LL010000
109 => LM010000
110 => n
111 => o
What are those "LJxxx", "LKxxx" etc glyph names? Similar odd names appear
at other places in the output. They fail to map to valid glyphs in the font,
and I end up with gaps in the text layout.
Ghostscript also displays the message "Warning: the map file cidfmap was not
found"
each time it starts. Could this be related?
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_NZ.utf8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ghostscript depends on:
ii debconf [debc 1.5.32 Debian configuration management sy
ii debianutils 3.2.3 Miscellaneous utilities specific t
ii defoma 0.11.11 Debian Font Manager -- automatic f
ii ghostscript [ 8.71~dfsg-4 The GPL Ghostscript PostScript/PDF
ii gs-common 8.71~dfsg-4 Dummy package depending on ghostsc
ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4 Fonts for the Ghostscript interpre
ii libc6 2.10.2-7 Embedded GNU C Library: Shared lib
ii libgs8 8.71~dfsg-4 The Ghostscript PostScript/PDF int
Versions of packages ghostscript recommends:
pn psfontmgr <none> (no description available)
ghostscript suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]