From: Masamichi Hosoda Date: Mon, 7 Sep 2015 11:04:50 +0000 (+0900) Subject: Issue 4591 / 1: Fix font-name overriding `Times New Roman' X-Git-Tag: release/2.19.28-1~5^2~19 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=64d2c3f619587207c1dcd22f573b9ff4ff34d04f;p=lilypond.git Issue 4591 / 1: Fix font-name overriding `Times New Roman' A comma is required for font name "Times New Roman"'s explicit termination. If there is no comma, Pango interpret "Times New Roman" as "Times New" family with "Roman" style. --- diff --git a/input/regression/font-name.ly b/input/regression/font-name.ly index d0e9a472c5..4d74b6f3c2 100644 --- a/input/regression/font-name.ly +++ b/input/regression/font-name.ly @@ -14,7 +14,12 @@ without size specification." { \override Score.PaperColumn.keep-inside-line = ##f - \override Staff.TimeSignature.font-name = #"Times New Roman" + + % A comma is required + % for font name "Times New Roman"'s explicit termination. + % If there is no comma, Pango interpret "Times New Roman" as + % "Times New" family with "Roman" style. + \override Staff.TimeSignature.font-name = #"Times New Roman," \time 3/4 \set Score.skipBars = ##t \override Staff.MultiMeasureRestText.font-name = #"LuxiMono" diff --git a/input/regression/metronome-mark-formatter.ly b/input/regression/metronome-mark-formatter.ly index 480429f30e..a288c91ced 100644 --- a/input/regression/metronome-mark-formatter.ly +++ b/input/regression/metronome-mark-formatter.ly @@ -16,7 +16,12 @@ mus = \relative c'' { \tempo "Allegro" 8=120-140 a8 b c d a b c d - \override Score.MetronomeMark.font-name = "Times New Roman" + + % A comma is required + % for font name "Times New Roman"'s explicit termination. + % If there is no comma, Pango interpret "Times New Roman" as + % "Times New" family with "Roman" style. + \override Score.MetronomeMark.font-name = "Times New Roman," \tempo "Allegro" 8=140 a b c d a b c d }