Lilypond 2.24.4 on Debian Linux. The directory 'fonts' contains two files:
MinionPro-Regular.otf Regular Minion Font
MinionPro-Disp.otf Display version of Minion,
designed for larger point sizes
The attached input file has lyrics at a normal size, but the display
version of the font is selected inappropriately, as can be verified
using the font info feature of common PDF readers.
I can't attach the font files for copyright reasons, but they are standard Adobe issue. I will send them separately if needed.
Might it be that Lilypond is telling the Pango library that it wants a font in 20pt size, and Pango is selecting the variant appropriate to that size, even though the actual lyrics are scaled down?
Workaround: make a special fonts directory for Lilypond that contains only the desired fonts.
-- Mike Spivey
\version "2.24.4"
\language "english"
#(ly:font-config-add-directory "fonts")
\paper {
#(define fonts
(make-pango-font-tree "Minion Pro"
"Nimbus Sans, Nimbus Sans L"
"DejaVu Sans Mono"
1.0))
}
\new Staff <<
\clef "treble" \key g \major
\relative {
g'8 a b-- g--
}
\addlyrics {
Al -- le -- lu -- ia!
}
>>
bug1.pdf
Description: Adobe PDF document
