https://codereview.appspot.com/557640051
new: https://codereview.appspot.com/573730044
Originally created by: *anonymous
Originally created by: v.villenave
LilyPond is getting increasingly good at handling external fonts:
- ly:font-config-add-directory and ly:font-config-add-font have introduced the ability to use specific font files when compiling a score.
- OTF, TTF, Type1 and more recently WOFF fonts are supported (TeX fonts aren't, IIUC).
- Experimental support for 3rd-party music fonts (namely Gonville) has been introduced as well.
All of these nice features are currently not documented in the NR, nor are they demonstrated in the regtests. Can we/should we do something about it?
dak@lola:/usr/local/tmp/lilypond$ out/bin/lilypond input/regression/font-name-add-files.ly
GNU LilyPond 2.21.0
Processing
input/regression/font-name-add-files.ly' Parsing... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to/tmp/lilypond-QdY0Wz'...Converting to
font-name-add-files.pdf'... Deleting/tmp/lilypond-QdY0Wz'...input/regression/font-name-add-files.ly:244:4: error: GUILE signaled an error for the expression beginning here
#
(rmdir dummyfontdir)
Directory not empty
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to
/tmp/lilypond-G1lETy'... Converting tofont-name-add-files-1.pdf'...Deleting `/tmp/lilypond-G1lETy'...
fatal error: failed files: "input/regression/font-name-add-files.ly"
On 4/9/20, David Kastrup dakas@users.sourceforge.net wrote:
I’m at a loss:
valentin / lilypond
$: out/bin/lilypond input/regression/font-name-add-files.ly
GNU LilyPond 2.21.0
Processing
input/regression/font-name-add-files.ly' Parsing... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to/tmp/lilypond-5kKSn3'...Converting to
font-name-add-files.pdf'... Deleting/tmp/lilypond-5kKSn3'...Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to
/tmp/lilypond-BWlrq2'... Converting tofont-name-add-files-1.pdf'...Deleting `/tmp/lilypond-BWlrq2'...
Success: compilation successfully completed
Cheers,
V.
Valentin, it might be my fault - looking through this thread there are at least 2 different rietvelds. Phil's 'script' that scrapes Allura and that I use to pick up the URL for the patchy email (and saves me a lot of time hunting long threads) may have picked up the wrong one which I had tested.
But the commit that david links above is NOT the same (I think) as what I tested.
So, can you clarify which Rietvled we're looking at?
Thanks,
This is https://codereview.appspot.com/557640051/, patch set #4. I did make a mistake when I posted my "pushed as" URL.
I'll retest the patch again.
Passes make, make check and a full make doc.
Reg test diff attached
Patch on countdown for April 17th
Patch counted down - please push.
Issue #1204: fix font-name-add-files regtest
The temporary directory might not be empty if some
versions of fontconfig add a .uuid file inside it.
https://codereview.appspot.com/573730044
Passes make, make check and a full make doc.
Diff:
Oh, now there is a second review and http://www.philholmes.net/lilypond/allura/ picks up the wrong one :-( James, I assume you tested the old patch?
More concise (or ...) syntax for conditional switch
https://codereview.appspot.com/573730044
Passes make, make check and a full make doc.
@jonas - I tested the right patch - having made that mistake already last week.
Patch on countdown for April 23rd
Patch counted down - please push.
"Valentin Villenave" v_villenave@users.sourceforge.net writes:
Seriously? You pushed the old test again. Removing from staging.
Feel free to try again. At least this time I caught it before it got
into master by someone else's Patchy.
--
David Kastrup