]> git.donarmstrong.com Git - lilypond.git/commit
Improve formatting of PaperColumn debug info
authorJanek Warchoł <lemniskata.bernoullego@gmail.com>
Thu, 17 Oct 2013 10:49:19 +0000 (12:49 +0200)
committerJanek Warchoł <lemniskata.bernoullego@gmail.com>
Fri, 25 Oct 2013 08:45:14 +0000 (10:45 +0200)
commit286dbb0272d7efb611619fa64004ab104338e7d8
tree9dfaf707e1ea53700739113d02df49176d23b910
parent6b9921f0e2b8c73ebb3063109562d97fba898dab
Improve formatting of PaperColumn debug info

Paper_column::print can be very helpful in debugging spacing
information, but until now its output was not very readable.
This patch:
 - decreases font-size of debugging info so that it doesn't
   collide and overlap everywhere,
 - makes it possible to override the size of the arrow values
   with font-size property,
 - makes both red and blue arrows point in the same direction
   (previous situation was confusing)
 - centers the spring and rod values on the arrows (previously
   it was hard to discern which number goes to which arrow),
 - prints debugging info always on top,
 - makes arrows and the distance between them scale with fontsize.
lily/paper-column.cc
scm/define-grobs.scm