[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: RC1 today?
From:       Thomas Zander <zander () planescape ! com>
Date:       2002-07-29 16:18:06
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 29 July 2002 13:56, kudling@kde.org wrote:
> > kontour is still very broken, I hear, but Laurent and Sven have started
> > a kontour->karbon filter, so that people can convert their old kontour
> > docs to karbon. I think this solution makes more sense for koffice-1.2
> > (and possibly later, unless the kontour authors wake up again) than
> > trying to fix kontour. If anyone wants to help with the filter, I'm sure
> > this will be appreciated ;)
>
> Hm, this will push some not so little pressure on karbon.
> Besides that there is an issue which needs to be discussed before
> forcing us into backwards compatibility: path data.
>
> Dirk Schönberger likes the way SVG stores paths better. I'm pretty
> neutral about that now. I think the current karbon way is more XML like,
> while SVG abuses XML slightly in favor of saving space.
> For the inocents: karbon does something like <path><line x="0"
> y="0">...</path> while SVG does something like <path data="0 0 l...">
> (very roughly).
>
> The SVG way needs a path data parser in addition to an XML parser while
> karbon's current version needs just an XML parser.
>
> Any opinions on that?

You have a SVG importer anyway; so the SVG manner will work now, and you will 
keep needing the (ugly) data parser in the future.
What about allowing both on read. Its easy to do from a DOM. Just one if() 
based on the precense of the attribute or a child.

On writing of the file you have to consider who will read the file.
I am wondering how compatible the current format is with SVG, and how much you 
are willing to sacrifice to stay compatible in the long run.

That last point is something only you can decide.

- -- 
Thomas Zander                                           zander@planescape.com
                                                 We are what we pretend to be
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9RWrCCojCW6H2z/QRAopkAJ991OWPxVn924T67U85GEtDTAy/9gCffnin
WavgW0iSJVJFZlA5dqYaiNM=
=TlG3
-----END PGP SIGNATURE-----

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic