Re: vector graphics support (was Re: image support (was ...))


Subject: Re: vector graphics support (was Re: image support (was ...))
From: Paul Rohr (paul@abisource.com)
Date: Fri Mar 03 2000 - 12:37:14 CST


At 08:13 AM 3/3/00 GMT, Caolan McNamara wrote:
>On 02.03.00, 22:19:57, Paul Rohr <paul@abisource.com> wrote:
>> As people volunteer to tackle this problem, they'll face the tradeoffs
>of
>> implementing the following two code paths:
>
>> (a) WMF, etc. --> SVG --> GR_Graphics --> display
>> (b) WMF, etc. --> PNG --> display
>
>FWIW libwmf can do the wmf to png conversion at the moment. I'd love
>to see a wmf to svg conversion as part of it but I do not have any svg
>knowledge myself. Libwmf was stuck together similiar to libwv so there
>are about 20 function pointers which someone can fill in. One for line
>drawing, circles, polylines, floodfill etc etc. Looking at the png
>example and the X drawing example that are included should make it
>pretty easy to create a wmf to svg conversion library on top of it.
>Even if a different route is taken I documented as best I could the
>wmf format at
>http://www.csn.ul.ie/~caolan/publink/libwmf/libwmf/doc/index.html .
>With much searching for docs, and guesswork and Wine trawling I think
>that its pretty complete. Definitely good enough for nearly every
>conversion. The only place where things get difficult is on text
>handling. There is a reasonable sophisticated text rendering system in
>windows which is a pain to map to X, and difficult for me to work out
>with freetype (for the png)

Excellent! So in short, (b) can be done immediately, and all the reverse
engineering needed to do (a) is also available. We just need to find people
to follow up on what you've done here.

Once again, Caolan, you've awed me with your thoroughness.

Thanks,
Paul



This archive was generated by hypermail 2b25 : Fri Mar 03 2000 - 12:31:46 CST