Quoting Reinhold Kainhofer <reinh...@kainhofer.com>:
Any idea for a workaround? I urgently need to generate the png files (~50 examples) before the weekend to insert them into a thesis (.doc file) and send the draft to the advisor.
Here's a quick hack for you. A box is drawn inside the rounded box. -- Regards, Pavel Roskin
diff --git a/lily/ledger-line-spanner.cc b/lily/ledger-line-spanner.cc index 83304ac..1a0fc8f 100644 --- a/lily/ledger-line-spanner.cc +++ b/lily/ledger-line-spanner.cc @@ -316,6 +316,14 @@ Ledger_line_spanner::print (SCM smob) ledger_line.translate_axis ( lpos * halfspace, Y_AXIS); ledgers.add_stencil (ledger_line); + + x_extent[LEFT] += 0.5 * (ledgerlinethickness); + x_extent[RIGHT] -= 0.5 * (ledgerlinethickness); + ledger_line + = Lookup::filled_box (Box (x_extent, y_extent)); + + ledger_line.translate_axis ( lpos * halfspace, Y_AXIS); + ledgers.add_stencil (ledger_line); } } }
_______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond