public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* (kawa pictures) library SVG error?
@ 2016-10-16 17:01 Sudarshan S Chawathe
  2016-10-16 17:14 ` Per Bothner
  0 siblings, 1 reply; 2+ messages in thread
From: Sudarshan S Chawathe @ 2016-10-16 17:01 UTC (permalink / raw)
  To: kawa

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.


Regards,

-chaw

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (kawa pictures) library SVG error?
  2016-10-16 17:01 (kawa pictures) library SVG error? Sudarshan S Chawathe
@ 2016-10-16 17:14 ` Per Bothner
  0 siblings, 0 replies; 2+ messages in thread
From: Per Bothner @ 2016-10-16 17:14 UTC (permalink / raw)
  To: Sudarshan S Chawathe, kawa

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-16 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-16 17:01 (kawa pictures) library SVG error? Sudarshan S Chawathe
2016-10-16 17:14 ` Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).