lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5122 Fix not


From: Auto mailings of changes to Lily Issues
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5122 Fix not scaling stem in note-by-number-markup
Date: Sun, 16 Apr 2017 17:26:03 +0000

Code-example:

\version "2.19.56"

mus = 
\new Staff { 
  \tempo 8=120 
  c'2_\markup 
        \line {
            \fontsize #-6 \note-by-number #3 #0 #UP
            \fontsize #-4 \note-by-number #3 #0 #UP
            \fontsize #-2 \note-by-number #3 #0 #UP
            \fontsize #0 \note-by-number #3 #0 #UP
            \fontsize #2 \note-by-number #3 #0 #UP
            \fontsize #4 \note-by-number #3 #0 #UP
            \fontsize #6 \note-by-number #3 #0 #UP
        }
}

\score {
  \mus
  \layout { #(layout-set-staff-size 10) }
}

\score {
  \mus
  \layout { #(layout-set-staff-size 20) } 
}

\score {
  \mus
  \layout { #(layout-set-staff-size 40) } 
}

Attachments:


[issues:#5122] Fix not scaling stem in note-by-number-markup

Status: Started
Created: Sun Apr 16, 2017 05:15 PM UTC by Thomas Morley
Last Updated: Sun Apr 16, 2017 05:15 PM UTC
Owner: Thomas Morley

Fix not scaling stem in note-by-number-markup

Done by calling text-font-size from layout, which defaults to 11.
Then scaling stem-thickness and stem-length by division of
text-font-size through 11.
This ensures a stem-appearance according to the text-properties of
MetronomeMark.

http://codereview.appspot.com/324780043


Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]