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 <http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=288>
vs. 2.18.2 <http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=1416> :

 

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

 

\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

                    }

}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to