RE: SVG2 polyfill

Tuesday, August 30, 2016 4:30 AM
Tav wrote:

Here are some things I would love to see handled (in rough order of
difficulty) along with ideas on how to implement them in a polyfill:
[...]
* Text on shapes

  Not supported anywhere yet.
  Convert shape to path.


* SVG 2 Text in shape

  Partial support by Inkscape.
  Not clear how to implement in polyfill.

------------
Hi Tav, Frédéric,

Not sure if what we've done here [1] would be of use or not, but the software (Tansy) is open source JavaScript and has two possibly relevant things:

a) script to find polygons in a line arrangement [2], and then to convert those to SVG paths
b) script that flows text into a convex polygon. 

The software [3] is explained in the paper [1] (which is lengthy) but a brief overview of how to use it can be seen at [4].

The software was developed as a proof of concept that the rectangular box model need not forever constrain our thinking about the web -- in fact it never did until the dang printing press came along.

Cheers
David

[1] http://cs.sru.edu/%7Eddailey/TGW2014/RectilinearMold2.html 
[2] https://en.wikipedia.org/wiki/Arrangement_of_lines 
[3] http://cs.sru.edu/%7Eddailey/fonts/Tansy1.7.4.htm
[4] http://cs.sru.edu/%7Eddailey/Parisien.html 

Received on Tuesday, 30 August 2016 11:41:25 UTC