]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/define-stencil-commands.scm
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / scm / define-stencil-commands.scm
index 46d315381ea674d710f269f4e797beb7803773ce..7a9740c76efd55fa8fef0e50df330fc752c3e5c5 100644 (file)
@@ -3,7 +3,7 @@
 ;;
 ;; source file of the GNU LilyPond music typesetter
 ;;
-;; (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;; (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 ;;
 
 (map ly:register-stencil-expression
@@ -17,7 +17,6 @@
        dashed-slur
        dot
        draw-line
-       filledbox
        glyph-string
        named-glyph
        polygon
        round-filled-box
        text
        url-link
-       utf8-string
+       utf-8-string
        white-dot
        white-text
        embedded-ps
-       zigzag-line))
+       zigzag-line
+       setcolor
+       resetcolor
+
+       grob-cause
+       no-origin
+       placebox
+       unknown
+       ))
 
 ;; TODO:
 ;;  - generate this list by registering the output-backend-commands
@@ -38,8 +45,8 @@
 
 (define-public (ly:all-output-backend-commands)
   "Return list of output backend commands."
-  '(
-    grob-cause
-    no-origin
-    placebox
-    unknown))
+  '(combine-stencil
+    color
+    translate-stencil))
+
+(map ly:register-stencil-expression (ly:all-output-backend-commands))