This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (kawa pictures) library SVG error?


On 10/16/2016 10:01 AM, Sudarshan S Chawathe wrote:
In experimenting with the new (kawa pictures) library I encountered a
minor error:

  * picture-write-svg: The resulting file seems to have a syntax error
    (at least chromium and emacs both complain about it).  For example,
    with

      (picture-write-svg (with-paint 'hot-pink
                         (hbox (fill circ1) (draw circ1)))
                       "/tmp/t.svg")

    I get the following from in a chromium browser:

      error on line 2 at column 44: Space required after the Public
      Identifier

    Adding the space where suggested in the SVG file fixes the problem.

Oops ... I checked in a fix.
Thanks for testing this!
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]