[Gs-devel] spacing by ps2pdf is misleading for AcrobatReader?
suzuki toshiya
mpsuzuki at hiroshima-u.ac.jp
Thu Dec 13 21:14:40 PST 2001
Dear GS maintainers,
There's anybody working for ps2pdf / AcrobatReader mis-spacing
bug reported by Prof. Ulf?
The problem is a bit complicated. The PDF is generated as:
dvips ps2pdf
dvi -> ps -> pdf
The resulted PDF can be "displayed" correctly by GS and
any AcrobatReader.
But, when I make PS from the PDF,
by "Print" menu of AcrobatReader 4.0 on Linux,
the generated PS includes mis-spacing.
The result by pdf2ps does not include such problem.
The result by AcrobatReader 5.0 on Windows does not
include such problem.
The PDF converted by AcrobatDistiller 4.0 does not
cause such problems.
Attached is a modified sample based on Rehmann.
It draws text "Documenta" with various kerning between "t" and "a",
aslike:
451 1700 a Fk(Document) p +16 w (a)40 b
On screen, it looks like:
D o c u m e n ta
...
D o c u m e n t a
...
D o c u m e n t a
make PDF by ps2pdf and print it by AcrobatReader (on UNIX)
"Print" menu, the resulted PS looks like:
D o c u m e n t a
...
D o c u m e n t a
...
D o c u m e n t a
If no manual kerning is inserted between t & a, no problem arises.
It looks like:
D o c u m e n t a
The fonts "/Fk" etc are fonts with external kerning tunes by dvips.
If I use raw Computer Modern or Times-Roman (with no such tunes)
instead of /Fk, such problem does not arise. So I suppose the problem
is handling of dvips's external kerning tunes.
However, there is a possibility: ps2pdf result is legal in PDF
specification, but it hits a bug in AcrobatReader 4.0.
Regards,
mpsuzuki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rehmann.ps.bz2
Type: application/octet-stream
Size: 41718 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/gs-devel/attachments/20011214/49f25587/rehmann.ps.obj
More information about the gs-devel
mailing list