bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SVG text-anchor and font-style


From: Manuel Strehl
Subject: SVG text-anchor and font-style
Date: Mon, 2 Jul 2007 19:50:34 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

Hi there.

I wanted to point out following bugs/enhancements in the SVG output: (Line
numbers are related to v. 2.11.27)

* output-svg.scm #139 and #156: font-style:~a;
  LilyPond fills ~a in files with the values "14" and "L", respectively.
  According to [1], only values italic, normal, ... are permitted. As far as I
  have seen, the font-style property can be removed without changing the styling
  of the output, at least for the notes (I must admit, that I haven't used 
italic
  fonts for text input so far, so this statement has a good chance to be wrong)

* output-svg.scm #142 and #156: text-anchor:west; and text-anchor:~a;
  The value "west" is illegal (see [2]). The correct values (corresponding to 
the
  direction of alignment) are "start", "middle" and "end".

* Minor enhancement: at the moment, width and height are given in user-space
  coordinates (that is, without units). It would be nice to set a viewport:
  <svg width="210mm" height="297mm" viewBox="0 0 210 297">

Best Regards
Manuel

[1]  <http://www.w3.org/TR/SVG/text.html#FontPropertiesUsedBySVG>
[2]  <http://www.w3.org/TR/SVG/text.html#TextAlignmentProperties>







reply via email to

[Prev in Thread] Current Thread [Next in Thread]