Upvoted. Maybe it should even be the default to embed the fonts (and only those) that are actually used in the SVG with an option to turn that feature off.

Johannes

Am 14.02.2021 um 20:30 schrieb Jean Abou Samra:

Could we possibly offer the option to embed the
fonts inside of the SVG file or is this nonsense?

Jean
Le 14/02/2021 à 19:48, Werner LEMBERG a écrit :

With 2.18, I see this instead:

<text transform="translate(30.7267, 18.7229)"
       font-family="Century Schoolbook L"
       font-weight="bold"
       font-size="6.9848"
       text-anchor="start"
       fill="currentColor">
<tspan>
aaaa</tspan>
</text>
IMHO, this is as good (or as bad) as a default as 'serif'.  If you
want SVG images to be similar to, say, PDF output, you have

   * to exactly specify which font you want to use for text, and
   * to convert glyphs to paths, for example, by postprocessing
     LilyPond's output SVG file with inkscape's `-T` option.


      Werner


--
Johannes Feulner
Tel: +49 721 33500158  johannes.feul...@scorio.com

scorio GmbH  Bonhoefferweg 3   76327 Pfinztal
Geschäftsführer Johannes Feulner
Sitz der Gesellschaft Karlsruhe
Amtsgericht Mannheim HRB 713486


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to