Regarding WMF, PS-based AI, SK and FIG files support
Hi,
During last weekend I played with UniConvertor and found out that:
1) Its support for WMF is better than the one of wmf2svg simply because objects are editable at once. You can also have a look at feature support tables at [1] and [2]. 2) Old PS-based Adobe Illustrator files look pretty cool, though the ones created with Freehand still don't open correctly. What doesn't work is importing text when fonts in use are absent. UC just drops such text objects. I'm talking to Igor about fixing it.
We can have this by just replacing the converter call to cdr2svg.sh which is already written in a universal way. This implies no strings changes at all.
If we look a little further, we can ditch the Sketch/Skencil dependency (skconvert, actually) for opening .sk files (UniConverter actually used to be part of Sketch not so long time ago, thus it's same as skonvert in this case). Same probably applies to XFig dependency (fig2dev utility) for opening .fig files, but the very few XFig 3.2 files I had around didn't work at all with UC. I'm talking to Igor about fixing this as well.
What is beautiful about this approach is that we will have all these things for free on _all_ platforms, since we are shipping UniConvertor for both Linux, Mac and Windows in 0.46.
Here is my proposal:
1. Rename cdr2svg.sh to uniconv2svg.sh 2. Fix ai_input.inx, cdr2svg.inx, sk_input.inx and wmf_input.inx to use it. Probably fig_input.inx too, if a bugfix UC release is out before we package 0.46.
Is this acceptable during Hard Freeze?
Later we could also add extensions to support CDT (CorelDRAW templates), CCX (Corel Compressed Exchange), CMX (Corel Presentation Exchange), CGM (Computer Graphics Metafile), AFF (Micrografix Draw) and SK1 files the very same way (I've already written .inx files). But this implies strings changes. Thus either 0.46.1 or 0.47.
[1] http://www.sk1project.org/modules.php?name=Report&page=08 [2] http://www.sk1project.org/modules.php?name=Report&page=06
Alexandre
On Tue, Feb 26, 2008 at 09:32:22AM +0300, Alexandre Prokoudine wrote:
During last weekend I played with UniConvertor and found out that:
We can have this by just replacing the converter call to cdr2svg.sh which is already written in a universal way. This implies no strings changes at all.
Here is my proposal:
- Rename cdr2svg.sh to uniconv2svg.sh
- Fix ai_input.inx, cdr2svg.inx, sk_input.inx and wmf_input.inx to
use it. Probably fig_input.inx too, if a bugfix UC release is out before we package 0.46.
Is this acceptable during Hard Freeze?
I think it's a bit too late in the cycle for doing this, since the amount of testing time we have is far too short. But it'd be a great idea to explore in the 0.47 tree.
Bryce
On Tue, Feb 26, 2008 at 10:21 AM, Bryce Harrington <bryce@...1798...> wrote:
I think it's a bit too late in the cycle for doing this, since the amount of testing time we have is far too short. But it'd be a great idea to explore in the 0.47 tree.
OK, I committed ccx/cgm/cdt/cgm/sk1 INX files to trunk :)
I still think that we should consider using UniConvertor for importing WMF in 0.46 because it fixes a long time standing https://bugs.launchpad.net/inkscape/+bug/166782
Alexandre
On Tue, Feb 26, 2008 at 07:55:12PM +0300, Alexandre Prokoudine wrote:
On Tue, Feb 26, 2008 at 10:21 AM, Bryce Harrington <bryce@...1798...> wrote:
I think it's a bit too late in the cycle for doing this, since the amount of testing time we have is far too short. But it'd be a great idea to explore in the 0.47 tree.
OK, I committed ccx/cgm/cdt/cgm/sk1 INX files to trunk :)
I still think that we should consider using UniConvertor for importing WMF in 0.46 because it fixes a long time standing https://bugs.launchpad.net/inkscape/+bug/166782
If you can prepare a patch, I'll be happy to review it. Even if it turns out to be too much for 0.46.0, we could likely include it for 0.46.1.
Bryce
On Tue, Feb 26, 2008 at 10:37 PM, Bryce Harrington wrote:
I still think that we should consider using UniConvertor for importing WMF in 0.46 because it fixes a long time standing https://bugs.launchpad.net/inkscape/+bug/166782
If you can prepare a patch, I'll be happy to review it. Even if it turns out to be too much for 0.46.0, we could likely include it for 0.46.1.
Done, attached to https://bugs.launchpad.net/inkscape/+bug/166782
Alexandre
On Wed, Feb 27, 2008 at 06:20:13PM +0300, Alexandre Prokoudine wrote:
On Tue, Feb 26, 2008 at 10:37 PM, Bryce Harrington wrote:
I still think that we should consider using UniConvertor for importing WMF in 0.46 because it fixes a long time standing https://bugs.launchpad.net/inkscape/+bug/166782
If you can prepare a patch, I'll be happy to review it. Even if it turns out to be too much for 0.46.0, we could likely include it for 0.46.1.
Done, attached to https://bugs.launchpad.net/inkscape/+bug/166782
Alexandre
Thanks, applied.
Please update the ReleaseNotes046 and make sure this is also included in the mainline trunk. I've closed the bug, but reopen it if there are additional issues I didn't notice.
Bryce
On Thu, Feb 28, 2008 at 10:44 PM, Bryce Harrington wrote:
Thanks, applied.
Please update the ReleaseNotes046
Done
and make sure this is also included in the mainline trunk.
Done
I've closed the bug, but reopen it if there are additional issues I didn't notice.
OK :)
Alexandre
participants (2)
-
Alexandre Prokoudine
-
Bryce Harrington