FS#25000 - [fontforge] lilypond notation bug
Attached to Project:
Community Packages
Opened by Frederik Vos (inktvis75) - Sunday, 03 July 2011, 14:45 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 20 January 2012, 16:49 GMT
Opened by Frederik Vos (inktvis75) - Sunday, 03 July 2011, 14:45 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 20 January 2012, 16:49 GMT
|
Details
Description:
If you compile a lilypond file, the half note is not correctly written (it's written like a fat quarter note) The problem exist with the 2.14.1 version and with the version in AUR. Using the binary file from the lilypond website, everything is ok. |
This task depends upon
Gaetan, could you please check - can it be fontforge (the same as https://bbs.archlinux.org/viewtopic.php?id=103644 ) issue?
When did you start noticing this problem? Can you reproduce it with earlier versions of our fontforge and/or lilypond packages?
what if you build previous version of lilypond on fresh system?
http://projects.archlinux.org/svntogit/community.git/tree/lilypond/trunk?id=42bce223d693c58ab1162f30bf299d818970b452
contains 2.12.3-7 pkgbuild
Layout output to `t10.ps'...
Converting to `./t10.pdf'...
`(gs -q -dSAFER -dDEVICEWIDTHPOINTS=419.53 -dDEVICEHEIGHTPOINTS=595.28 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./t10.pdf -c.setpdfwrite -ft10.ps)' failed (256)
but:
lilypond --format=png t10.ly
gives a correct png file and a correct ps file
s -dSAFER -dDEVICEWIDTHPOINTS=419.53 -dDEVICEHEIGHTPOINTS=595.28 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./t10.pdf -c.setpdfwrite -ft10.ps
GPL Ghostscript 9.02 (2011-03-30)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /ioerror in --showpage--
Operand stack:
1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1777 0 3 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
--dict:1157/1684(ro)(G)-- --dict:0/20(G)-- --dict:120/200(L)--
Current allocation mode is local
Last OS error: 28
Current file position is 236615
GPL Ghostscript 9.02: Unrecoverable error, exit code 1
revert back to lilypond from extra repo, runned as root, it's also ok!
as normal user, i'll get the same error as the git version
btw: i didnt had that error before, just the wrong notation
i am not able to fix the older version:
Traceback (most recent call last):
File "out/midi2ly", line 50, in <module>
import midi
ImportError: /home/frederik/AUR/lilypond/src/lilypond-2.12.3/python/out/midi.so: undefined symbol: Py_InitModule
help2man: can't get `--help' info from out/midi2ly
make[1]: *** [out/midi2ly.1] Error 1
make[1]: Leaving directory `/home/frederik/AUR/lilypond/src/lilypond-2.12.3/scripts'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
1) download binary from lilypond website
2) sh lilypond-2.14.1-1.linux-64.sh --tarball
3) tar xjvf lilypond-2.14.1-1.linux-64.tar.bz2
4) cp -R usr/share/lilypond/current/fonts/{otf,svg} /usr/share/lilypond/2.14.1/fonts/
So something is wrong in the fonts in the lilypond package, and the same problem is there if you compile it from source (using the devel or git version from AUR)
Invoking "fontforge -script parmesan18.pe parmesan18.pfb"...
Copyright (c) 2000-2011 by George Williams.
Executable based on sources from 13:48 GMT 22-Feb-2011-ML.
Library based on sources from 13:48 GMT 22-Feb-2011.
Internal Error (overlap) in noteheads.sM2neomensural: Mismatched intersection.
(522.624,-427.312)->(500,-179.022) ends at (-999999,-999999) while (500,-179.022)->(462.232,-180.56) starts at (500,-179.022)
Internal Error (overlap) in noteheads.sM2neomensural: Winding number did not return to 0 when x=499.999
Internal Error (overlap) in noteheads.sM2neomensural: Winding number did not return to 0 when x=499.999
Internal Error (overlap) in noteheads.sM2neomensural: monotonic is both needed and unneeded (500,-179.022)->(462.232,-180.56). x=499.999 (prev=469.804)
Internal Error (overlap) in noteheads.sM2neomensural: Winding number did not return to 0 when x=499.999
Internal Error (overlap) in noteheads.sM2neomensural: Humph. This monotonic leads nowhere (499.998,-179.023)->(499.998,-179.022).
Internal Error (overlap) in noteheads.sM2neomensural: Expected needed monotonic @(500,-179.022) (500,-179.022)->(462.232,-180.56).
Internal Error (overlap) in noteheads.sM2neomensural: Closing contour with unneeded path
Internal Error (overlap) in noteheads.sM2neomensural: Expected needed monotonic @(462.232,-180.56) (481.093,-197.93)->(500,-179.022).
Before moving it to [extra], I will wait a few days for fontforge developers to reply to my query about whether a new release is coming soon.
Frederik, could you please try it too?
\version "2.14.2"
%the following gives no barlines in pdf output
\relative c'' {
c1 | c1 | c1 |
}
is it ok?