On Sat, Jan 18, 2025 at 08:09:56PM +0100, onf wrote: > By the way, the way gpic does it is by emitting PostScript instructions > to the grops postprocessor. See gropdf(1): > gropdf understands some of the device control commands supported by > grops(1). > > \X'ps: exec gsave currentpoint 2 copy translate n rotate neg exch > neg exch translate' > where n is the angle of rotation. This is to support the align > command in pic(1). > > \X'ps: exec grestore' > Used by pic(1) to restore state after rotation. > > Tadziu Hoffman's approach is using these exact commands as well.
Good tip! I'm feeling masochistic lately, so I'm going to try to learn some postscript! Thanks a lot for answering! -- Walter