1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Halve default lyrics hyphenation step
Author: mirabilos <m@mirbsd.org>
Forwarded: not-needed
Justification: made configurable in 3.x
--- a/libmscore/lyrics.h
+++ b/libmscore/lyrics.h
@@ -60,7 +60,7 @@ class Lyrics : public Text {
// metrics for dashes and melisma; all in sp. units:
static constexpr qreal MELISMA_DEFAULT_LINE_THICKNESS = 0.10; // for melisma line only;
static constexpr qreal MELISMA_DEFAULT_PAD = 0.10; // the empty space before a melisma line
- static constexpr qreal LYRICS_DASH_DEFAULT_STEP = 16.0; // the max. distance between dashes
+ static constexpr qreal LYRICS_DASH_DEFAULT_STEP = 5.00; // the max. distance between dashes
static constexpr qreal LYRICS_DASH_DEFAULT_PAD = 0.05; // the min. empty space before and after a dash
static constexpr qreal LYRICS_DASH_MIN_LENGTH = 0.25; // below this length, the dash is skipped
static constexpr qreal LYRICS_WORD_MIN_DISTANCE = 0.33; // min. distance between lyrics from different words
|