Share via

Powerpoint not displaying SVG correctly

Anonymous
2020-01-09T12:49:43+00:00

Issue: When I insert a SVG, it doesnt show up correctly.

Office 365 Version: 16.0.12228.20100

SVG Code

<?xml version="1.0" standalone="yes"?>

<svg id="circleBase" opacity="1" width="93px" height="140px" version="1.1">

 <defs>

  <marker id="0.34345532943162227" viewBox="0 0 12 12" markerWidth="12" markerHeight="12" refX="1" refY="3.8499999999999996" orient="auto">

   <polygon points="8 0 0 5.5 8 12 8 0" style="transform: scale(0.7)" fill="#252627" />

  </marker>

  <marker id="0.9474718016032786" viewBox="0 0 12 12" markerWidth="12" markerHeight="12" refX="4.199999999999999" refY="3.8499999999999996" orient="auto">

   <polygon points="0 0 0 12 8 5.5 0 0" style="transform: scale(0.7)" fill="#252627" />

  </marker>

 </defs>

  <rect width="100%" height="100%" stroke-width="1" stroke="red" fill="none"/>

 <path fill="none" stroke-width="3" d="M 44.99237441718835 169.5139592278682 A 121.54499999999999 121.54499999999999 0 0 1 108.35635246589857 59.764329877823045" marker-end="url(#0.9474718016032786)" marker-start="url(#0.34345532943162227)" style="transform:translate(-29.954998016357422px,-44.764339447021484px)" stroke="#252627"></path>

</svg>

Screen Shot: When I load it on a Browser (note the red bounding box rect)

Screen Shot: When I load it in a SVG editor

Finally: When I load it in Powerpoint

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. John Korchok 232.7K Reputation points Volunteer Moderator
    2020-01-09T17:18:40+00:00

    SVG is a relatively new format in PowerPoint. To report this bug, please click on File>Feedback, then click on the Send a Frown button. Describe the problem in detail as you've done and include a screen shot with your screen caps. Submitting sends the report to the PowerPoint programming team.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. John Korchok 232.7K Reputation points Volunteer Moderator
    2020-01-13T18:37:53+00:00

    Thanks for posting, I'm sure that will help others. It's extremely rare for Microsoft to reply to bug reports.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-01-13T18:25:47+00:00

    SVG is a relatively new format in PowerPoint. To report this bug, please click on File>Feedback, then click on the Send a Frown button. Describe the problem in detail as you've done and include a screen shot with your screen caps. Submitting sends the report to the PowerPoint programming team.

    Thanks John, appreciate your quick response. I do not yet have any response to my frown yet :))

    ok I Figured - PPT does not like the style attribute in SVG

    It rendered the image well when the SVG was rewritten like

     <path fill="none" stroke-width="3" d="M 44.99237441718835 169.5139592278682 A 121.54499999999999 121.54499999999999 0 0 1 108.35635246589857 59.764329877823045" marker-end="url(#0.9474718016032786)" marker-start="url(#0.34345532943162227)" transform="translate(-29.954998016357422,-44.764339447021484)" stroke="#252627"></path>

    Was this answer helpful?

    0 comments No comments