From 3e51ccc229f58ecffab9a6dc1325bd232786df42 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 6 Dec 2008 07:55:07 +0100 Subject: [PATCH] Fix regression file. Remove system call to afm2tfm and really test PS font. --- input/regression/font-postscript.ly | 50 +++++++++-------------------- 1 file changed, 16 insertions(+), 34 deletions(-) diff --git a/input/regression/font-postscript.ly b/input/regression/font-postscript.ly index 4144763962..d061343bfa 100644 --- a/input/regression/font-postscript.ly +++ b/input/regression/font-postscript.ly @@ -1,47 +1,29 @@ \header { - - texidoc = "This file demonstrates how to load different - (postscript) fonts. The file @file{font.scm} shows how to define - the scheme-function @code{make-century-schoolbook-tree}. - - This file should be run with the TeX and extra options should be - passed to LaTeX and dvips to help it find the uncb font." - + texidoc = "This file demonstrates how to load different (postscript) +fonts. The file @file{font.scm} shows how to define the scheme-function +@code{make-century-schoolbook-tree}." } + \version "2.11.51" -\paper -{ - #(define text-font-defaults - '((font-encoding . latin1) - (baseline-skip . 2) - (word-space . 0.6))) +\paper { + #(define text-font-defaults + '((font-encoding . latin1) + (baseline-skip . 2) + (word-space . 0.6))) - #(set! fonts (make-century-schoolbook-tree 1.0)) + #(set! fonts (make-century-schoolbook-tree 1.0)) } -%ugh. -% do this here so we don't forget the connection with -% this file. -#(system "afm2tfm `kpsewhich uncb8a.afm` uncb8a.tfm") - \layout { - line-width = 160 \mm - 2.0 * 9.0 \mm + line-width = 160 \mm - 2.0 * 9.0 \mm - - indent = 0.0\mm - ragged-right = ##t + indent = 0.0\mm + ragged-right = ##t } { - \key a \major - \time 6/8 - cis''8. - -%% uncomment to test postscript fonts. -% ^"test!" - - - - d''16 cis''8 e''4 e''8 + \key a \major + \time 6/8 + cis''8.^"test!" d''16 cis''8 e''4 e''8 } -- 2.39.2