Florian Festi
46b1e8684f
Add estimate for extents of text
...
Fix adjustment of SVG coordinates
2020-05-18 22:30:28 +02:00
Florian Festi
95dc7f5731
Fix padding for SVG
2020-05-18 22:30:28 +02:00
Florian Festi
3c94b4bf76
Don't try to draw arcs with an zero angle
...
Thanks to Bruno Ferrarese <https://github.com/bferrarese > for finding and
reporting this issue!
2020-05-18 22:30:28 +02:00
Florian Festi
6440bcb639
Get text working for both SVG and PS
...
Move coordiate translation to to finish() method
Use Latin1 encoding for text PS in output
Add Boxes.set_font() to support basic font styles:
serif, sans-serif and monospaced
in normal, bold, italic and both bold and italic
2020-05-18 22:30:28 +02:00
Florian Festi
492e7fb4dd
SVGSurface: Use horizontal and vertial lines
...
instead for just regular lines. This saves one number per point involved.
2020-05-18 22:30:28 +02:00
Florian Festi
fddf78fcc3
Add metadata to the SVG files right away
2020-05-18 22:30:28 +02:00
Florian Festi
0594ee703d
Replace svgwrite with xml.ElementTree
2020-05-18 22:30:28 +02:00
Thomas Kalka
fd48e57f33
Implement new backend without cairo
...
by providing SVGSurface, PSSurface and Context classes
Disable post processing as we want to create proper files right away
2020-05-18 22:30:28 +02:00