* lily/parser.yy (markup): Add STRING_IDENTIFIER.
* scm/font.scm (paper20-font-vector): cmcsc klugdge.
2004-02-26 Jan Nieuwenhuizen <janneke@gnu.org>
+ * scm/define-markup-commands.scm (upright): New markup command.
+
+ * lily/parser.yy (markup): Add STRING_IDENTIFIER.
+
* scm/font.scm (paper20-font-vector): cmcsc klugdge.
* scm/output-ps.scm (output-stencil): New function.
* mf/GNUmakefile (Fontmap, Fontmap.lily): Add Fontmap for GS.
(SAUTER_FONTS): Reinstate.
- * scm/define-markup-commands.scm (smallcaps): New markup command.
+ * scm/define-markup-commands.scm (caps): New markup command.
* scm/output-ps.scm (output-scopes): Experimental markup output.
| MARKUP_IDENTIFIER {
$$ = $1;
}
-
+ | STRING_IDENTIFIER {
+ $$ = $1;
+ }
;
markup_list:
ENCODING_FILE=$(findstring $(<:.mf=.enc), $(FETA_MF_FILES:.mf=.enc))
MFTRACE_FLAGS=$(if $(ENCODING_FILE),--encoding $(ENCODING_FILE),)
-SAUTER_FONTS = cmr10 \
- cmbxti6 cmbxti7 cmbxti8 cmbxti12 cmbxti14 \
- cmcsc7 cmcsc8 cmcsc10 cmcsc12 \
- cmcsc12 cmbx14 cmbx17 \
- cmtt5 cmtt6 cmtt7 cmtt17 \
- cmti5 cmti6 \
- cmss5 cmss6 cmss7 cmss8
-# in tetex: cmbx5 cmbx6
-# not used: cmxbti14
+SAUTER_FONTS = cmbx14 cmbx17 \
+ cmbxti12 cmbxti14 \
+ cmbxti6 cmbxti7 cmbxti8 \
+ cmcsc12 cmcsc7 cmcsc8 \
+ cmss5 cmss6 cmss7 \
+ cmti5 cmti6 \
+ cmtt17 cmtt5 cmtt6 cmtt7
ALL_FONTS = $(FETA_FONTS) $(SAUTER_FONTS)
PFA_FILES = $(ALL_FONTS:%=$(outdir)/%.pfa)
(interpret-markup
paper (prepend-alist-chain 'font-family 'typewriter props) arg))
+(def-markup-command (upright paper props arg) (markup?)
+ "Set font shape to @code{upright}."
+ (interpret-markup
+ paper (prepend-alist-chain 'font-shape 'upright props) arg))
+
(def-markup-command (doublesharp paper props) ()
(interpret-markup paper props (markup #:musicglyph "accidentals-4")))
(def-markup-command (threeqsharp paper props) ()
(10.0 . #((10.0 . "cmb10")
)))
(#(medium caps roman) .
- ;; FIXME? ps-header output
- (20.0 . #((10.0 . "cmcsc10")
+ (10.0 . #((10.0 . "cmcsc10")
(12.0 . "cmcsc12"))))
(#(* * dynamic) .
(14.0 . #((6.0 . "feta-din6")
cmbx17
cmbxti12
cmbxti14
+ cmbxti6
cmbxti7
cmbxti8
cmcsc12
cmcsc7
+ cmcsc8
+ cmss5
+ cmss6
+ cmss7
+ cmti5
+ cmti6
cmtt17
-
- ;;; FIXME: added
- cmbx8)))
-
+ cmtt5
+ cmtt6
+ cmtt7)))
+
+
(define (define-fonts internal-external-name-mag-pairs)
(define (font-load-command name-mag command)
(cond
((and (equal? (substring name 0 2) "cm")
(not (member name lily-traced-cm-fonts)))
- (string-upcase name))
+
+ ;; huh, how is this supposed to work?
+ ;;(string-upcase name)
+
+ (string-append name ".pfb"))
+
((equal? (substring name 0 4) "feta")
(regexp-substitute/global #f "feta([a-z-]*)([0-9]+)" name 'pre "GNU-LilyPond-feta" 1 "-" 2 'post))
(else name)))
(if (pair? header-stencils)
(let ((s (output-stencils header-stencils)))
(set! header-stencils '())
- s)
+ (string-append s (stop-system) (start-system width height)))
"")))
(define (stem breapth width depth height)
(define (output-scopes paper scopes fields basename)
;; FIXME: customise/generate these
- (let ((props '(((font-family . roman)
+ (let ((props '((;;(linewidth . 120)
+ (font-family . roman)
(word-space . 1)
(baseline-skip . 2)
+ (font-series . medium)
+ (font-style . roman)
(font-shape . upright)
(font-size . 0)))))
(define header-stencils '())
(define (output-stencils lst)
- (apply string-append (map (lambda (x) (output-stencil x '(0 . 0))) lst)))
+ (apply string-append (map (lambda (x) (output-stencil x '(10 . -10))) lst)))
;; TODO:
;; de-urg me