Re: Cairo: Please test mingw installer

2021-07-29 Thread Han-Wen Nienhuys
On Thu, Jul 29, 2021 at 11:32 AM Michael Käppler  wrote:

> Hi Knut,
> thank you very much for your work!
>
> Am 29.07.2021 um 01:13 schrieb Knut Petersen:
> > Here are installers for lilypond with the  cairo backend after a
> > significant remix by Han-Wen. GUB has been changed to use a cairo
> > version that fixes three bugs relevant for lilypond, a test would be
> > nice.
> >
> Here the test results that I could acquire so far.
> At first I tested the mingw installer under Windows 10.
>
> The first problem I noticed with a bigger score was that Lilypond failed
> with
> "schwerer Fehler: Cairo context status 'invalid tag name, attributes, or
> nesting'"
>
> This happens only if point-and-click is enabled. Otherwise it compiles
> fine.
> Under linux-64, with the same input file, this error does not occur.
> Other files also work fine under both architectures.
> Unfortunately I do not have time to cook a minimal failing example.
>
> The following observations are tied to the mingw installer.
>
> A small nit: SVG files are the only ones having no additional 'cairo'
> file extension. Is this intended?
>

"-dbackend=cairo" has to be last.


-- 
Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen


Re: Cairo: Please test mingw installer

2021-07-29 Thread Michael Käppler

Hi Knut,
thank you very much for your work!

Am 29.07.2021 um 01:13 schrieb Knut Petersen:

Here are installers for lilypond with the  cairo backend after a
significant remix by Han-Wen. GUB has been changed to use a cairo
version that fixes three bugs relevant for lilypond, a test would be
nice.


Here the test results that I could acquire so far.
At first I tested the mingw installer under Windows 10.

The first problem I noticed with a bigger score was that Lilypond failed
with
"schwerer Fehler: Cairo context status 'invalid tag name, attributes, or
nesting'"

This happens only if point-and-click is enabled. Otherwise it compiles fine.
Under linux-64, with the same input file, this error does not occur.
Other files also work fine under both architectures.
Unfortunately I do not have time to cook a minimal failing example.

The following observations are tied to the mingw installer.

A small nit: SVG files are the only ones having no additional 'cairo'
file extension. Is this intended?

All output formats compiled fine otherwise and look ok at a first glance.
The cairo pdf file is twice as large as the 'normal' one:

$ ls -l partitur*.pdf
-rw-r--r-- 1 Michael 197121 1586286 Jul 29 10:16 partitur.cairo.pdf
-rw-r--r-- 1 Michael 197121  721407 Jul 29 10:17 partitur.pdf

I made a visual diff of both PDFs. You can download it here:
https://drive.google.com/file/d/1NiPODfHVWjawKXjF2t-wveWE-BjMj0Yc/view?usp=sharing

The 'classic' PDF is green, the cairo PDF is red. If they match exactly
it merges to black.
I could not spot big differences, there is a bunch of very small, subtle
differences, however.

Some timings:
$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond -dpoint-and-click=#f
partitur.ly

real    0m35.632s
user    0m0.000s
sys 0m0.078s

$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond -dpoint-and-click=#f
-dbackend=cairo partitur.ly

real    0m33.175s
user    0m0.015s
sys 0m0.046s

$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond --ps partitur.ly

real    0m33.462s
user    0m0.031s
sys 0m0.062s

$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond --ps -dbackend=cairo
partitur.ly

real    0m39.974s
user    0m0.015s
sys 0m0.062s

$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond --png partitur.ly

real    0m51.850s
user    0m0.000s
sys 0m0.062s

$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond --png -dbackend=cairo
partitur.ly

real    0m47.377s
user    0m0.015s
sys 0m0.062s

$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond --svg partitur.ly

real    1m53.029s
user    0m0.015s
sys 0m0.093s

$ time /d/Lilypond-generic/2.23.4/usr/bin/lilypond -dbackend=cairo --svg
partitur.ly

real    1m39.438s
user    0m0.015s
sys 0m0.046s

Michael





Re: Cairo: Please test mingw installer

2021-07-28 Thread Knut Petersen

Hi James,


Do you still need someone to test this? The link below no longer works 
(Expired?).


Here are installers for lilypond with the  cairo backend after a significant 
remix by Han-Wen. GUB has been changed to use a cairo version that fixes three 
bugs relevant for lilypond, a test would be nice.

Nobody reported a test of the darwin-x86 installer ... do we have any users of 
those old systems?

Installers for dev/hanwen/cairo-wip version ac1ad549 
,
 built with https://github.com/knupero/gub  (uses 
cairo 1.17.4 git 6872490e77fb2):

Installer linux-64 


Installer linux-x86 


Installer mingw 


Installer darwin-x86 


Knut




Re: Cairo: Please test mingw installer

2021-07-27 Thread pkx166h

Knut,

Do you still need someone to test this? The link below no longer works 
(Expired?).


I have a windows 10 box at the moment.

James


On 11/07/2021 14:26, Knut Petersen wrote:

Hi everybody!


I had some time and had a look at GUB. I managed to build a mingw 
installer of lilypond + cairo backend. Gub succeeded, but that does 
not mean a lot ;-)


I do not have access to a PC with a MS Windows installation, so it 
would be nice if a few people could test this installer.


Download lilypond-2.23.4-1.mingw.exe 



Any combination of '--ps', '--pdf', '--svg',  and '--png' should work 
in combination with the '-dbackend=cairo' command line option.


Please report success / failure and the windows version you use.


Thanks,

Knut





Cairo: Please test mingw installer

2021-07-11 Thread Knut Petersen

Hi everybody!


I had some time and had a look at GUB. I managed to build a mingw installer of 
lilypond + cairo backend. Gub succeeded, but that does not mean a lot ;-)

I do not have access to a PC with a MS Windows installation, so it would be 
nice if a few people could test this installer.

Download lilypond-2.23.4-1.mingw.exe 


Any combination of '--ps', '--pdf', '--svg',  and '--png' should work in 
combination with the '-dbackend=cairo' command line option.

Please report success / failure and the windows version you use.


Thanks,

Knut