Skip to content

Markers have wrong orientation when imported to MS Office

Summary:

In addition to the wrong arrow head color reported here (#7452 (moved)), the orientation of arrows is wrong when imported to MS Office apps. I noticed that this issue is fixed when using orient="auto" instead of orient="auto-start-reverse" but with the right sign for the transformation transform="scale(-0.7)" (see below).

Steps to reproduce:

  • open Inkscape
  • draw an inclined red line with two arrows on both sides.
  • import the svg or copy the arrow and paste it into one of MS Office apps.
  • arrow heads are horizontal and black!

Sample attachments: Arrow in Inkscape (the arrow SVG is attached):

image

Arrow in Edge browser:

image

Arrow in MS Powerpoint:

image

Arrow in MS Powerpoint after setting orient="auto" instead of orient="auto-start-reverse" in the SVG code for both arrows:

image

image

Arrow in MS Powerpoint after setting orient="auto" instead of orient="auto-start-reverse" in the SVG code for both arrows and using transform="scale(-0.7)" for the upper arrow:

image

image Arrow.svg The arrow is rendered in this case correctly in MS Office and browsers (except the head color which is wrong everywhere)

Version info

Inkscape 1.2.1 (9c6d41e410, 2022-07-14)

    GLib version:     2.72.2
    GTK version:      3.24.34
    glibmm version:   2.66.4
    gtkmm version:    3.24.6
    libxml2 version:  2.9.14
    libxslt version:  1.1.35
    Cairo version:    1.17.6
    Pango version:    1.50.7
    HarfBuzz version: 4.4.1

    OS version:       Windows 11 21H2
Edited by Homam Isp
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information