Hi,
I was hoping someone could help me figure out how to fix this font issue.
For quite some number of years,
I've been using this function that prints custom text for volta ending labels.
But now it is producing strange results.
The image from the below MWE is attached, it shows that some of the letters are being rendered in a much smaller and different font than the rest. This includes letters f, s, r, n, m
\version "2.22.0"
voltaDoubleCustom = #(define-music-function (repMusicCommon repEndingA repMusicA repEndingB repMusicB) (ly:music? markup? ly:music? markup? ly:music?) #{
\set Score.repeatCommands = #'(start-repeat)
$repMusicCommon
\set Score.repeatCommands = #(list (list 'volta repEndingA))
$repMusicA
\set Score.repeatCommands = #(list (list 'volta #f) 'end-repeat (list 'volta repEndingB))
$repMusicB
\set Score.repeatCommands = #'((volta #f))
#})
{
\voltaDoubleCustom
{ c''8 8 8 8 8 8 8 8 }
\markup "first"
{ c''8 8 8 8 8 8 8 8 }
\markup "second"
{ c''8 8 8 8 8 8 8 8 }
}
Please let me know if you have any advice.
Thanks,
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Send lilypond-user mailing list submissions to
lilypond-user@gnu.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
lilypond-user-request@gnu.org
You can reach the person managing the list at
lilypond-user-owner@gnu.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."
Today's Topics:
1. Allowing a collision (Paul Hodges)
2. Re: Allowing a collision (Jean Abou Samra)
---------- Forwarded message ----------
From: Paul Hodges <pwh@cassland.org>
To: lilypond-user Mailinglist <lilypond-user@gnu.org>
Cc:
Bcc:
Date: Wed, 4 Jan 2023 16:24:40 +0000
Subject: Allowing a collision
I have a score which has two staves, for unrelated instruments. To reproduce the composer's notation, I occasionally need to join the stems of simultaneous notes on the two staves.
In a piano staff this is catered for using the \crossStaff command. However, in my case this is inapplicable; so I am trying either to lengthen the stems on one staff or to draw a line joining them, using \markup.
However, whichever method I try, LilyPond prevents the extended stem/line from reaching note on the other staff, because it prevents the collision from happening.
Is there a way to turn off the collision avoidance for this specific item in isolation?
Regards,
Paul
---------- Forwarded message ----------
From: Jean Abou Samra <jean@abou-samra.fr>
To: Paul Hodges <pwh@cassland.org>, lilypond-user Mailinglist <lilypond-user@gnu.org>
Cc:
Bcc:
Date: Wed, 4 Jan 2023 17:27:31 +0100
Subject: Re: Allowing a collision
Le 04/01/2023 à 17:24, Paul Hodges a écrit :
> I have a score which has two staves, for unrelated instruments. To
> reproduce the composer's notation, I occasionally need to join the
> stems of simultaneous notes on the two staves.
>
> In a piano staff this is catered for using the \crossStaff command.
> However, in my case this is inapplicable; so I am trying either to
> lengthen the stems on one staff or to draw a line joining them, using
> \markup.
>
> However, whichever method I try, LilyPond prevents the extended
> stem/line from reaching note on the other staff, because it prevents
> the collision from happening.
>
> Is there a way to turn off the collision avoidance for this specific
> item in isolation?
The real question is: why is \crossStaff inapplicable for you?
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user