Out of couriosity - does the introduction of Cairo bring us any closer to
rendering LilyPond directly in web browser (i.e. with WebAssembly)? Have
anyone considered that?


W dniu środa, 24 sierpnia 2022 Jean Abou Samra <j...@abou-samra.fr>
napisał(a):

> Le 24/08/2022 à 09:49, Andrew Bernard a écrit :
>
>> Is Cairo related to producing PDF or only SVG?
>>
>
>
> Both, but its advantages are the most shiny on SVG output, where it
> produces output enormously faster, and embeds fonts in the SVG file which
> ensures they can be viewed on any browser without getting fallback fonts.
>
> PDF output is also faster, but the difference is not very noticeable for
> normal use (although it is noticeable when compiling lots and lots and lots
> of snippets, like when compiling the LilyPond documentation), whereas SVG
> output in the current default SVG backend is really slow, and gets just as
> fast as PDF output with Cairo.
>
> The PDF Cairo backend currently doesn't support all features of the
> traditional PS backend (-dembed-source-code for example).
>
> Jean
>
>
>

Reply via email to