Created attachment 169457 [details] Sample SVG file Suppose you create a drawing and associate some text to it. If you apply OpenType substitution tables to the text and export to SVG, the font is ignored and a substitution used, breaking the formatting. Notice that OpenType tags work within Draw, it's the export that fails. Problem is present in 6.4 but also in 7.1 The attached SVG file was created with Draw. The first line in the left box was created using Libertinus Serif:smcp as font. The third line was created selecting the word Superscript and applying Libertinus Serif:sups as font to it. The right box was created with normal "character effects." PDF export works as intended.
Created attachment 169458 [details] Original ODG file (it uses Libertinus Serif font) The ODG file used to create the SVG export.
Created attachment 178115 [details] Exported SVG with no issue I get a different result and it seems fine. Already fine for me in the latest of 7.1 Linux bibisect repo. Can you re-test it? Arch Linux 64-bit Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 32c946c064cc2889bda2f46c1862e5100f0a257a CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 7 February 2022
The content of attachment 178115 [details] has been deleted for the following reason: Mistake
Sorry, I did not have Libertinus installed. I reproduce that the left superscript is gone with the export.
Dear RGB, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I can reproduce the problem with both: Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 60(Build:1) CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-ES (es_ES.UTF-8); UI: es-ES Calc: threaded and Version: 24.2.0.3 (X86_64) / LibreOffice Community Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1 CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-ES (es_ES.UTF-8); UI: es-ES Calc: threaded
Additional notes: the resulting SVG fails on any application OTHER than LibreOffice. For example, opening it on Inkscape or using it on a LaTeX document fails to use the right font when OpenType features are used. BUT, inserting the resulting SVG on a LibreOffice document seems to "work." I opened the resulting SVG on a text editor and on line 36 I found this: <font-face font-family="Libertinus Serif:smcp embedded" units-per-em="2048" font-weight="normal" font-style="normal" ascent="1826" descent="503"/> and then similar instructions on lines 52, 103, etc. I know absolutely nothing about how SVG defines fonts, but using the "extended font name" there seems wrong. Maybe this problem is related with Bug 118417?