]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4776/2 Doc: Usage 1.2: update svg default font info
authorPaul Morris <paulwmorris@gmail.com>
Sat, 20 Feb 2016 17:21:30 +0000 (12:21 -0500)
committerJames Lowe <pkx166h@gmail.com>
Sun, 28 Feb 2016 09:21:36 +0000 (09:21 +0000)
Default svg font-family values are now
'serif' 'sans-serif' and 'monospace'

Documentation/usage/running.itely

index 8ec83109257cab3caf67d76f1ea682a9ef9285ba..9801cfc207a9b21697eac6ad8610a68b25f9365e 100644 (file)
@@ -485,21 +485,22 @@ included.
 @item
 @tab @code{svg}
 @tab Scalable Vector Graphics.
-A single SVG file is created for every page of output.  Apart from
-LilyPond's own music glyphs, no other font information will be included.
-Any SVG viewer will therefore require the fonts be available to it for
-the proper rendering of both text and lyrics.  It is recommended to not
-to use font @q{aliases} or @q{lists} in case the SVG viewer is unable to
-handle them.  When using @emph{Web Open Font Format} (WOFF) files the
-additional @code{--svg-woff} switch is required.
+A single SVG file is created for every page of output.  Music glyphs
+are encoded as vector graphics, but text fonts are @emph{not} embedded
+in the SVG files.  Any SVG viewer will therefore need the relevant text
+fonts to be available to it for proper rendering of both text and
+lyrics.  It is recommended to not use font @q{lists} or @q{aliases}
+in case an SVG viewer is unable to handle them.  When using
+@emph{Web Open Font Format} (WOFF) files the additional
+@code{--svg-woff} switch is required.
 @end multitable
 
 @noindent
 @strong{Note for backend svg output:}
-LilyPond's default fonts (@code{LilyPond Serif},
-@code{LilyPond Sans Serif} and @code{LilyPond Monospace}) are just
-@emph{local} font aliases.  Therefore, when using the backend @code{svg}
-command you must explicitly define the default fonts in your source
+By default in svg output LilyPond will use the generic
+@code{font-family} values of @code{serif}, @code{sans-serif}, or
+@code{monospace}.  Therefore, when using the backend @code{svg} command
+you should explicitly define particular default fonts in your source
 file;
 
 @quotation