W3C home > Mailing lists > Public > www-multimodal@w3.org > February 2011

RE: InkML Diagrams?

From: Tom Underhill <Tom.Underhill@microsoft.com>
Date: Wed, 23 Feb 2011 20:06:39 +0000
To: Doug Schepers <schepers@w3.org>
CC: "www-multimodal@w3.org" <www-multimodal@w3.org>, "Debbie Dahl (dahl@conversational-technologies.com)" <dahl@conversational-technologies.com>, "Kazuyuki Ashimura (ashimura@w3.org)" <ashimura@w3.org>, "smwatt@gmail.com" <smwatt@gmail.com>
Message-ID: <4045AB4EE43EB94C9508DDC490FA9F7131560C27@DF-M14-01.exchange.corp.microsoft.com>
Regarding my prototype site,
http://tunderhill.members.winisp.net/inkml2svg, I've tested it on Chrome
and Safari on Mac and the top five browsers on Windows.  It was just bad
luck that when you tried to go there, my ISP was down.   Its back up now!

> Have you seen my inkml2svg script?
   http://schepers.cc/svg/inkml/InkML2SVG.svg

I had not seen your script.   Very cool.   Regarding SVG: my biggest ask
of SVG is that it support variable width strokes.   InkML that is encoded
with pen or touch pressure should render with wider or narrow strokes.
In my prototype, I tried drawing separate line segments with variable
widths, but in all browsers doing so defeats the nice antialiasing of the
lines.

The SVG files I attached before had a problem: there's a bug in Visio
where arrow heads on lines don't output correctly.   The problem is that
Visio doesn't output style="overflow:visible" on the <marker>'s.   A
simple search/replace of 'orient="auto"' to 'orient="auto"
style="overflow:visible"' fixes it.   I've reattached the fixed files.
Also, my recreated figure2 was missing a couple lines; I've fixed those as
well.

Thanks,
Tom

-----Original Message-----
From: Doug Schepers [mailto:schepers@w3.org]
Sent: Wednesday, February 23, 2011 10:53 AM
To: Tom Underhill
Cc: www-multimodal@w3.org; Debbie Dahl
(dahl@conversational-technologies.com); Kazuyuki Ashimura
(ashimura@w3.org); smwatt@gmail.com
Subject: Re: InkML Diagrams?

Hi, Tom-

Tom Underhill wrote (on 2/22/11 7:06 PM):
> Hi Doug,
>
> The original vector files for the orientation diagrams were lost, but
> Iıve recreated them using Visio. Attached is the (new) source Visio
> document and the figures saved as both SVG and PNG files.

Great, thanks very much!  (You know me too well, providing the SVG files
as well...)


> Iım looking forward to the Web Events touch and pen events being
> implemented in browsers.

Me too.


>Iım working on a javascript library for
> displaying and capturing InkML in current browsers and the current lack
> of standards for gathering touch or pen input is problematic. Here is
> the prototype page showing InkML rendered on a page:
> http://tunderhill.members.winisp.net/inkml2svg/. Near the bottom of the
> page you can also scribble new ink into a canvas (currently implemented
> using mousedown/move/up events).

I couldn't get that to load (I'm on a Mac, so I didn't boot into Windows
yet).  I'm getting an HTTP Error 503: The service is unavailable.

Have you seen my inkml2svg script?
   http://schepers.cc/svg/inkml/InkML2SVG.svg
    
Regards-
-Doug Schepers
W3C Team Contact, SVG, WebApps, and Web Events WGs




figure1.png
(image/png attachment: figure1.png)

figure2.png
(image/png attachment: figure2.png)

Received on Wednesday, 23 February 2011 20:07:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 February 2011 20:07:26 GMT