1 Debian patch touch this file
-
merge Parnassus accidentals into MScore
- Author
- mirabilos <[email protected]>
- Forwarded
- https://github.com/musescore/MuseScore/pull/6747
| •1 | #!/bin/sh |
| 2 | |
| •3 | # ensure that user preferences don't leak into the fonts |
| 4 | FONTFORGE_LOADPREFS=Never |
| 5 | FONTFORGE_VERBOSE=1 |
| 6 | LC_ALL=C |
| 7 | export FONTFORGE_LOADPREFS FONTFORGE_VERBOSE LC_ALL |
| 8 | |
| •9 | # docs for Generate(): |
| 10 | # https://fontforge.org/docs/scripting/scripting-alpha.html#Generate |
| 11 | |
| •12 | # batch convert, with options suitably set |
| 13 | # (0x800 means “generate an old-style kerning table”) |
| 14 | fontforge -lang=ff -script - "$1" <<'EOF' |
| 15 | Open($1) |
| 16 | Generate($1:r + ".ttf", "", 0x800) |
| 17 | EOF |