+2005-08-10 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * scm/framework-ps.scm (output-framework): Backport-bugfix: use
+ 2.6 interface of paper-outputter.
+
2005-08-10 Mats Bengtsson <mabe@drongo.s3.kth.se>
* scm/define-markup-commands.scm (normal-text): Added 2 new
(X-offset-callbacks . (,Self_alignment_interface::aligned_on_self))
(self-alignment-X . 0)
(no-spacing-rods . #t)
+ (slur-padding . 0.5)
(script-priority . 100)
(font-series . bold)
(font-encoding . fetaDynamic)
; (font-series . bold)
(font-shape . italic)
(style . dashed-line)
+ (slur-padding . 0.5)
; need to blend with dynamic texts.
(font-size . 1)
(Y-offset-callbacks . (,Side_position_interface::aligned_side))
(staff-padding . 0.1)
(padding . 0.6)
+ (slur-padding . 0.5)
(minimum-space . 1.2)
(direction . -1)
; sync with TextScript (?)
(padding . 0.5)
+ (slur-padding . 0.5)
(staff-padding . 0.5)
(self-alignment-X . 0)
(self-alignment-Y . 0)
;; This value is sensitive: if too large, staccato dots will move a
;; space a away.
(padding . 0.20)
+ (slur-padding . 0.5)
(staff-padding . 0.25)
;; (script-priority . 0) priorities for scripts, see script.scm
(X-offset-callbacks . (,Self_alignment_interface::centered_on_parent))
; sync with Fingering ?
(padding . 0.5)
+ (slur-padding . 0.5)
(staff-padding . 0.5)
(script-priority . 200)
;; todo: add X self alignment?
(define-public (output-framework basename book scopes fields)
(let* ((filename (format "~a.ps" basename))
- (outputter (ly:make-paper-outputter
- ;; FIXME: better wrap open/open-file,
- ;; content-mangling is always bad.
- ;; MINGW hack: need to have "b"inary for embedding CFFs
- (open-file filename "wb")
- "ps"))
+ (outputter (ly:make-paper-outputter filename "ps"))
(paper (ly:paper-book-paper book))
(pages (ly:paper-book-pages book))
(landscape? (eq? (ly:output-def-lookup paper 'landscape) #t))
(max (1+ (car box)) (caddr box))
(max (1+ (cadr box)) (cadddr box)))))
- (let* ((outputter (ly:make-paper-outputter
- ;; FIXME: better wrap open/open-file,
- ;; content-mangling is always bad.
- ;; MINGW hack: need to have "b"inary for embedding CFFs
- (open-file (format "~a.eps" filename) "wb")
- "ps"))
+ (let* ((outputter (ly:make-paper-outputter (format "~a.eps" filename) "ps"))
(port (ly:outputter-port outputter))
(xext (ly:stencil-extent dump-me X))
(yext (ly:stencil-extent dump-me Y))