From 4d9ecc057e42df13d78c7b0e4bb5f8a23c16f9f2 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 10 May 2004 19:00:20 +0000 Subject: [PATCH] (FatalConversionError.func): handle + in font-size. (backportme) --- ChangeLog | 5 +++++ scripts/convert-ly.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 368d51d1ff..66c27657cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-10 Han-Wen Nienhuys + + * scripts/convert-ly.py (FatalConversionError.func): handle + in + font-size. (backportme) + 2004-05-09 Han-Wen Nienhuys * lily/paper-outputter.cc (output_stencil): dump font definitions diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index cc9bb0cd73..934e52ea78 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -1625,7 +1625,7 @@ def conv (str): def func(match): return "#'font-size = #%d" % (2*string.atoi (match.group (1))) - str =re.sub (r"#'font-relative-size\s*=\s*#([0-9-]+)", func, str) + str =re.sub (r"#'font-relative-size\s*=\s*#\+?([0-9-]+)", func, str) str =re.sub (r"#'font-family\s*=\s*#'ancient", r"#'font-family = #'music", str) -- 2.39.5