]> git.donarmstrong.com Git - lilypond.git/commitdiff
[font-name-font-size.ly]: Use Emmentaler font.
authorWerner Lemberg <wl@gnu.org>
Mon, 17 Jan 2011 02:50:18 +0000 (03:50 +0100)
committerWerner Lemberg <wl@gnu.org>
Mon, 17 Jan 2011 16:26:44 +0000 (17:26 +0100)
This change ensures that lilypond doesn't rely on an external font while
compiling; for non-GUB builds it might happen that FontConfig selects a
non-scalable font otherwise.

input/regression/font-name-font-size.ly

index a0ba3a2e209cafc100950dd21eb33e9c7e5497ec..28c32c3bd98e0891f1067491cbfad438c43fda02 100644 (file)
@@ -5,11 +5,16 @@
 Setting the @code{font-name} property does not change the font
 size.  The two strings below should be concatenated and have the
 same font size.
+
+Note that `the same font size' is related to what lilypond reports
+on the console if in verbose mode (3.865234375 units for this
+regression test).  If you actually look at the two fonts the
+optical size differs enormously.
 "
 }
 
 \markup \concat {
-  "string"
-  \override #'(font-name . "New Century Schoolbook")
-  "string"
+  "pfsm"
+  \override #'(font-name . "Emmentaler-20")
+  "pfsm"
 }