]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/tie-column.cc (new_directions): put Tie down on center
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 30 Aug 2005 18:50:11 +0000 (18:50 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 30 Aug 2005 18:50:11 +0000 (18:50 +0000)
staff line.

* lily/script-interface.cc (before_line_breaking): use Grob::programming_error

* scm/ps-to-png.scm (make-ps-images): use pngalpha device.

ChangeLog
Documentation/user/advanced-notation.itely
lily/script-interface.cc
lily/tie-column.cc
scm/ps-to-png.scm

index 115c98759753089890516e2d522a24027f41b5b5..9cc6f3b0035326c33152040eaaa9d19f3a4f3a88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2005-08-30  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/tie-column.cc (new_directions): put Tie down on center
+       staff line. 
+
+       * lily/script-interface.cc (before_line_breaking): use Grob::programming_error
+
+       * scm/ps-to-png.scm (make-ps-images): use pngalpha device.
+
        * scripts/lilypond-book.py (get_latex_textwidth): oops. Take [0]
        of splitext.
 
index 9e41f7bc8d9ba31dd6270742942a0fd8b14a955d..e2c2e69ae660f80180f88f03fafea36a8c292b02 100644 (file)
@@ -459,7 +459,7 @@ then set the
 
 @lilypond[fragment,verbatim]
 {
-  \override Staff.TimeSignature #'font-name = #"Times"
+  \override Staff.TimeSignature #'font-name = #"Charter"
   \override Staff.TimeSignature #'font-size = #2
   \time 3/4
   c'1_\markup {
index 1b313ffc65819099e0aa6539913eabb664aa76bc..38b801b1b499c2986204412e85e2eefbd913c54e 100644 (file)
@@ -51,8 +51,7 @@ Script_interface::before_line_breaking (SCM smob)
 
   if (!d)
     {
-      /* FIXME: This should never happen: `arbitrary' directions.  */
-      programming_error ("script direction not yet known");
+      me->programming_error ("script direction not yet known");
       d = DOWN;
     }
 
index b5851e5a8ea3a16533ef5dcb8b2cd70b2d28518c..0e57b3bf76ea8f56295cf6fcfb3f7fa111a507d7 100644 (file)
@@ -254,7 +254,11 @@ Tie_column::new_directions (Grob *me)
       if (tie_configs[i].dir_)
        continue;
 
-      tie_configs[i].dir_ = (Direction) sign (tie_configs[i].position_);
+      Direction position_dir = (Direction) sign (tie_configs[i].position_);
+      if (!position_dir)
+       position_dir = DOWN;
+      
+      tie_configs[i].dir_ = position_dir;
     }
 
   Grob *common = me;
index 44b32714b554ad5b344d5565754e7ba5d831d685..bfb40306fdfd2182cfe782c9f960489a033adb69 100644 (file)
  -dGraphicsAlphaBits=4\
  -dTextAlphaBits=4\
  -dNOPAUSE\
- -sDEVICE=png16m\
+ -sDEVICE=pngalpha\
  -sOutputFile=~S\
  -r~S\
  ~S\