lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Engraving chord names in Linux


From: Thomas Morley
Subject: Re: Engraving chord names in Linux
Date: Sun, 23 Dec 2018 11:57:48 +0100

Am Fr., 21. Dez. 2018 um 17:54 Uhr schrieb Jogchum Reitsma
<address@hidden>:
>
> Hi list,
>
> I use lilypond 2.18 on OpenSuse Tumbleweed (the rolling distro from Suse). On 
> that combination, displaying chord names in .pdf-form gives error messages 
> grom ghostscript (gs) in the transition from a .ps-file to a .pdf-file. When 
> for example the snippet from 
> http://lilypond.org/doc/v2.18/Documentation/learning/notes-and-chords.nl.html 
> is fed to lilypond, with logging set to its maximum,, the last messages are:
>
> Opmaakuitvoer naar `Akkoorden.ps'...
> [/usr/share/fonts/truetype/CenturySchL-Roma.otf]
> [/usr/share/fonts/truetype/Roboto-Regular.ttf]
> [/usr/share/lilypond/2.18.2/ps/music-drawing-routines.ps]
> [/usr/share/lilypond/2.18.2/ps/lilyponddefs.ps]
> Converting to `./Akkoorden.pdf'...
> Aanroepen van 'gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 
> -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 
> -sDEVICE=pdfwrite -sOutputFile=./Akkoorden.pdf -c.setpdfwrite 
> -fAkkoorden.ps'...
>
> GPL Ghostscript 9.26 (2018-11-20)
> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Error: /invalidfont in --glyphshow--
> Operand stack:
>    1.7072   43.7677   -7.0809   D
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--   
> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
> --nostringval--   false   1   %stopped_push   2029   1   3   %oparray_pop   
> 2028   1   3   %oparray_pop   2009   1   3   %oparray_pop   1868   1   3   
> %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval-- 
>   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   0 
>   --nostringval--   %repeat_continue   --nostringval--
> Dictionary stack:
>    --dict:960/1684(ro)(G)--   --dict:0/20(G)--   --dict:114/200(L)--
> Current allocation mode is local
> Current file position is 946206
> GPL Ghostscript 9.26: Warning: 'loca' length 13 is greater than numGlyphs 1 
> in the font Roboto-Regular.
> GPL Ghostscript 9.26: Unrecoverable error, exit code 1
>
> Generating the .ps-file goes withjout warning, but if one opens that .ps in a 
> viewer, one does ee the triangle above  the fist bar (between the last 2 
> quarter notes), but no chord names.
>
> The .pdf-file is not generated by gs.
>
> The snippet reads as follows:
>
> \version "2.18.2"
>
> melody = \relative c' {
>   \clef treble
>   \key c \major
>   \time 4/4
>
>   f4 e8[ c] d4 g
>   a2 ~ a
> }
>
> harmonies = \chordmode {
>   c4:m f:min7 g:maj c:aug
>   d2:dim b:sus
> }
>
> \score {
>   <<
>     \new ChordNames {
>       \set chordChanges = ##t
>       \harmonies
>     }
>     \new Staff \melody
>   >>
>   \layout{ }
>   \midi { }
> }
>
> When I comment out the two lines in the chormode section, everything is OK.
>
> What can be/can I do to display chord names?
>
> regards, Jogchum Reitsma

Hi,

how comes you're using 2.18.2 with Ghostscript 9.26?
This ly-version is released with Ghostscript 8.70.

You're problem sounds like missing fonts (the triangle is drawn, not
from a font).

I was not able to reproduce your problem, although I've build 2.18.2
from the stable/2.18-branch with Ghostscript 9.27.



Sorry to be of not more help,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]