• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

TrueType-Schrift schaltet plötzlich auf Halbfett um

Begonnen von Amandus, Montag, 18. Mai 2009, 19:31

Vorheriges Thema - Nächstes Thema

Amandus

Hallo,

ich kann nicht nachvollziehen, warum LilyPond 2.12.2 aufeinmal den Liedtext von Regular auf Medium umschaltet.

Ich habe im Ordner meiner Fonts (C:\WINDOWS\Fonts) die ganze Schriftfamilie komplett gelöscht und neu installiert, ebenso LilyPond.

Ein »lilypond -dshow-available-fonts« ergibt u. a. folgendes:

family Persistent
Persistent,Persistent\-Medium:style=Medium,Regular

und

family Persistent
Persistent:style=Regular

Kennt jemand dieses Verhalten? Wie bekomme ich doch noch meinen Text mit Regular gesetzt?

Amandus

Meine Präambel:
\version "2.12.2"

\paper  {
  #(set-paper-size "a5")
  myStaffSize = #20
  #(define fonts
    (make-pango-font-tree "Persistent"
                          "Nimbus Sans"
                          "Luxi Mono"
                           (/ myStaffSize 20)))
   fontSize = #-2
   tagline = ##f
}

\layout {
  indent = #0
\context {
         \Score
         \remove "Bar_number_engraver"
}
}

mBreak = { \break }
#(ly:set-option 'backend 'eps)
#(ly:set-option 'gs-load-fonts #f)
#(ly:set-option 'include-eps-fonts #t)

derHindemith

Ich benutze einfach die \override #'(font-name . "Persistent") oder \override #'font-name . "Persistent Bold"). 3.2.31 im program-reference steht: Specifies a file name (without extension) of the font to load. This setting overrides selection using font-family, font-series and font-shape.
d.h. "medium", "regular", u.a. sind nicht verfügbar, und alles kommt nur von dem Schriftart. Hat dieser Schriftart solche variante? Ich habe gesucht aber könnte den Schriftart nicht finden.