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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to