I simply want to know how to generate an SVG path that centers, fits, and curves inside of a SVG polygon. I assume the method of doing this would be through Javascript. Reference below.

2 thoughts on “How to fit and wrap text inside SVG polygon”

As described by Noah Veltman in this post, the basic process is:

Turn the shape into a polygon of evenly-spaced points.

Generate a Voronoi diagram of those points.

Clip the edges.

Turn the edges into a graph.

Find the "longest shortest path" between any pair of perimeter nodes.

As described by Noah Veltman in this post, the basic process is:

See also this source.

Xswemy – http://virviaga.com/ discount viagra no rx