-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Labels
Milestone
Description
Version
v5.1.1
Reproduction link
https://k06zm.csb.app/
Steps to reproduce
- use rich option for xAxis
name: '{i|Hello} {sub|world}',
nameLocation: "middle",
nameTextStyle: {
fontFamily: 'Times New Roman',
fontSize: 19,
padding: [6, 0],
rich: {
sub: {
fontFamily: 'Times New Roman',
fontStyle: 'italic',
verticalAlign: "bottom",
fontSize: 13
},
i: {
fontFamily: 'Times New Roman',
fontStyle: 'italic',
fontSize: 19
}
}
}
},
-
save as SVG file
-
import into a Powerpoint (text rich style lost)
What is expected?
rich text styled as they're defined
What is actually happening?
rich text styles lost in PPT
the SVG code <text style="font: italic 19px "Times New Roman"">Hello</text> not working in PPT, it works in Inkscape.
if being changed into <text font-style="italic" font-size="19" font-family="Times New Roman">Hello</text>, it works in both.