lilypond-devel
[Top][All Lists]
Advanced

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

[PATCH] Porrectus (continued)


From: Juergen Reuter
Subject: [PATCH] Porrectus (continued)
Date: Mon, 31 Dec 2001 22:58:54 +0100 (MET)

Hi!

Atached is a patch that should solve most of the existing problems
with ledger lines on porrectus grobs, but also on custodes and note
heads.  (Actually, I already sent a previous version of this patch a while
ago, but is was obviously lost due to network problems).  In particular,
it includes the following changes:

* ledger lines no more composed from metafont symbols, but drawn
  directly;

* new paper variable ledgerlinethickness introduced that controls the
  thickness of ledger lines; default is 2.0 times default
  stafflinethickness;

* bugfix: no minimum length of ledger lines (actually, the minimum is
  bound to blotdiameter);

* no minimum thickness of ledger lines (actually, the minimum is bound
  to blotdiameter);

* elimiated duplicate code in note-head.cc / custos.cc / porrectus.cc;

* bugfix: avoid empty ledger lines molecule in porrectus and custos
  grobs (saves a little bit of memory);

* ledger line code now much shorter, simpler and cleaner.

I have still left the metafont code for ledger lines in
feta-bolletjes.mf, but if you think my patch is ok, it probably should
be removed.  Since the definition of draw_box in
music-drawing-routines.ps seems to encounter blotdiameter, I do not
see any reason to compose ledger lines from metafont symbols any more,
right?

Greetings,
           Juergen

Attachment: patch_1.5.28.diff
Description: Text document


reply via email to

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