Re: text to path conversion API proposal

Hi Cameron,

thanks for writing up a proposal.
I have a couple of remarks:
1. It would be better if you can get the outline of each glyph instead of
the outlines of all glyphs. The current approach will cause problems with
filling if glyphs overlap.
2. As a follow-on to this, maybe it would be better if given a string of
text, you define an API that returns the used glyphs with their positions.
Then, using the API of step 1, you can get the outline of each glyph. You
can then decide yourself how you will draw with these outlines
3. There should be a rule that says that the returned glyph outlines can be
drawn with either evenodd or nonzero fill rules
4. you need to define an API that checks for permissions. Not all fonts
allow you to convert to outlines.

Rik

On Fri, Oct 21, 2011 at 2:18 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> I started writing up a proposal for an SVG text to path conversion API:
>
> http://www.w3.org/Graphics/**SVG/WG/wiki/Proposals/Text_to_**path_API<http://www.w3.org/Graphics/SVG/WG/wiki/Proposals/Text_to_path_API>
>
> Comments welcome.
>
>

Received on Saturday, 22 October 2011 22:28:24 UTC