From 4dec2361dc21251d0f07d03f5376531b35e6de02 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Sun, 7 Mar 2010 11:53:14 -0800 Subject: [PATCH] SVG backend: fix loading of new fetaText strings. The hackish workaround for substituting "emmentaler" for "feta-alphabet" is no longer needed. --- scm/lily-library.scm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/scm/lily-library.scm b/scm/lily-library.scm index eebc231ac5..262d912b9c 100644 --- a/scm/lily-library.scm +++ b/scm/lily-library.scm @@ -698,14 +698,8 @@ applied to function @var{getter}.") ;;; FONT may be font smob, or pango font string... (define-public (font-name-style font) - ;; FIXME: ughr, barf: feta-alphabet is actually emmentaler - (if (and (string? font) - (string-prefix? "feta-alphabet" font)) - (string-append "emmentaler" - "-" - (substring font - (string-length "feta-alphabet") - (string-length font))) + (if (string? font) + (string-downcase font) (let* ((font-name (ly:font-name font)) (full-name (if font-name font-name (ly:font-file-name font)))) (string-downcase full-name)))) -- 2.39.2