slow and cannot save when trying to resize eps files

Bug #496831 reported by yy2kk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

I start the program by:

unset GTK_IM_MODULE && inkscape &

Cause I need it to input text, otherwise it will simply crash, https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/406036.

As soon as I do something, such as resizing a plot, it gets very slow even it ran completely fine and smooth before this action. It gets worse, it stops saving from this point, not to any file formats. In fact, if I try to save it to a existing file, it will ruin the file. I cannot open it again in any programs I have.

I mostly import eps files(exported from mathematica if it matters), and making figures.

My computer brief configuration:
Quad core, 2.8GHz
3Gb Ram
ati hd 3450, binary driver downloaded from ati.amd.com
Compiz on or off didn't make a difference.

Operating system: ubuntu 9.10 upgraded from 9.04.

And I installed Inkscape through apt-get.

The "workaround" is:
- open a empty file(same as above: unset GTK_IM_MODULE && inkscape &)
- save it in "Inkscape svg" format.
- then import my eps files.
In this way, things are working well, I can edit, save etc. without any trouble.

Tags: importing eps
su_v (suv-lp)
tags: added: eps importing
Revision history for this message
su_v (suv-lp) wrote :

1) Which version of Inkscape do you use?
2) With 'resizing' do you mean scaling by either dragging the bounding box handles of the selected object or group with the mouse or applying a transformation via 'Object > Transform… > Scale'? What other editing commands cause the same problem?
3) Could you attach a sample EPS file that exposes this behavior?
4) Could you attach one of the 'ruined' files that can't be reopened in Inkscape? Did you have a look at it in a texteditor?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
yy2kk (kangyu29) wrote :

1) I said I use ubuntu 9.10 and installed through apt-get, I supposed you know what version it is in the repository. I am sorry, it is 0.47pre4 r22446, built Oct 14 2009.

2) I meant to drag the bounding box

3) attached sample eps files a.eps and b.eps.

4) the test.eps file is it suppose to look like, the test.svg is the ruined file. I can open the svg file with gedit, of course I don't understand anything inside.

I just reproduced the bug and generated the ruined file again.

su_v (suv-lp)
Changed in inkscape:
status: Incomplete → New
Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47 on OS X 10.5.8:
a) slow handling of the opened/imported EPS drawings (maybe because large parts of the diagram are clipped)
b) - single EPS files can be opened and saved as SVG files that can be re-opened in Inkscape without error.
   - importing a second EPS file into an opened (not imported) EPS drawing and saving the montage as SVG file creates corrupt files that fail to load in Inkscape and Batik with an encoding error.

Inkscape console message when loading above attached 'test.svg':
/Volumes/blue/img/Inkscape/test/bug/496831-cannotsave/test.svg:877: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xFF 0xBF 0xBF 0xBF
                 id="tspan4290">������������������������������������������������
                                ^

The relevant text object in the SVG file has the font 'Mathematica2' (not installed on my system).

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

No longer reproduced with Inkscape 0.48+devel r9812 on OS X 10.5.8 (attached file: b.eps imported into a.eps, saved as SVG).

See Bug #369861 “Unable to open previously imported pdf file” (patch was committed in r9812).

Revision history for this message
su_v (suv-lp) wrote :

Addendum to comment #4:
The combined EPS files save and reopen in r9812 as SVG file without encoding error because improperly encoded glyphs are omitted (see <https://bugs.launchpad.net/inkscape/+bug/369861/comments/11>). The underlying issue to properly import/convert all text hasn't been addressed yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.