[texhax] shear transform

Peter Davis pfd at pfdstudio.com
Wed May 18 16:29:55 CEST 2011


Hi,

I am (still) working on a converter that will turn XML into LaTeX, and then
into PDF, PostScript, JPEG and a few other formats.  The goal is for this to
run "lights out" (completely unattended) in a 24x7 print environment.

I'm planning to use XeLaTeX, largely because of the ability to support OTF
fonts, Unicode characters, Asian and other complex scripting languages,
etc.  However ...

The XML format I'm working with allows arbitrary affine transformations to
be specified for any object on the page.  Scale and rotate seem pretty easy,
but shear is going to be tough.  The problem is that a) shear seems to
require PSTricks, b) PSTricks, when used with XeTeX/XeLaTeX, seems to
require Ghostscript, and c) I can't use Ghostscript because of GPL licensing
restrictions.

Now PDF certainly supports all the same graphics state options as
PostScript, including transformations.  So it should not be necessary to go
through PostScript.  However, I don't know of a LaTeX package that will let
me specify transformations like this for PDF.  Have I missed something?  Is
this perhaps a hidden feature of xdvipdfmx that I can access through
specials?

Thank  you!

-pd


-- 
----
The Tech Curmudgeon
http://www.techcurmudgeon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110518/b69adda5/attachment.html>


More information about the texhax mailing list