]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4591 / 3: Fix font-name overriding wrong name
authorMasamichi Hosoda <trueroad@trueroad.jp>
Mon, 7 Sep 2015 13:12:56 +0000 (22:12 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Thu, 17 Sep 2015 14:28:15 +0000 (23:28 +0900)
Some font names do not exist.
This commit replaces them with correct font names.

Documentation/de/notation/text.itely
Documentation/es/notation/text.itely
Documentation/fr/notation/text.itely
Documentation/it/notation/text.itely
Documentation/ja/notation/text.itely
Documentation/notation/text.itely
Documentation/snippets/new/changing-stanza-fonts.ly [new file with mode: 0644]
input/regression/font-name.ly

index fedd9bf80717118fa4fe98ce6bdcfbe23811a2ac..dfc5eef14d60bbe3052073475a8fe813dd233f50 100644 (file)
@@ -1593,7 +1593,7 @@ verwendet man folgende Syntax:
 \time 3/4
 
 a'1_\markup {
-  \override #'(font-name . "Vera Bold")
+  \override #'(font-name . "Bitstream Vera Sans Bold")
     { Vera Bold }
 }
 @end lilypond
index 2a55ec7252360db7d95ba797a97601b7fcb3b5c3..d301757b0e68e0d31aa0c4d3863c0f877de51a5f 100644 (file)
@@ -1576,7 +1576,7 @@ FontConfig, usando la siguiente sintaxis:
 \time 3/4
 
 a'1_\markup {
-  \override #'(font-name . "Vera Bold")
+  \override #'(font-name . "Bitstream Vera Sans Bold")
     { Vera Bold }
 }
 @end lilypond
index 56f08f8538bc7657e3c05fa031b5f0f6807a5266..f66e432aed1d4b30e4aa623cdb78c488152121ca 100644 (file)
@@ -1600,7 +1600,7 @@ respectez la syntaxe suivante :
 \time 3/4
 
 a'1_\markup {
-  \override #'(font-name . "Vera Bold")
+  \override #'(font-name . "Bitstream Vera Sans Bold")
     { Vera Bold }
 }
 @end lilypond
index 672a17dec3a96c0e70ac3b8d6b903c0317dc3c2b..d4820c4d1cd015361ab5077a8daa62c124eca405 100644 (file)
@@ -1539,7 +1539,7 @@ sintassi:
 \time 3/4
 
 a'1_\markup {
-  \override #'(font-name . "Vera Bold")
+  \override #'(font-name . "Bitstream Vera Sans Bold")
     { Vera Bold }
 }
 @end lilypond
index 72d31153cd36c57e7ed3c10b9d36df8d00ea4f5e..a737f2963f114797c6272b7d9048afc26800d479 100644 (file)
@@ -1554,7 +1554,7 @@ FontConfig に認識されている任意のフォントを@c
 \time 3/4
 
 a'1_\markup {
-  \override #'(font-name . "Vera Bold")
+  \override #'(font-name . "Bitstream Vera Sans Bold")
     { Vera Bold }
 }
 @end lilypond
index 85f48e4e7b3f50b135706be090523ee2e6ef3dea..ae40256caa28a5536cb8a16ef78a17f5ae153486 100644 (file)
@@ -1531,7 +1531,7 @@ FontConfig may be used in a score, using the following syntax:
 \time 3/4
 
 a'1_\markup {
-  \override #'(font-name . "Vera Bold")
+  \override #'(font-name . "Bitstream Vera Sans Bold")
     { Vera Bold }
 }
 @end lilypond
diff --git a/Documentation/snippets/new/changing-stanza-fonts.ly b/Documentation/snippets/new/changing-stanza-fonts.ly
new file mode 100644 (file)
index 0000000..3988ec6
--- /dev/null
@@ -0,0 +1,29 @@
+\version "2.18.0"
+
+\header {
+  lsrtags = "really-simple, vocal-music"
+
+  texidoc = "
+Fonts can be changed independently for each stanza, including the font
+used for printing the stanza number.
+
+"
+  doctitle = "Changing stanza fonts"
+} % begin verbatim
+
+\new Voice {
+  \time 3/4
+  g2 e4
+  a2 f4
+  g2.
+}
+\addlyrics {
+  \set stanza = #"1. "
+  Hi, my name is Bert.
+}
+\addlyrics {
+  \override StanzaNumber.font-name = #"DejaVu Sans"
+  \set stanza = #"2. "
+  \override LyricText.font-family = #'typewriter
+  Oh, ché -- ri, je t'aime
+}
index 4d74b6f3c22266ce50fd4e2349f158076b13b45a..f2a05774a658dd48278c4aad27a44076424eacbd 100644 (file)
@@ -22,11 +22,11 @@ without size specification."
   \override Staff.TimeSignature.font-name = #"Times New Roman,"
   \time 3/4
   \set Score.skipBars = ##t
-  \override Staff.MultiMeasureRestText.font-name = #"LuxiMono"
-  R1*21^"Rest in LuxiMono"
+  \override Staff.MultiMeasureRestText.font-name = #"Luxi Mono"
+  R1*21^"Rest in Luxi Mono"
 
   c'1_\markup {
-    \override #'(font-name . "Vera Bold")
+    \override #'(font-name . "Bitstream Vera Sans, Bold")
       \override #'(font-size . 4)
         { This text is in large Vera Bold }
   }