Subject: Re: Bug markup postscript ?

From: Martial R <[email-masked]>
Date: Fri, 1 Apr 2022 09:04:38 +0200

Bonjour,

Mis 2.23.7 dans home, (droits vérifiés) : idem
Je suis surpris du nombre de fichiers
2.23.6 : 4761 fichiers
/bin : 63
2.23.7 : 3478 fichiers
bin : 11

%-----------------------------------------

Démarrage lilypond 2.23.7 [Sans titre]...

Log level set to 287

Relocation

LilyPond binary has absolute file name:

/home/martial/lilypond2.23.7/bin/lilypond

Setting INSTALLER_PREFIX to '/home/martial/lilypond2.23.7'

Using run-time value for datadir,

setting it to '/home/martial/lilypond2.23.7/share/lilypond/2.23.7'

Using run-time value for libdir,

setting it to '/home/martial/lilypond2.23.7/lib/lilypond/2.23.7'

Using run-time value for localedir,

setting it to '/home/martial/lilypond2.23.7/share/locale'

Using run-time value for relocdir,

setting it to '/home/martial/lilypond2.23.7/etc/relocate'

Utilisation du répertoire de configuration de la relocalisation

« /home/martial/lilypond2.23.7/etc/relocate »

Fichier de relocalisation
« /home/martial/lilypond2.23.7/etc/relocate/fontconfig.reloc »

Setting de FONTCONFIG_FILE à
/home/martial/lilypond2.23.7/etc/fonts/fonts.conf

Setting de FONTCONFIG_PATH à /home/martial/lilypond2.23.7/etc/fonts

Fichier de relocalisation
« /home/martial/lilypond2.23.7/etc/relocate/guile.reloc »

Ajout de « /home/martial/lilypond2.23.7/share/guile/2.2 » à GUILE_LOAD_PATH

Setting de GUILE_LOAD_PATH à /home/martial/lilypond2.23.7/share/guile/2.2

Ajout de « /home/martial/lilypond2.23.7/lib/guile/2.2/ccache » à
GUILE_LOAD_COMPILED_PATH

Setting de GUILE_LOAD_COMPILED_PATH à
/home/martial/lilypond2.23.7/lib/guile/2.2/ccache

Fichier de relocalisation
« /home/martial/lilypond2.23.7/etc/relocate/libexec.reloc »

Ajout de « /home/martial/lilypond2.23.7/libexec » à PATH

Setting de PATH à
/home/martial/lilypond2.23.7/libexec:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Ajout de « /home/martial/lilypond2.23.7/bin » à PATH

Setting de PATH à
/home/martial/lilypond2.23.7/bin:/home/martial/lilypond2.23.7/libexec:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Setting de GUILE_AUTO_COMPILE à 0

Setting de GUILE_WARN_DEPRECATED à detailed

Setting de XDG_CACHE_HOME à
/home/martial/lilypond2.23.7/share/lilypond/2.23.7

Setting de GC_INITIAL_HEAP_SIZE à 40M

Setting de GC_NPROCS à 1

Setting de GC_FREE_SPACE_DIVISOR à 1

Préfixe effectif : « /home/martial/lilypond2.23.7/share/lilypond/2.23.7 »

FONTCONFIG_FILE="/home/martial/lilypond2.23.7/etc/fonts/fonts.conf"

FONTCONFIG_PATH="/home/martial/lilypond2.23.7/etc/fonts"

GUILE_LOAD_PATH="/home/martial/lilypond2.23.7/share/guile/2.2"

PATH="/home/martial/lilypond2.23.7/bin:/home/martial/lilypond2.23.7/libexec:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

[]

Utilisation du module (ice-9 curried-definitions)

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/lily-library.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/output-lib.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/markup-macros.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/parser-ly-from-scheme.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/file-cache.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-event-classes.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-music-callbacks.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-music-types.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-note-names.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/c++.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/chord-entry.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/skyline.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/markup.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-markup-commands.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/stencil.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/modal-transforms.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/chord-ignatzek-names.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/music-functions.scm

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-music-display-methods.scm]

]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/part-combiner.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/autochange.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-music-properties.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/time-signature.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/time-signature-settings.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/auto-beam.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/chord-name.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-context-properties.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/translation-functions.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/script.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/midi.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/layout-beam.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/parser-clef.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/layout-slur.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/font.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/bar-line.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/flag-styles.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/fret-diagrams.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/tablature.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/harp-pedals.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-woodwind-diagrams.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/display-woodwind-diagrams.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/predefined-fretboards.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-grob-properties.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-grobs.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-grob-interfaces.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/define-stencil-commands.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/scheme-engravers.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/scheme-performers.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/titling.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/paper.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/backend-library.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/color.scm]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/safe-lily.scm]

(primitive-load-path lily): 0.06 seconds

Initialisation de FontConfig...

Ajout du fichier de configuration de fontconfig :
« /home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/00-lilypond-fonts.conf
»

Ajout du fichier de configuration de fontconfig :
« /home/martial/lilypond2.23.7/etc/fonts/fonts.conf »

Ajout du fichier de configuration de fontconfig :
« /home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/99-lilypond-fonts.conf
»

Ajout d'un répertoire de fontes :
« /home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf »

Construction de la base de donnée des fontes...

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/declarations-init.ly
[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
music-functions-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/toc-init.ly]

Utilisation de « nederlands » pour le nom des
notes...[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
drumpitch-init.ly][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
chord-modifiers-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/script-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
chord-repetition-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
scale-definitions-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
dynamic-scripts-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/spanners-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
predefined-fretboards-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
string-tunings-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/property-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/grace-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/midi-init.ly
[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/performer-init.ly
]][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
paper-defaults-init.ly
[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/titling-init.ly
][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/text-replacements.ly
]][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
context-mods-init.ly][/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/
engraver-init.ly]]

Traitement de « /tmp/frescobaldi-1dusxtz9/tmpc95qptmb/document.ly »

Analyse...[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ly/init.ly

Utilisation de « nederlands » pour le nom des
notes...[/tmp/frescobaldi-1dusxtz9/tmpc95qptmb/document.ly]

Interprétation en cours de la musique...

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf/emmentaler-20.otf

nom CFF de la fonte Emmentaler-20 identique.]

temps écoulé : 0.01 secondes

65 éléments dénombrés (7 extensions)

Pré-traitement des éléments graphiques...

95 objets graphiques (grob) dénombrés.

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf/emmentaler-11.otf

nom CFF de la fonte Emmentaler-11 identique.]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf/emmentaler-13.otf

nom CFF de la fonte Emmentaler-13 identique.]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf/emmentaler-14.otf

nom CFF de la fonte Emmentaler-14 identique.]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf/emmentaler-16.otf

nom CFF de la fonte Emmentaler-16 identique.]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf/emmentaler-18.otf

nom CFF de la fonte Emmentaler-18 identique.]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/fonts/otf/emmentaler-23.otf

nom CFF de la fonte Emmentaler-23 identique.]

[lilypond_serif_bold_3.068359375]

nom CFF de la fonte C059-Bold identique.

Détermination du nombre optimal de pages...

[lilypond_serif_3.8662109375]

nom CFF de la fonte C059-Roman identique.

Répartition de la musique sur une page...

Dessin des systèmes...

102 éléments dénombrés.

Initialisation de la liste des fontes CFF à empaqueter.

Embarquement de la fonte « C059-Bold ».

[/usr/share/fonts/opentype/urw-base35/C059-Bold.otf]

Embarquement de la fonte « C059-Roman ».

[/usr/share/fonts/opentype/urw-base35/C059-Roman.otf]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ps/
music-drawing-routines.ps]

[/home/martial/lilypond2.23.7/share/lilypond/2.23.7/ps/lilyponddefs.ps]

temps d'activité de Paper_outputter : 0.02 secondes

Conversion à « document.pdf »...

Préparation de la commande GhostScript pour « /tmp/lilypond-tmp-6609958 » :

mark /OutputFile (./lilypond-tmp-3681114.pdf) /CompatibilityLevel 1.4
/PageSize [595.28 841.89] (pdfwrite) finddevice putdeviceprops pop
(pdfwrite) selectdevice newpath fill (/tmp/lilypond-tmp-3681114) (r) file
.setsafe run

Appel de « gs -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH
-dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-6609958 »...

GPL Ghostscript 9.54.0 (2021-03-30)

Copyright (C) 2021 Artifex Software, Inc. All rights reserved.

This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:

see the file COPYING for details.

Querying operating system for font files...

Can't find (or can't open) font file %rom%Resource/Font/%rom%Resou.

Can't find (or can't open) font file Arial-Bold.

Didn't find this font on the system!

Substituting font Helvetica-Bold for Arial-Bold.

Can't find (or can't open) font file %rom%Resource/Font/%rom%Resource/F.

Can't find (or can't open) font file NimbusSans-Bold.

Can't find (or can't open) font file %rom%Resource/Font/%rom%Resource/F.

Can't find (or can't open) font file NimbusSans-Bold.

Didn't find this font on the system!

Unable to substitute for font.

Error: /invalidfont in /findfont

Operand stack:

Arial-Bold

Execution stack:

%interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2
%stopped_push --nostringval-- .findfontop .findfontop false 1 %stopped_push
1942 1 3 %oparray_pop 1941 1 3 %oparray_pop 1929 1 3 %oparray_pop 1785 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
.findfontop --nostringval-- 2 %stopped_push --nostringval-- 1942 1 3
%oparray_pop 1941 1 3 %oparray_pop 1929 1 3 %oparray_pop 1785 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
.findfontop --nostringval-- 2 %stopped_push --nostringval-- 1877 1 3
%oparray_pop

Dictionary stack:

--dict:728/1123(ro)(G)-- --dict:0/20(G)-- --dict:111/200(L)--

Current allocation mode is local

Last OS error: Permission denied

Current file position is 228688

GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1

Avertissement : « (gs -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH
-dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-6609958) » a
échoué (256)

/home/martial/lilypond2.23.7/share/lilypond/2.23.7/scm/lily/lily.scmerreur
fatale : erreur sur les fichiers "/tmp/frescobaldi-1dusxtz9/tmpc95qptmb/
document.ly"

Arrêté avec le code de retour 1.
%-----------------------------------------------------

-- 
Martial Rameaux

---

From: Martial R <[email-masked]>
Date: Fri, 1 Apr 2022 09:25:42 +0200

Rien à faire,
 j'ai mis la police dans un dossier avec les droits
je l'ai ajouté dans le fichier *.ly ainsi
#(ly:font-config-add-font
"/home/martial/LILYPOND/INCLUDE/fontes/Arial-Bold.ttf")

toutjours pas Mais il y a bien un soucis avec les polices peut-être en ttf
...
ha non test avec un otf ... idem bug

Le ven. 1 avr. 2022 à 00:10, Jean Abou Samra <[email-masked]> a écrit :

> Le 31/03/2022 à 21:53, Martial R a écrit :
> > Merci oui comme ceci ça marche mais le bug n'est pas la police à mon
> > humble avis
>
>
>
> Enfin, je voulais dire avec la recherche des polices dans le système.
> Manifestement, le problème est que GhostScript n'arrive pas à trouver
> Arial. C'est vraiment un domaine très compliqué, et moi je n'y connais
> rien.
>
> Une idée : le log contient
>
> Que se passe-t-il si au lieu de mettre l'exécutable dans /usr/local/
>
> vous le placez simplement dans un dossier sous $HOME ou autre
>
> endroit où vous avez les permissions en tant qu'utilisateur ?
>
> Jean
>
>
>

-- 
Martial Rameaux

---

From: Martial R <[email-masked]>
Date: Fri, 1 Apr 2022 10:25:49 +0200

C'est vraiment un problème avec Ghostscript dans la version 2.23.7 puisque
ça fonctionne en 23.6 !

%---

Les polices sont bien trouvées pour les markup ou Lyrics
\override #'(font-name . "Linux Libertine")

\override LyricText.font-name = "xxx"

%---

%-----------------------------

\version "2.23.7"

<<
\relative c'' {
        \mark\markup\fontsize #8 \override #'(font-name . "Linux
Libertine") \char ##xE000
        a4  d8 bes8 e4 a,4 %21
        a8[(  b!]) d8 bes8  e4 a,8 r8  %22
        r8 a8 b8 c8 b8 a8 b8 d8 %23
        e1~ %24
        e8 r8 r4 r2   \bar "|." %25
}

\addlyrics {
 \lyricmode {
 \override LyricText.font-name =  #"Linux Libertine O"
        ah! tom -- be nei -- ge
        tombe et que n'ai je
        ma bien ai -- mée en -- tre mes bras.
}
}
%-------------------------------

-- 
Martial Rameaux

---

From: Martial R <[email-masked]>
Date: Fri, 1 Apr 2022 10:55:07 +0200

EN 2.23.6 : GPL Ghostscript 9.21 (2017-03-16)

ne trouve pas non plus la police Arial-Bold mais il la substitue ...

%----

Copyright (C) 2017 Artifex Software, Inc. All rights reserved.

This software comes with NO WARRANTY: see the file PUBLIC for details.

Can't find (or can't open) font file
/usr/local/lilypond/usr/share/ghostscript/9.21/Resource/Font/Arial-Bold.

%----

-- 
Martial Rameaux

---

From: Jean Abou Samra <[email-masked]>
Date: Fri, 1 Apr 2022 17:37:19 +0200

> Substituting font Helvetica-Bold for Arial-Bold.

J'ai lancé le sujet sur la liste anglophone dans le fil qui annonce la 
parution de la version 2.23.7.

Jean

---

From: Martial R <[email-masked]>
Date: Fri, 1 Apr 2022 17:43:04 +0200

OK.. Merci !

-- 
Martial Rameaux

---

From: Jean Abou Samra <[email-masked]>
Date: Wed, 6 Apr 2022 12:25:57 +0200

> OK.. Merci !

Jonas dit que c'est normal : dans ces nouvelles binaires, GhostScript
est allégé en supprimant les parties « inutiles », notamment les polices
en question. Lui aussi recommande d'utiliser la syntaxe \markup LilyPond
normale.

Cordialement,
Jean

---

From: Martial R <[email-masked]>
Date: Wed, 6 Apr 2022 13:47:40 +0200

Merci Jean pour la réponse !
Donc tout en syntaxe Lilypond Youpi !

Idemcordialement
-- 
Martial Rameaux

---

From: Martial R <[email-masked]>
Date: Wed, 6 Apr 2022 17:05:18 +0200

Ce qui donne
http://lilybin.com/pivr3v/1

%%%%%%%%%%%%%%%%%%%%%
\version "2.22.2"

EADGBE = \markup {
 \hspace #7
 \bold \huge
 \fontsize #-6.5
 \center-column
 {
  "E""B""G""D""A" "E"
 }
}
%%-------------------------------------------
music = {  c8 e g c' }
<<
 \new Staff {
  \clef "treble_8"  \music
 }
 \new TabStaff \with {
  instrumentName = \markup \EADGBE
  \tabFullNotation
  \omit TimeSignature
 }
 {
  \clef moderntab \music
 }
%%-%%%%%%%%%%%%%%%%%%

-- 
Martial Rameaux