Replies: 4 comments 2 replies
-
|
Hey, Thanks a lot for that feature! Are you planning on implementing a way to explicitly emit an error/warning during drawing or/and exporting to svg, rather than silently falling back to foreignObject ? |
Beta Was this translation helpful? Give feedback.
-
|
This feature is indeed useful - I wonder, could it be extended to include the background color also? I realise that technically SVG canvas color does not exist, but this can be overcome by using Indeed that appears to be what happens when you export diagrams via [File > Export as > SVG] and deselect transparent background. Certainly this would help for many of my own diagrams, which rely on the label background color to contrast against underlying objects. |
Beta Was this translation helpful? Give feedback.
-
|
Need this feature. Text in text boxes get truncated when the SVG imported into LibreOffice Writer. I noticed the problem still persists in v29.2.7. |
Beta Was this translation helpful? Give feedback.
-
|
Use Convert labels to SVG instead:
See #5165 |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
SVG Label Rendering Option
By default, formatted text and text with word wrapping are rendered as HTML using
foreignObjectelements. However, this approach may cause compatibility issues in certain viewers.Enabling this option will attempt to render labels as SVG, using
<text>and<tspan>elements instead of HTML. Currently, the following is supported: bold, italic, underline,strikethrough, superscript, subscript,<font>and<span>elements. If the label cannot be represented as SVG, aforeignObjectwill be used instead.Note: Word wrapping is disabled for labels that were successfully converted when this option is enabled.
Requires v28.0.3 or later
Beta Was this translation helpful? Give feedback.
All reactions