add dynamic n for “niente” to feta
For a discussion see the following blog posts and their comment
sections:
http://lilypondblog.org/2014/02/feta-and-bravura/
http://lilypondblog.org/2014/01/smufl-fonts-in-lilypond/
http://lilypondblog.org/2014/04/using-special-characters-from-smufl-fonts/
The first post mentions also italic numbers for fingerings/tuplets which
Feta doesn’t contain yet (issue 5074).
The “niente” n is a copied and modified version of the “mezzo” m code.
Contains also:
add dynamic script \n command for “niente”
Diff:
Diff:
add niente to existing regression test
http://codereview.appspot.com/339090043
Fails make check
This warning also happens with the original (current master) test if I’m not mistaken. Should I add something like
to fix it? It would be enough to get rid of that warning in current master and in my patched version of the regtest.
make n a bit narrower, get rid of too small crescendo warning
http://codereview.appspot.com/339090043
OK this time I am getting a Ghostscript error (I did verify that the issue is not local to me by doing a full build of everything on current master which passed).
Looks like it doesn't 'understand' the /n switch
Cannot reproduce (edit: yes, I can, see below) but I get other misbehaviour. However, I’ve got the impression that this is not the fault of this patch but that partial recompilation works fine with all C++ stuff but not in all cases with the fonts. I tried the following (using gs 9.22):
The regtest diffs show a big sans-serif “Q” instead of the feta/dynamic “n”; if i compile it by hand
a big sans-serif “n” is shown.
Ok. After writing the text above I thought I should try a full recompilation. I recompiled both lilypond and the tests after a clean
The
make checkfails but compilingdynamics-glyphs.lyby hand shows a correct output.(I didn’t check whether/in which cases setting the CPU_COUNT is needed but at least it doesn’t harm …)
Last edit: Malte Meyn 2017-12-29
the CPU_COUNT can be used for any of the make commands.
Note that what you did and what I do to test the patch are not the same here.
Here's my work flow from a clean $LILYPOND_GIT; in case it helps you.
mkdir build
./autogen --noconfigure
cd build
../configure --disable-optimising
make -j6 CPU_COUNT=6
make -j6 CPU_COUNT=6 test-baseline
apply patch (however you do that)
make -j6 CPU_COUNT=6 clean
make -j6 CPU_COUNT=6
make -j6 CPU_COUNT=6 check
(then I do a make doc after that).
If any of the makes fails after applying the patch, then I try to report what I get but sometimes it is hard because of the multi-jobs I run when testing.
Can reproduce. But I’m now almost 100% sure that this is a problem of the build/test system: I did the same things with the two branches swapped (new build dir, configure, checkout dev/malte/dynamicniente, make, make test-baseline, checkout master (“apply reverse patch”), make clean, make, make check) and gs and thus make check failed on master.
So I would suggest to check this regtest by hand and allow it to be reviewed and pushed even if it seems to break make check. Of course only if someone who knows more about the build system than I do approves.
Hm … The last time I can see there was a new character added to Feta was the z-shaped quarter rest three years ago [#4211]. There were no problems with make check.
Related
Issues:
#4211Staging only gets merged into master if it passes all the make steps.
We need to understand why this doesn't pass make check.
Malte, can you give the full output of your 'configure' step run please?
Yes, that makes sense.
See attachment.
Would it be possible to get the failing PS file? Maybe it helps if we can inspect it.
It contains the “word” /m at two places: l. 705 and l. 884, similar for /f, /p, /r, /s, /z. The “word” /n cannot be found.
It seems that you have to add
/nto the fileps/encodingdefs.ps.Hm … That of course was not done for [#4211] (https://codereview.appspot.com/177640043) because that file was added later (commit cd5b559ab01, [#4251]). I’ll try it next year ;)
Related
Issues:
#4211Issues:
#4251add /n to encodingdefs.ps
http://codereview.appspot.com/339090043
Not quite there yet - still fails make check
...
fatal error: Unlisted glyphs in Documentation/included/font-table.ly: (n)
...
Oh f…, I’m sorry. I’ll try my best to make it work with the next patch set. I’m not sure what I’m doing wrong because I thought I always
make checkbefore submitting a new patch set. But maybe I should alsomake doc.I've just updated mf/README accordingly :-)
fix encoding vector lengths, add "n" to font-table.ly, add \n to NR
http://codereview.appspot.com/339090043