Re: Ledger line shape

[email protected]
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Lovro:
> is there a way to alter default ledger line shape in such a way that they
> have angular - 90 degree angle ends rather than their current rounded shape
> (v.2.26.)
...

 in ps/music-drawing-routines.ps contains (line numbers added by me):

   117  /draw_round_box % width height x y blot
   118  {
   119      dup 0 lt { pop 0 } if setlinewidth
...
   150      { % rounded corners
   151          2 copy 0 eq exch 0 eq or
   152          { % line shape
   153              0 0 moveto
   154              rlineto
   155              1 setlinecap
   156              stroke
   157              0 setlinecap
   158          }

 On line 155, change the 1 to 0 or 2.

  For the meaning of the values see page 673 of:
 https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf

 Beware that this might change stuff besides ledger lines.

Regards,
/Karl Hammar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.