]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/font-postscript.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / font-postscript.ly
1 \header {
2
3     texidoc = "This file demonstrates how to load different
4     (postscript) fonts. The file @file{font.scm} shows how to define
5     the scheme-function @code{make-century-schoolbook-tree}.
6
7     This file should be run with the TeX and extra options should be
8     passed to LaTeX and dvips to help it find the uncb font."
9
10 }
11 \version "2.11.51"
12
13 \paper
14 {
15     #(define text-font-defaults
16       '((font-encoding . latin1)
17         (baseline-skip . 2)
18         (word-space . 0.6)))
19
20     #(set! fonts (make-century-schoolbook-tree 1.0))
21 }
22
23 %ugh.
24 % do this here so we don't forget the connection with
25 % this file.
26 #(system "afm2tfm `kpsewhich uncb8a.afm` uncb8a.tfm") 
27
28 \layout {
29     line-width = 160 \mm - 2.0 * 9.0 \mm
30
31     
32     indent = 0.0\mm
33     ragged-right = ##t
34 }
35
36 {
37     \key a \major
38     \time 6/8
39     cis''8.
40
41 %% uncomment to test postscript fonts. 
42 % ^"test!"
43
44     
45     
46     d''16 cis''8 e''4 e''8
47 }