lilypond-user
[Top][All Lists]
Advanced

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

Column line spacing changed with 2.18


From: Javier Ruiz-Alma
Subject: Column line spacing changed with 2.18
Date: Mon, 28 Jul 2014 22:09:12 -0700

Need troubleshooting help with a two-line markup block.

 

The block is used for the copyright statement in scores published by Mutopia and has to remain dimensionally stable over a wide range of possible staff-sizes.

To accomplish this, \abs-fontsize characters and \override #'(baseline-skip . 0 ) was used in an attempt to minimize any horizontal and vertical scaling with the various staff-size submitted for publication.

 

With v2.18.2, I noticed (baseline-skip . 0 ) no longer renders with zero space between lines of text, as it did with 2.14.2 and 2.16.1.  A separator bar made up of two stacked vertical text bars now renders with a hairline in-between.  Is there a way to remove this added padding?

 

The limitation I face is, the gap can’t be removed by using staff-sized text-positioning commands (i.e. \raise), or by replacing the stacked bars with a box (also staff-size-sensitive).

 

See attached images and minimal code that will render differently 2.16 vs 2.18.  To see the full copyright markup block and example rendered scores, look at 2.16.1 vs. 2.18.2:

 

%%%%%%%%%%%%%%%%%%%%%%%%%%

 

\version "2.18.2"      %renders with undesired hairline spacing between lines

%\version "2.16.1"    %renders as desired in this version

#(set-global-staff-size 30)     % markup block should be dimensionally stable for staff-size 15-30

\markup {

                    \override #'(baseline-skip . 0 )

                    \center-column { \abs-fontsize #12 \bold {

                                                      \char ##x01C0

                                                      \char ##x01C0 }  %need ZERO space between these stacked bars

                    }

                    \override #'(baseline-skip . 0 )

                    \column { 

                         \abs-fontsize #9 "line 1"

                         \concat {

                             \abs-fontsize #9 "line 2"

                             \abs-fontsize #12 \with-color #white \char ##x01C0 }  %vertical spacer

                    }

}

Attachment: copyright-bar-2.16.1.PNG
Description: PNG image

Attachment: copyright-bar-2.18.2.PNG
Description: PNG image


reply via email to

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