Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.0
Description
When line join between first and last element of the path are rendered with painter.path(), the exported svg when loaded in chrome or safari shows missing line join.
if we look at this svg tutorial https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
it looks like looks like in order to have the line join happen in chrome, a 'z' needs to be added as the last element of the path, which is a "close path" command and QSvgGenerator never write a 'z' to the path.
interestingly when same exported svg is loaded in QSvgWidget it renders it correct.
Attached example generates a svg and when this saved svg is loaded in chrome top missing join is visible.