From: Han-Wen Nienhuys Date: Sun, 19 Dec 2004 14:29:45 +0000 (+0000) Subject: * Documentation/user/invoking.itely (Invoking lilypond): add SVG X-Git-Tag: release/2.5.14~383 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=673264428713b66634bd2be1f1eb0afce6fd0fc4;p=lilypond.git * Documentation/user/invoking.itely (Invoking lilypond): add SVG * stepmake/stepmake/metafont-rules.make: make single SVG/PFA/PFB rule. * mf/GNUmakefile (ALL_GEN_FILES): make SVG files too. --- diff --git a/ChangeLog b/ChangeLog index 12413404f6..1b5d68e042 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-12-19 Han-Wen Nienhuys + * Documentation/user/invoking.itely (Invoking lilypond): add SVG + * stepmake/stepmake/metafont-rules.make: make single SVG/PFA/PFB rule. diff --git a/Documentation/topdocs/NEWS.texi b/Documentation/topdocs/NEWS.texi index eaded7778a..a67c34cee4 100644 --- a/Documentation/topdocs/NEWS.texi +++ b/Documentation/topdocs/NEWS.texi @@ -13,6 +13,8 @@ LilyPond now uses FreeType read the Feta font as an OpenType font. This is cleaner design and more robust. A recent version of FontForge (11122004 or newer) and Freetype is required. +As a result, the SVG backend is now a fully functional backend. + @item A new script, @code{\espressivo} has been added, for a combination of crescendo and decrescendo on a single note. diff --git a/Documentation/user/invoking.itely b/Documentation/user/invoking.itely index cde9db0720..40334bbaed 100644 --- a/Documentation/user/invoking.itely +++ b/Documentation/user/invoking.itely @@ -55,15 +55,24 @@ sequentially. The function @code{ly:set-option} allows access to some internal variables. Use @code{-e '(ly:option-usage)'} for more information. + @item -f,--format=@var{format} A comma separated list of back-end output formats to use. Choices are -@code{tex} (for @TeX{} output, to be processed with La@TeX{}), and -@code{ps} for PostScript. - -There are other output options, but they are intended for developers. -@cindex output format, setting +@table @code +@item tex +for @TeX{} output, to be processed with La@TeX{} +@item ps + for PostScript @cindex PostScript output +@item svg + for SVG (Scalable Vector Graphics.) +@cindex SVG (Scalable Vector Graphics) +@item scm + for a dump of the raw, internal Scheme-based drawing commands. @cindex Scheme dump +@end itemize + +@cindex output format, setting @item -h,--help Show a summary of usage. diff --git a/mf/GNUmakefile b/mf/GNUmakefile index 6d7fc92e4c..a307bef84c 100644 --- a/mf/GNUmakefile +++ b/mf/GNUmakefile @@ -214,12 +214,11 @@ local-clean: #pfb: afm $(PFB_FILES) fontdir # # -## stupid trick to have separate rules for each PFA font ; -## otherwise building PFAs is all-or-nothing. -# -# -#$(outdir)/%.pfa $(outdir)/%.svg: $(outdir)/%.bla -# $(MFTRACE) -I $(outdir)/ --formats=pfa,svg --simplify --keep-trying $(notdir $(basename $@)) && mv $(notdir $@) $(outdir)/ +# stupid trick to have separate rules for each PFA font ; +# otherwise building PFAs is all-or-nothing. + +#$(outdir)/%.pfa: $(outdir)/%.bla +# $(MFTRACE) -I $(outdir)/ --formats=pfa,pfb,svg --simplify --keep-trying $(notdir $(basename $@)) && mv $(notdir $@) $(outdir)/ $(outdir)/%.enc.in: %.enc cp $< $@ diff --git a/stepmake/stepmake/metafont-rules.make b/stepmake/stepmake/metafont-rules.make index 4741dcc0af..30ecf440c8 100644 --- a/stepmake/stepmake/metafont-rules.make +++ b/stepmake/stepmake/metafont-rules.make @@ -31,7 +31,8 @@ $(outdir)/%.$(XPM_RESOLUTION)pk: $(outdir)/%.$(XPM_RESOLUTION)gf $(outdir)/%.pfb $(outdir)/%.svg $(outdir)/%.pfa: %.mf $(MFTRACE) $(MFTRACE_FLAGS) -I $(outdir)/ --formats=pfa,pfb,svg --simplify $(basename $(@F)) - mv $(basename $(@F)).pfa $(outdir) + mv $(basename $(@F)).{pfa,pfb,svg} $(outdir) + #%.afm: # $(SHELL) $(depth)/buildscripts/tfmtoafm.sh $(shell basename $@ .afm) # mv $@ $@.in