From a297cd2109549828d64d25b40d81b7d54f44a186 Mon Sep 17 00:00:00 2001 From: janneke Date: Fri, 17 Dec 2004 16:06:34 +0000 Subject: [PATCH] * GNUmakefile.in: * SConstruct (symlink): Replace afm by otf. --- ChangeLog | 3 +++ GNUmakefile.in | 4 ++-- SConstruct | 4 ++-- scm/output-gnome.scm | 5 ++++- scm/output-svg.scm | 5 ++++- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 98978de996..45faa1b756 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-12-17 Jan Nieuwenhuizen + * GNUmakefile.in: + * SConstruct (symlink): Replace afm by otf. + * scm/framework-gnome.scm (gnome-main): Remove invocation of ly:pango-add-afm-decoder. diff --git a/GNUmakefile.in b/GNUmakefile.in index 345bdf02f8..1f1dbcc82d 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -111,7 +111,7 @@ $(builddir)/share/lilypond-force: cd $(builddir)/share/$(package) && \ ln -s $(abs-srcdir)/ly ly && \ ln -s ../../mf/$(outconfbase) dvips && \ - ln -s ../../mf/$(outconfbase) afm && \ + ln -s ../../mf/$(outconfbase) otf && \ ln -s ../../mf/$(outconfbase) tfm && \ ln -s $(abs-srcdir)/mf && \ ln -s $(abs-srcdir)/ps && \ @@ -123,7 +123,7 @@ $(builddir)/share/lilypond-force: ln -s ../../../mf/$(outconfbase) mf-out cd $(builddir)/share/$(package)/fonts && \ ln -s $(abs-srcdir)/mf source && \ - ln -s ../../../mf/$(outconfbase) afm && \ + ln -s ../../../mf/$(outconfbase) otf && \ ln -s ../../../mf/$(outconfbase) tfm && \ ln -s ../../../mf/$(outconfbase) type1 cd $(builddir)/share/$(package)/elisp && \ diff --git a/SConstruct b/SConstruct index f3067fd56f..124797edaa 100644 --- a/SConstruct +++ b/SConstruct @@ -669,10 +669,10 @@ def symlink_tree (target, source, env): ('scripts/', 'bin/lilypond-book'), ('mf', 'share/lilypond/dvips'), ('#ps', 'share/lilypond/tex/music-drawing-routines.ps'), - ('mf', 'share/lilypond/afm'), + ('mf', 'share/lilypond/otf'), ('mf', 'share/lilypond/tfm'), ('#mf', 'share/lilypond/fonts/mf'), - ('mf', 'share/lilypond/fonts/afm'), + ('mf', 'share/lilypond/fonts/otf'), ('mf', 'share/lilypond/fonts/tfm'), ('mf', 'share/lilypond/fonts/type1'), ('#tex', 'share/lilypond/tex/source'), diff --git a/scm/output-gnome.scm b/scm/output-gnome.scm index 51226d2bb1..a29fc395a1 100644 --- a/scm/output-gnome.scm +++ b/scm/output-gnome.scm @@ -144,12 +144,15 @@ lilypond -fgnome input/simple-song.ly (string=? (substring family 0 (min (string-length family) 9)) "bigcheese")))) +;; FIXME (define-public (otf-name-mangling font family) ;; Hmm, family is bigcheese20/26? (if (string=? (substring family 0 (min (string-length family) 9)) "bigcheese") (string-append "LilyPond " (substring family 9)) - family)) + (if (string=? family "aybabtu") + "LilyPondBraces" + family))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Wrappers from guile-gnome TLA diff --git a/scm/output-svg.scm b/scm/output-svg.scm index 46df231a1f..068b69d28a 100644 --- a/scm/output-svg.scm +++ b/scm/output-svg.scm @@ -116,12 +116,15 @@ (define (fontify font expr) (tagify "text" expr (cons 'style (svg-font font)))) +;; FIXME (define-public (otf-name-mangling font family) ;; Hmm, family is bigcheese20/26? (if (string=? (substring family 0 (min (string-length family) 9)) "bigcheese") "LilyPond" - family)) + (if (string=? family "aybabtu") + "LilyPondBraces" + family))) (define-public (otf-weight-mangling font family) ;; Hmm, family is bigcheese20/26? -- 2.39.5