use it.
* input/test/font-table.ly: new file. Generate font table within lily.
* Documentation/user/notation-appendices.itely (The Feta font):
use new font-table.ly file.
2006-01-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * Documentation/user/notation-appendices.itely (The Feta font):
+ use it.
+
+ * input/test/font-table.ly: new file. Generate font table within lily.
+
+ * Documentation/user/notation-appendices.itely (The Feta font):
+ use new font-table.ly file.
+
* stepmake/stepmake/install-out-targets.make
(local-install-outfiles): only create directory if
$(INSTALLATION_OUT_DIR) is defined. This fixes install on Gentoo.
@node The Feta font
@appendixsec The Feta font
-The following symbols are available in the Feta font and may be
+The following symbols are available in the Emmentaler font and may be
accessed directly using text markup such as @code{g^\markup @{
\musicglyph #"scripts.segno" @}}, see @ref{Text markup}.
-
-@lilypondfile[noindent]{feta16list.ly}
-
-
-@lilypondfile[noindent]{parmesan16list.ly}
+@lilypondfile[noindent]{font-table.ly}
@ignore
--- /dev/null
+
+
+\paper {
+ %% ugh. text on toplevel is a bit broken... .
+
+ oddHeaderMarkup = \markup {}
+ evenHeaderMarkup = \markup {}
+ oddFooterMarkup = \markup {}
+ evenFooterMarkup = \markup {}
+ }
+
+#(define (doc-char name)
+ (make-line-markup
+ (list
+ (make-pad-to-box-markup
+ '(0 . 30)
+ '(-2 . 2)
+ (make-typewriter-markup (make-small-markup name)))
+ (make-pad-to-box-markup
+ '(-2 . 2)
+ '(-2 . 2)
+ (make-musicglyph-markup name)))))
+
+#(define (min-length lst n)
+ "(min (length lst) n)"
+
+ (if (or (null? lst) (<= n 0))
+ 0
+ (1+ (min-length (cdr lst) (1- n)) )))
+
+#(define (doc-chars names)
+ (let*
+ ((n (min-length names 2))
+ (head (take names n))
+ (tail (drop names n))
+ )
+
+ (cons
+ (make-line-markup (map doc-char head))
+ (if (null? tail)
+ '()
+ (doc-chars tail)))))
+
+#(define (group-lines lines)
+ (let*
+ ((n (min-length lines 25))
+ (head (take lines n))
+ (tail (drop lines n))
+ )
+
+ (cons
+ (make-column-markup head)
+ (if (null? tail)
+ '()
+ (group-lines tail)))))
+
+#(let*
+ ((lines (doc-chars
+ (ly:font-glyph-list (format "~a/share/lilypond/~a/fonts/otf/emmentaler-20.otf"
+ (getenv "LILYPONDPREFIX")
+ (lilypond-version)
+ ))))
+ (pages (group-lines lines)))
+
+ (for-each
+ (lambda (x)
+ (collect-scores-for-book parser
+ (make-override-markup '(word-space . 8) x)))
+ pages))
+
+
if (!os)
os = FcObjectSetBuild (FC_FAMILY, FC_STYLE, (char *) 0);
- FcFontSet * fs = FcFontList (fcc, pat, os);
+ FcFontSet *fs = FcFontList (fcc, pat, os);
FcObjectSetDestroy (os);
if (pat)
FcPatternDestroy (pat);
}
-
LY_DEFINE (ly_font_config_display_fonts, "ly:font-config-display-fonts", 0, 0, 0,
(),
"Dump a list of all fonts visible to FontConfig.")
(set! base (format #f "~a-~a" base count)))
(ly:parser-define! parser 'output-count (1+ count))
-
-
(ly:score-process score header paper layout base)
))