Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,107
    • Issues 2,107
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #27321
Closed
Open
Created Jan 16, 2015 by FPC Admin account@fpc_adminOwner

[Patch] Improved svgwriter for fpvectorial

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)
Assignee
Assign to
Time tracking