[Patch] Improved svgwriter for fpvectorial
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
The svg writer of the fpvectorial package contains some bugs and missing features which become apparent when the fpvectorial drawing backend of TAChart is used.
These bugs are fixed by the attached patch:
- Font name respected (i.e. all fonts of the system can be used)
- Font color respected
- Font styles (bold, italic, underlined, strikethrough) respected
- Text rotation by any angle
- Text anchors (left, center, right)
It also fixes the missing assignment of page size in TvVectorialDocument.AddPage which caused the drawing to be off-page in Firefox.
Fix typo: millimeters instead of milimeters.
Additional information:
The zip file contains a simple demo showing the improvements. The svg output of the demo was inspected with Inkscape (Windows), Firefox (Windows, Ubuntu) and the svg viewer of Ubuntu.
Mantis conversion info:
- Mantis ID: 27321
- Version: 1.5 (SVN)