Hi,
I have a problem setting a line of rotated text (test.groff). Output
device is post script.

Here is some processing (test.sh) that all succeeds but finally on a
call to ps2pdf the page containing the rotated line itself is rotated by
180deg.

Reasons unclear. A preceeding "void" helped, dropping \[:u] also.
However, at the production groff-source non of that works.

The issue first occured for my own rotate macro:
.de RT
\\X'ps: exec gsave currentpoint 2 copy translate -\\$2 rotate neg exch
neg exch translate'
\\$1
\\X'ps: exec grestore'
..

Since post script is ok, it seems to be a problem of gs at producing
pdf. However, is it possible to fix it at the groff level.

Regards Holger

\&
.ft HB
.ps 48
.vs 50
\H'48'
PAGE 1
.bp
PAGE 2
.bp
.\"void                                                     \" correcting effect
.PS
line invis up 1 "PAGE 3\[:u]" aligned above              # fails
#line invis up 1 "PAGE 1" aligned above                   # ok
.PE
.bp
PAGE 4
.br

Attachment: test.sh
Description: Bourne shell script

Reply via email to