On 25 Jun 2002, Ian Redfern wrote:
> On Mon, 2002-06-24 at 19:06, Lars Clausen wrote:
>> On 24 Jun 2002, Ian Redfern wrote:
>> > Mostly, yes, although I had to apply the letters by hand - the
>> > original icons are available in PDF, and it's pretty painless to
>> > convert that to SVG with XPM previews. Fortunately SVG has a very
>> > similar path model to PostScript.
>>
>> That is very cool! Is this something that can be totally automated, or
>> do you still have to cut things out by hand?
>
> You're welcome to my Perl script. It tries to identify connected objects
> on a page and turns each one into a Dia shape. It's not perfect, but may
> be a starting point. I've put it at
> http://public.logica.com/~redferni/dia/pstoshape.pl - you need to run
> pdftops first to decode the PDF. I have a hack to turn these into XPMs
> via GhostScript, but I'm too ashamed of that to publish it yet.
Is it ok if we put this up on the Dia site? It would be quite, quite
useful.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?