Hi,
I may have found a bug in PyX 0.12.1. Below is a simple example:
from pyx import *
unit.set(xscale = 0.5)
c = canvas.canvas()
c.text(0, 0, "Hello")
c.stroke(path.line(0, 0, 1, 1), [deco.curvedtext("Howdy")])
c.writePDFfile("test")
I would expect the output (text.pdf) to have the text "Hello" and "Howdy" both
at the same size (half the default, following the xscale), but "Howdy" is
quite obviously bigger.
Am I doing something wrong? If this is a bug, is there a workaround? In my
project I'm using deco.curvedtext for it's exclude parameter (with the text
vertically centered into the line: vshift.mathaxis), which deco.text doesn't
seem to support.
Thanks,
Brendon
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user