Hi all,

when drawing rounded box corners with the pic preprocessor using the
pdf device while orienting the document in landscape format the arcs
for the rounded corners are misplaced (see attached box_rad_devpdf.pdf).
The issue does not occur when using the ps device (see attached
box_rad_devps.pdf).

Here is a minimal working example (MWE):

% cat <<EOF | groff -Tpdf -P-l -p - > box_rad_devpdf.pdf
.PS
box rad 0.2 ht 2 wid 2 "\*[.T]" "box rad 0.2 ht 2 wid 2"
.PE
EOF

% cat <<EOF | groff -Tps -P-l -p - | ps2pdf - box_rad_devps.pdf
.PS
box rad 0.2 ht 2 wid 2 "\*[.T]" "box rad 0.2 ht 2 wid 2"
.PE
EOF

Further specifying the paper, e.g. by passing the -dpaper=a4l
and -P-pa4 flags, did not change the result for me.

What am I missing in order to use rounded box corners with
pic and devpdf in landscape documents?


Best
Alexis

Attachment: box_rad_devpdf.pdf
Description: Adobe PDF document

Attachment: box_rad_devps.pdf
Description: Adobe PDF document

Reply via email to