Opened 4 years ago

Closed 3 years ago

Last modified 8 months ago

#17271 closed enhancement (fixed)

wxSVGFileDC: set textLength attribute

Reported by: lallulli Owned by: Maarten Bent <MaartenBent@…>
Priority: normal Milestone:
Component: base Version: 3.0.2
Keywords: Cc:
Blocked By: Blocking:
Patch: no

Description

Hello,

when drawing some text over a wxSVGFileDC, the generated <text> element should have a textLength attribute. It is important because it allows the SVG rendering engine to match the width of the text object, as calculated by wxWidgets.

Thank you!

Change History (3)

comment:1 Changed 4 years ago by MaartenB

  • Status changed from new to confirmed

Added this in PR215.

comment:2 Changed 3 years ago by Maarten Bent <MaartenBent@…>

  • Owner set to Maarten Bent <MaartenBent@…>
  • Resolution set to fixed
  • Status changed from confirmed to closed

In b424445078d0b2f16c461c66ec39b3ff0ff8d06f/git-wxWidgets:

Improvements to printing text in wxSVGFileDC.

Support underlined and strike-through text.
Set the text length (see http://trac.wxwidgets.org/ticket/17271).
Preserve leading and trailing white-space.
Use wxS macro consistently.
Closes #17271.

comment:3 Changed 8 months ago by Maarten Bent <MaartenBent@…>

In 90d18faa/git-wxWidgets:

Improvements to printing text in wxSVGFileDC.

Support underlined and strike-through text.
Set the text length (see http://trac.wxwidgets.org/ticket/17271).
Preserve leading and trailing white-space.
Use wxS macro consistently.
Closes #17271.

Note: See TracTickets for help on using tickets.