[bug-gs] troff-grops-ps2pdf problem

Ray Johnston ray.johnston at artifex.com
Mon Dec 22 10:22:25 PST 2003


Bill,

Please send the "a.ps" file that you produced. We don't really support
troff or grops problems, but if Ghostscript doesn't handle the PS
correctly, or is missing something when the pdfwrite device creates
the PDF file, we will fix it.

Regards.
Ray Johnston
_______________________________________________________________________
William.A.Ward.Jr at erdc.usace.army.mil wrote:
> Hello,
> 
> I got this e-mail address of the "ps2pdf" manpage on my Linux system
> as the address for L. Peter Deutsch.  I am having a problem with using
> troff-grops-ps2pdf.  Below is my shell script:
> 
> #!/bin/sh
> rm -f a.pdf a.ps a.troff
> troff myinput > a.troff
> grops < a.troff > a.ps
> ps2pdf a.ps a.pdf
> acroread a.pdf
> 
> The file "myinput" contains
> 
> .sp
> Specific
> Specific
> .bp
> Specific
> Specific
> 
> My version info is
> 
> GNU troff (groff) version 1.19
> GNU grops (groff) version 1.19
> GNU Ghostscript 7.05 (2002-04-22)
> 
> First page output: "Specific Specific"
> Second page output:"Specifi c Specifi c"
> 
> Basically the ligatures for "fi" don't work right after the
> first page since there is a large space after the "fi" so
> that the "c" is almost a separate word.
> 
> The tail of file a.ps looks like:
> 
> %%EndProlog
> %%Page: 1 1
> %%BeginPageSetup
> BP
> %%EndPageSetup
> /F0 10/Times-Roman at 0 SF(Speci\214c Speci\214c)72 24 Q 0 Cg EP
> %%Page: 2 2
> %%BeginPageSetup
> BP
> %%EndPageSetup
> /F0 10/Times-Roman at 0 SF(Speci\214c Speci\214c)72 12 Q 0 Cg EP
> %%Trailer
> end
> %%EOF
> 
> I can work around this in troff by turning of ligatures and
> then manually inserting them (yuck!):
> 
> .lg 0
> .sp
> Speci\(fic
> Speci\(fic
> .bp
> Speci\(fic
> Speci\(fic
> 
> Do you have any idea where the problem might be?
> 
> Best regards,
> 
> Bill Ward




More information about the bug-gs mailing list