Bug #992

svg stroke_path() lacks the A command

Added by Henrik Andersson over 7 years ago. Updated about 4 years ago.

Status:FixedStart date:05/08/2012
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:User interface
Target version:5.0
Found in version:master Platform:Linux

Description

For more information see, http://www.w3.org/TR/SVG/paths.html#PathData
section, 8.3.8 The elliptical arc curve commands.

example svg:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"
height="640" id="svg2" version="1.1" width="640" xml:space="preserve">
<path
style="fill:#000000;fill-opacity:1;"
d="M 320 30 C 160.00935 30 30 160.01723 30 320 C 30 479.98276 160.00935 610 320 610 C 479.99065 610 610 479.98276 610 320 C 610 160.01723 479.99065 30 320 30 z M 309.125 59.5 L 309.125 89.25 L 330.84375 89.25 L 330.84375 59.5 C 395.25501 62.124864 453.58188 88.016784 497.65625 129.03125 L 477.65625 149 L 493 164.375 L 512.9375 144.4375 C 552.82457 188.26022 577.91722 245.76809 580.5 309.15625 L 549.375 309.15625 L 549.375 330.84375 L 580.5 330.84375 C 577.94007 393.67122 553.2749 450.7319 514 494.40625 L 493.875 474.28125 L 478.53125 489.625 L 498.8125 509.90625 C 454.60519 551.54347 395.81666 577.85225 330.84375 580.5 L 330.84375 550.625 L 309.125 550.625 L 309.125 580.5 C 245.75843 577.90277 188.27922 552.78453 144.46875 512.90625 L 166.75 490.625 L 151.40625 475.25 L 129.03125 497.625 C 88.023811 453.54834 62.12466 395.24429 59.5 330.84375 L 88 330.84375 L 88 309.15625 L 59.5 309.15625 C 62.147549 244.19408 88.46357 185.42848 130.09375 141.21875 L 152.28125 163.375 L 167.625 148.03125 L 145.65625 126.03125 C 189.31596 86.774378 246.32765 62.073896 309.125 59.5 z M 444.125 104.84375 A 21.0021 21.0021 0 0 0 427.21875 114.71875 L 302.34375 308.625 A 21.0021 21.0021 0 0 0 299 320 L 299 471.25 A 21.0021 21.0021 0 1 0 341 471.25 L 341 326.1875 L 462.53125 137.46875 A 21.0021 21.0021 0 0 0 444.125 104.84375 z "
id="path3896" /></svg>

clock.svg (1.51 KB) Leonid Protasov, 05/20/2014 03:13 PM


Related issues

Related to Bug #2163: SVG should be fixed (add support for modes v, V, h, H) Fixed 05/16/2014

Associated revisions

Revision f27a3f50
Added by Andreas Smas about 4 years ago

Add nanosvg renderer

Fixes #992

Change included in version 4.99.271

History

#1 Updated by Leonid Protasov over 5 years ago

  • Related to Bug #2163: SVG should be fixed (add support for modes v, V, h, H) added

#2 Updated by Leonid Protasov over 5 years ago

  • File clock.svg added
  • Target version set to 4.8

Still reproducible. Attaching the image mentioned in the issue.

#3 Updated by Andreas Smas over 5 years ago

  • Target version deleted (4.8)

#4 Updated by Andreas Smas about 4 years ago

  • Target version set to 5.0

#5 Updated by Andreas Smas about 4 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF