Letter spacing getting lost in SVG export

Discussions about our next-generation scoring application, Dorico.
Post Reply
Frigolito
Junior Member
Posts: 108
Joined: Thu Jan 11, 2018 7:49 pm
Contact:

Letter spacing getting lost in SVG export

Post by Frigolito » Sat Mar 28, 2020 12:55 pm

Hi,
When I tried to export a page of music into an SVG file, I noticed that the letter spacing did not match the original. I investigated this a bit further and I noticed that different fonts are affected in different ways. In the following screenshot I have lined up the Dorico output next to the SVG (Inkscape) output:
Image
I have divided the text into five sections, sampling the current font with different letter spacings:
  1. Font: Academico, Character Style: (None)
  2. Font: Academico, Character Style: Music Text
  3. Font: Bravura Text, Character Style: (None)
  4. Font: Bravura Text, Character Style: Music Text
  5. Font: Bravura Text, Character Style: Music Text
As you can see, Academico’s letter spacing is getting completely ignored while Bravura Text’s letter spacing is getting lost in translation ending up in word spacing as long as the glyphs are not music symbols. The character style doesn’t seem to affect the result in any way.

I also want to mention that I tried to open the same SVG file in Internet Explorer and the result was the same, except that the letters (but not the clefs) of the Bravura Text font was replaced with Times New Roman (but the letter spacing was lost in translation in the same way as in Inkscape). I also tried to export the page into the other available formats, and it seems like SVG is the only format with this problem.

All the best!
Attachments
Annotation 2020-03-27 235822 Letter spacing.png
(77.54 KiB) Not downloaded yet
HW: Intel Core i5-8300H | Intel Optane Memory 16 GB | Realtek High Definition Audio
SW: Microsoft Windows 10 Home 10.0.17763 | Steinberg Dorico Pro 3.1.10.1032 | Wallander Instruments NotePerformer 3.3.1 | C o c k o s REAPER 6 | Native Instruments Komplete 12 Ultimate | EastWest Play 5.0.6 | Avid Sibelius 7.1.3

User avatar
Daniel at Steinberg
Moderator
Posts: 17108
Joined: Mon Nov 12, 2012 10:35 am
Contact:

Re: Letter spacing getting lost in SVG export

Post by Daniel at Steinberg » Sat Mar 28, 2020 11:47 pm

This is a limitation in Qt's SVG export, I'm afraid. I suggest that you work around this by importing PDF into Inkscape instead, at least for the time being. (We may be able to address this by doing further development work on Qt's SVG export routines, but that's unlikely to be anything we have time for any time soon.)

Frigolito
Junior Member
Posts: 108
Joined: Thu Jan 11, 2018 7:49 pm
Contact:

Re: Letter spacing getting lost in SVG export

Post by Frigolito » Sun Mar 29, 2020 10:39 am

Thanks for the tips! I’ll stick to PDF-export then!
HW: Intel Core i5-8300H | Intel Optane Memory 16 GB | Realtek High Definition Audio
SW: Microsoft Windows 10 Home 10.0.17763 | Steinberg Dorico Pro 3.1.10.1032 | Wallander Instruments NotePerformer 3.3.1 | C o c k o s REAPER 6 | Native Instruments Komplete 12 Ultimate | EastWest Play 5.0.6 | Avid Sibelius 7.1.3

Post Reply

Return to “Dorico”

Who is online

Users browsing this forum: Dan S, lucas_r_r, LWestendorf, notesetter, pianoleo and 7 guests