]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.3.103.jcn2
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 3 Nov 2000 13:39:30 +0000 (14:39 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 3 Nov 2000 13:39:30 +0000 (14:39 +0100)
1.3.103.jcn2
============

* Fixed default font settings for text items, text-item now uses
font-interface's alist-chain.

* Renamed property AutoBeam to autoBeamSettings to avoid confusion
about non-existing AutoBeam element.

19 files changed:
CHANGES
VERSION
input/bugs/hinterfleisch-gone.ly
input/scarlatti-test.ly
input/test/ac-extra-voice.ly
input/test/auto-beam-4-8.ly
input/test/auto-beam-override.ly
input/test/standchen-as5.ly
input/test/standchen-as9.ly
lily/auto-beam-engraver.cc
lily/text-item.cc
scm/GNUmakefile
scm/auto-beam.scm
scm/element-descriptions.scm
scm/font.scm
scripts/convert-mudela.py
stepmake/stepmake/scm-rules.make [new file with mode: 0644]
stepmake/stepmake/scm-targets.make [new file with mode: 0644]
stepmake/stepmake/scm-vars.make [new file with mode: 0644]

diff --git a/CHANGES b/CHANGES
index 9260d79a97a8a892a2832cdd731862963e94adbd..6879a0152d1d125d3340da750055c0316304bb9c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,12 @@
+1.3.103.jcn2
+============
+
+* Fixed default font settings for text items, text-item now uses
+font-interface's alist-chain.
+
+* Renamed property AutoBeam to autoBeamSettings to avoid confusion
+about non-existing AutoBeam element.
+
 1.3.103.jcn1
 ============
 
diff --git a/VERSION b/VERSION
index 6fa7b1df33a37058ad4bea662ec0367a704f7ff7..ba3d51a522da9701caa39276db758a5f91ca947b 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=3
 PATCH_LEVEL=103
-MY_PATCH_LEVEL=jcn1
+MY_PATCH_LEVEL=jcn2
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index 59fd4de8d15e13f7f288baa68ec935629ccb2bb2..bb838c8cdd055862c1a3ba53aa6af1d2229f4ed1 100644 (file)
@@ -3,7 +3,7 @@
 \score {
        \notes \relative c'' {
        \time 2/4;
-       \property Voice.noAutoBeaming=1
+       \property Voice.noAutoBeaming=##t
        a4 a8
        a32 a a a
 }
index 2da7ab6024633574a3ee022a235010477c970ced..6c3f1b5ec0b16bfbd522d130f562b9a58ceb3745 100644 (file)
@@ -6,10 +6,10 @@
 \translator{\VoiceContext
   %% huh?
   %%beamAutoBegin=0;
-  AutoBeam \push #'(end 1 8 * *) = #(make-moment 3 8)
-  AutoBeam \push #'(end 1 16 * *) = #(make-moment 3 8)
-  AutoBeam \push #'(end 1 24 * *) = #(make-moment 1 8)
-  AutoBeam \push #'(end 1 32 * *) = #(make-moment 1 8)
+  autoBeamSettings \push #'(end 1 8 * *) = #(make-moment 3 8)
+  autoBeamSettings \push #'(end 1 16 * *) = #(make-moment 3 8)
+  autoBeamSettings \push #'(end 1 24 * *) = #(make-moment 1 8)
+  autoBeamSettings \push #'(end 1 32 * *) = #(make-moment 1 8)
 }
 }
 
index fba60bd225df0e82068c5b5a3a17b556a54ff61e..3f0c131b11bc0d2f38fdbcf95833164d087bcb23 100644 (file)
@@ -62,7 +62,7 @@ accompany = \notes \relative c{
 
                        slurVerticalDirection = #1
                        verticalDirection = -1
-                       AutoBeam \push (end * * * *)  = #(make-moment 1 2)
+                       autoBeamSettings \push (end * * * *)  = #(make-moment 1 2)
                }
        }
        \midi {
index d962dbf429580c6a50769ac14a0adab03593fb99..24a32da104f65ca1859436e2e88635b114f1998b 100644 (file)
@@ -18,7 +18,7 @@
     x| x| x|  x| x|
 %}
      %\property Voice.beamAutoEnd = #(make-moment 2 4)
-     \property Voice.AutoBeam \push #'(end * * * *) = #(make-moment 2 4)
+     \property Voice.autoBeamSettings \push #'(end * * * *) = #(make-moment 2 4)
      c8 c c c16 c
 
   }
index 4b79886fb0b0da3e70d436ed4518a2295bda4d92..42da5010cf87d585174cdfd8c8a4101c82ae9111 100644 (file)
@@ -17,7 +17,7 @@
        c8 c c c
        c16 c c c c c c c
        % from here on consider ending beam every 1/4 note
-       \property Voice.AutoBeam \push #'(end * * * *) = #(make-moment 1 4)
+       \property Voice.autoBeamSettings \push #'(end * * * *) = #(make-moment 1 4)
        c8 c c c
        % manually override autobeam with weird beaming
        c8 [c c] c
@@ -32,7 +32,7 @@
        \translator{
            \VoiceContext
            % consider ending beam at every 1/2 note
-           AutoBeam \push #'(end * * * *) = #(make-moment 1 2)
+           autoBeamSettings \push #'(end * * * *) = #(make-moment 1 2)
        }
     }
 }
index 809b0088baaf905ed39ed4f17d0b9f8757ca866c..2abe8a395b7f4d4aba4b1ce16d35e977b5464bd2 100644 (file)
@@ -27,7 +27,7 @@
                \translator { 
                        \VoiceContext 
                        beamHeight = ##f 
-                       AutoBeam \push (begin * * * *) = #(make-moment 0 1)
+                       autoBeamSettings \push (begin * * * *) = #(make-moment 0 1)
                        textEmptyDimension = ##t
                }
        }
index c7d544a7137756b85d1661697ff8f3ac1fb155c6..84c3c7394b51245cca137f5fc83269a6e8911988 100644 (file)
@@ -27,7 +27,7 @@
                \translator { 
                        \VoiceContext 
                        beamHeight = ##f 
-                       AutoBeam \push (begin * * * *) = #(make-moment 0 1)
+                       autoBeamSettings \push (begin * * * *) = #(make-moment 0 1)
                        textEmptyDimension = ##t
                }
        }
index e20498a2d87798007b1f3df0ebc248e31779091b..d703831ed3bd4ed5c9b805ca038621c68c330edd 100644 (file)
@@ -97,7 +97,7 @@ Auto_beam_engraver::consider_end_and_begin (Moment test_mom)
   SCM type = gh_list (gh_int2scm (test_mom.num_i ()),
                      gh_int2scm (test_mom.den_i ()), SCM_UNDEFINED);
 
-  SCM settings = get_property ("AutoBeam");
+  SCM settings = get_property ("autoBeamSettings");
   
   /*
     Determine end moment for auto beaming (and begin, mostly 0==anywhere) 
index 3cec390b494a312b3c83b2d4294063d00cdc83a8..b7cabd16a911797bc02e9b53532513c1019162df 100644 (file)
@@ -199,9 +199,7 @@ Text_item::brew_molecule (SCM smob)
   
   SCM text = me->get_elt_property ("text");
 
-  SCM properties = gh_list (me->immutable_property_alist_,
-                           me->mutable_property_alist_, SCM_UNDEFINED);
-
+  SCM properties = Font_interface::font_alist_chain (me);
   Molecule mol = Text_item::text2molecule (me, text, properties);
 
   SCM space = me->get_elt_property ("word-space");
index 419ac4c97f5545651d8a2bd290f8dc400e9c352c..c10270ce5764e5dce93d760bca7900bd49a66dda 100644 (file)
@@ -2,13 +2,10 @@
 
 depth = ..
 
-SCM_FILES = $(wildcard *.scm)
-EXTRA_DIST_FILES = $(SCM_FILES)
-
 INSTALLATION_DIR=$(datadir)/scm/
 INSTALLATION_FILES=$(SCM_FILES)
 
-STEPMAKE_TEMPLATES=install
+STEPMAKE_TEMPLATES=install scm
 
 include $(depth)/make/stepmake.make 
 
index 5bf7ad772cb246fff1dfbb2dd4cfed79f41c5124..ec78e2b2f6238942693cab3b9e2f321bae351f3d 100644 (file)
      ((end * * 12 8) . ,(make-moment 3 8))
      ((end 1 16 12 8) . ,(make-moment 3 8))
      ((end 1 32 12 8) . ,(make-moment 1 8))
-     (meta . ,(element-description  "AutoBeam"))
+     (meta . ,(element-description  "autoBeamSettings"))
      ))
 
 ;;; Users may override in most cases, simply by issuing
 ;;;
 ;;;    % from here on consider ending beam every 1 4 note
-;;;    \property Voice.AutoBeam \push #'(end * * * *) = #(make-moment 1 4)
+;;;    \property Voice.autoBeamSettings \push #'(end * * * *) = #(make-moment 1 4)
 ;;;
 ;;;    % no autobeaming
 ;;;    \property Voice.beamAuto = ##f  
@@ -95,7 +95,7 @@
 ;;;        \translator{
 ;;;            \VoiceContext
 ;;;            % consider ending beam at every 1 2 note
-;;;            AutoBeam \push #'(end * * * *) = #(make-moment 1 2)
+;;;            autoBeamSettings \push #'(end * * * *) = #(make-moment 1 2)
 ;;;        }
 ;;;    }
 ;;;
index b9145a22ef70a422f8d4dd2ed2a70340a800ff1e..1e1c570fa6c96117de2a53d469860577a2a8298b 100644 (file)
@@ -12,7 +12,7 @@
               (meta . ,(element-description "Arpeggio" arpeggio-interface side-position-interface font-interface))
               ))
 
-    (AutoBeam . ,auto-beam-settings)
+    (autoBeamSettings . ,auto-beam-settings)
 
     (BarLine . (
                (break-align-symbol . Staff_bar)
        (Dots . (
                (molecule-callback . ,Dots::brew_molecule)
                (dot-count . 1)
-               (font-family . music)           
                (staff-position . 0.0)
                (Y-offset-callbacks  . (,Dots::quantised_position_callback ,Staff_symbol_referencer::callback))
                (meta . ,(element-description "Dots"  font-interface dot-interface ))
                (script-priority . 100)
                (font-series . bold)
                (font-family . dynamic)
+               (font-shape . italic)
                (self-alignment-Y . 0)
                (meta . ,(element-description "DynamicText" font-interface  text-interface ))
        ))
                (word-space . 0.6)
                (font-family . roman)
                (font-shape . upright)
-               (font-relative-size . 0)
                (meta . ,(element-description "LyricText" lyric-syllable-interface text-interface font-interface ))
        ))
        
        ))
 
        (NoteName . (
-               (style . default)
                (molecule-callback . ,Text_item::brew_molecule)
+               (font-family . roman)
                (meta . ,(element-description  "NoteName"
                                               note-name-interface font-interface
                                               general-element-interface))
                (arch-width . 1.5)
                (bracket-thick . 0.25)
                (bracket-width . 2.0)
-               (font-family . braces)
-               (font-point-size . 20)
                (Y-extent-callback . #f)
+               (font-family . braces)
+               ;; if you want to set point-size, you cannot set
+               ;; relative-size, as no font will be found for other
+               ;; sheets than 20
+               ;;(font-point-size . 20)
+               ;;(font-relative-size . #f)
                (meta . ,(element-description "SystemStartDelimiter" system-start-delimiter font-interface))
-       ))
+               ))
 
        (TextScript . (
                (molecule-callback . ,Text_item::brew_molecule)
                (padding . 0.5)
                (font-family . roman)
                (font-shape . italic)
-               (font-relative-size . 0)
                (meta . ,(element-description "TextScript" text-script-interface text-interface side-position-interface font-interface ))
        ))
        (TextSpanner . (
index 9454f91ffb4d7085d59f3f224379502c69133283..0b8e1f7498ce123d4d11e1dc59bdf591fd0bfae7 100644 (file)
     ((0 bold upright roman cmbx 10) . "cmbx10")
     ((-1 bold upright roman cmbx 8) . "cmbx8")
     ((-2 bold upright roman cmbx 7) . "cmbx7")
+    
     ;; should use the same brace font every where and fix C++ code.
-
     ((2 medium upright braces feta-braces 26) . "feta-braces26")
     ((1 medium upright braces feta-braces 23) . "feta-braces23")
     ((0 medium upright braces feta-braces 20) . "feta-braces20")
+    ((-1 medium upright braces feta-braces 16) . "feta-braces16")
+    ((-2 medium upright braces feta-braces 13) . "feta-braces13")
+    ((-3 medium upright braces feta-braces 11) . "feta-braces11")
 
     ((3 bold italic dynamic feta-din 13) . "feta-din13")
     ((2 bold italic dynamic feta-din 13) . "feta-din13")
index d20850de47f299b6331698007c4f1bdd2db2c4e4..8d86614ddb38feee70561aba8a4847fff83c23f7 100644 (file)
@@ -552,15 +552,15 @@ if 1:
 
 if 1:
        def conv (str):
-               str = re.sub ('beamAutoEnd_([0-9]*) *= *(#\\([^)]*\\))', 'AutoBeam \\push #\'(end 1 \\1 * *) = \\2', str)
-               str = re.sub ('beamAutoBegin_([0-9]*) *= *(#\\([^)]*\))', 'AutoBeam \\push #\'(begin 1 \\1 * *) = \\2', str)
-               str = re.sub ('beamAutoEnd *= *(#\\([^)]*\\))', 'AutoBeam \\push #\'(end * * * *) = \\1', str)
-               str = re.sub ('beamAutoBegin *= *(#\\([^)]*\\))', 'AutoBeam \\push #\'(begin * * * *) = \\1', str)
+               str = re.sub ('beamAutoEnd_([0-9]*) *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end 1 \\1 * *) = \\2', str)
+               str = re.sub ('beamAutoBegin_([0-9]*) *= *(#\\([^)]*\))', 'autoBeamSettings \\push #\'(begin 1 \\1 * *) = \\2', str)
+               str = re.sub ('beamAutoEnd *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end * * * *) = \\1', str)
+               str = re.sub ('beamAutoBegin *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(begin * * * *) = \\1', str)
 
 
                return str
        
-       conversions.append ((1,3,102), conv, 'beamAutoEnd -> AutoBeam \\push (end * * * *)')
+       conversions.append ((1,3,102), conv, 'beamAutoEnd -> autoBeamSettings \\push (end * * * *)')
 
 ############################
        
diff --git a/stepmake/stepmake/scm-rules.make b/stepmake/stepmake/scm-rules.make
new file mode 100644 (file)
index 0000000..841db19
--- /dev/null
@@ -0,0 +1,2 @@
+
+#empty
diff --git a/stepmake/stepmake/scm-targets.make b/stepmake/stepmake/scm-targets.make
new file mode 100644 (file)
index 0000000..841db19
--- /dev/null
@@ -0,0 +1,2 @@
+
+#empty
diff --git a/stepmake/stepmake/scm-vars.make b/stepmake/stepmake/scm-vars.make
new file mode 100644 (file)
index 0000000..115a05f
--- /dev/null
@@ -0,0 +1,7 @@
+
+SCM_FILES := $(wildcard *.scm)
+
+SOURCE_FILES += $(SCM_FILES)
+
+TAGS_FILES += $(SCM_FILES)
+