Re: Ledger line shape

[email protected]
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Karl:
> 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):
...
>    155              1 setlinecap
...
>  On line 155, change the 1 to 0 or 2.
...

 If you don't want to change the installed file above, you can do
 something like this:

 lilypond --ps drömmarne_01.ly
 sed -e '/^\/draw_round_box/,/^\}/s/1 setlinecap/2 setlinecap/' drömmarne_01.ps > tt.ps

 and if you want a pdf, run ps2pdf tt.ps tt.pdf

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.