Joe Neeman [Tue, 24 Oct 2006 19:11:46 +0000 (19:11 +0000)]
* lily/grob.cc (pure_relative_y_coordinate)
(pure_height): use the new call_pure_function stuff
* lily/grob-property.cc (call_pure_function): wrapper for the scheme
call-pure-function
* lily/side-position-interface.cc (pure_y_aligned_side): add an
optarg
* lily/simple-closure.cc (ly_eval_simple_closure): make
simple-closure evaluatable from scheme
(evaluate_with_simple_closure): make simple-closures pure-
evaluatable
* lily/slur.cc (pure_outside_slur_callback): new function
* ly/paper-defaults.ly: change default blank-page-force to 2 (this
fits in with previous changes that made the page forces much
smaller)
* scm/define-grobs.scm (call-pure-function): generalise pure-Y-offset
and pure-Y-extent into this new function.
(pure-conversions-alist): add outside-slur-callback
Jürgen Reuter [Sun, 22 Oct 2006 20:19:30 +0000 (20:19 +0000)]
* Documentation/user/examples.itely (Transcription of mensural
music): Added more comments in .ly source. Suggest to remove
Forbid_line_break_engraver to allow line breaking at all bars.
Han-Wen Nienhuys [Fri, 20 Oct 2006 19:39:46 +0000 (19:39 +0000)]
(Scheme
procedures as properties): more doco on simple-closure and scheme
callbacks.
(Input variables and Scheme): use lilypond[verbatim], document
dummy statement.
Han-Wen Nienhuys [Fri, 20 Oct 2006 19:03:21 +0000 (19:03 +0000)]
(Scheme
procedures as properties): more doco on simple-closure and scheme
callbacks.
(Input variables and Scheme): use lilypond[verbatim], document
dummy statement.
Han-Wen Nienhuys [Fri, 20 Oct 2006 18:39:12 +0000 (18:39 +0000)]
* Documentation/user/page.itely (Displaying spacing): use \book
explicitly, so arrows show .
(Line breaking): add note about Forbid_line_break_engraver
* Documentation/user/tweaks.itely (Common tweaks): also set length
to prevent tie squeezing.
(Default files): use @var{}
Joe Neeman [Fri, 20 Oct 2006 17:37:37 +0000 (17:37 +0000)]
* scm/define-grobs.scm (all-grob-descriptions): set side-axis and
Y-offset for TextScript and Script
* lily/text-engraver.cc (make_item):
* lily/script-engraver.cc (make_script_from_event):
remove call to Side_position_interface::set_axis since all scripts
now have this set by default
Han-Wen Nienhuys [Fri, 20 Oct 2006 16:51:48 +0000 (16:51 +0000)]
(pango_item_string_stencil): only use cmap
entry if cmap contains glyph.
(get_index_to_charcode_map): remove from Pango_font class, use
global filename -> font mapping.
(get_glyph_index_name): new function.
(pango_item_string_stencil): use glyphIndexXXXX as glyph name,
only for TTF.
Han-Wen Nienhuys [Fri, 20 Oct 2006 16:43:47 +0000 (16:43 +0000)]
* lily/ttf.cc (print_trailer): if all else fails: use
glyphIndexXXXX as glyph name.
* lily/pango-font.cc (pango_item_string_stencil): only use cmap
entry if cmap contains glyph.
(get_index_to_charcode_map): remove from Pango_font class, use
global filename -> font mapping.
(get_glyph_index_name): new function.
(pango_item_string_stencil): use glyphIndexXXXX as glyph name,
only for TTF.
Joe Neeman [Wed, 18 Oct 2006 18:21:39 +0000 (18:21 +0000)]
* lily/simple-spacer.cc (get_line_forces): test for non-fitting
line even if we precede a forced break.
* lily/optimal-page-breaking.cc (try_page_spacing): square line
forces too. Make page-spacing weight default to 10 because the
changes to vertical springs decreased the page force/line force
proportions. Also, take the average of line force and page force
instead of just the sum.
* lily/constrained-breaking.cc (initialize): make the stiffness
of the vertical springs depend on the height of the system. This
prevents pages with only a few large systems from getting huge
forces
* Documentation/user/page.itely (Page formatting): document the
change in default page-spacing-weight
Jürgen Reuter [Sat, 14 Oct 2006 19:13:34 +0000 (19:13 +0000)]
* Documentation/user/instrument-notation.itely: Cleanup: Remove
annoying skip notes from mensural ligature example. Update
@refbugs for ligatures and mensural ligatures.
* lily/coherent-ligature-engraver.cc,
lily/include/coherent-ligature-engraver.hh,
lily/mensural-ligature-engraver.cc,
lily/vaticana-ligature-engraver.cc: Revise code for item
reparentizing. There should now be less programming_error
messages.
* lily/mensural-ligature-engraver.cc: Improve placement of dots.
* lily/mensural-ligature.cc, lily/vaticana-ligature.cc:
Maintenance bugfix: Don't create empty Stencil (), but empty box
instead. This fix should eliminate some programming_error
messages.
* ly/engraver-init.ly (MensuralStaff): Set default accidental
style.
Han-Wen Nienhuys [Fri, 13 Oct 2006 12:44:55 +0000 (12:44 +0000)]
(clip-system-EPSes): change ordering, so
system-count starts at 0 for each clip-region. Change name to
file-FROM-TO-clip-COUNT. Take clip-regions from layout block, per
score.