[Haskell-cafe] Haskell SVG path parser?
Dimitry Golubovsky
golubovsky at gmail.com
Mon May 24 12:30:54 EDT 2010
Tillmann,
OK, I see: your code parses the "glyph" element which contains the
same kind of path definition that the "path" element does.
I think your code would be helpful for me as well.
And I think I'll use the same "xml" package to read in the SVG file (I
was thinking about this package earlier, and your code has a good
example of using it).
Thank you.
On Mon, May 24, 2010 at 12:20 PM, Tillmann Vogt
<Tillmann.Vogt at rwth-aachen.de> wrote:
>
[skip]
> more fully. I have spent quite some time on a tricky function
> "commandsToPoints" in ReadFont.hs which is about parsing the d field and
> translating it into outline points. Are you looking for something like that?
>
>>
>> That is, the syntax of the "d" attribute (e. g. M 100 100 L 300 100 L
>> 200 300 z)?
>>
--
Dimitry Golubovsky
Anywhere on the Web
More information about the Haskell-Cafe
mailing list