Inkscape cannot open *.svgz (compressed Inkscape) through File -> Open (command-line works ok though)
by Michael Park
Hi there,
I noticed that Inkscape bails w/ an error message 'Failed to load the
requested file <filename>.svgz' when trying to open a compressed
Inkscape file through the GUI. However, it can still load the same
file just fine if I pass it to inkscape through the command-line:
$ # this works ok
$ inkscape myfile.svgz
...when it errors out, I get the following error message on the command line:
Entity: line 1: parser error : Start tag expected, '<' not found
�
^
To reproduce:
1 - create a new file
2 - add a shape (I just did a simple red square)
3 - save as 'Compressed Inkscape SVG (*.svgz)'
4 - close and re-open inkscape GUI
5 - in the GUI, File -> Open <your saved file> // this will result in the error
6 - open same file through command-line // this will open ok
I don't know how long this behavior has been around, I only started
using compressed SVG's recently, but I see the behavior as far back as
rev 20150.. I also keep rev 19967 handy (there seems to have been a
performance regression since this build, when zooming in/out.. the
canvas seems to refresh slower... but that's another matter
altogether), and it suffers the same problem BOTH through the GUI and
command-line.
I'll try bisecting down to the neighbor revs that fixed the
command-line opening problem when I get some time later on tomorrow.
--Mike
12 years, 6 months
Re: [Inkscape-devel] Adjusting DPIs for a document (S?bastien)
by Guillermo Espertino
Sebastien:
You can work with inkscape's default units (px) and export your artwork
at 90dpi from the png exporter and you'll get 1:1 conversion of vector
pixels to raster pixels.
The same applies to the image imports, inkscape will take the real
pixels and place them on the work area using 90 dpi.
Of course the feature that you're proposing is interesting and would be
very helpful in several situations. This has been already discussed and
if I remember correcly, there is a similar suggestion in the wishlist.
Could you please check in the bug tracker if it has been already
reported? If not, you can create a detailed feature request.
Gez.
12 years, 6 months
Grid snapping slowing down operations
by Sébastien
Hello,
I'm using Inkscape grids extensively and some operations like resizing
a rectangle or drawing a line using the pen tool push my CPU to 100%
for 10 to 30s.
The grid setup I use it the following:
- Pixels
- Origin: x=0.0, y=-15.0
- Spacing: x=2.0, y=2.0
- Step: 10 lines
And then snapping is turned on for nodes and snaps to paths, nodes and
guides with a distance of 1.
I've been experiencing these slowdowns on two Ubuntu machines, and the
problem still shows with the latest realase (8.10). I'm running
Inkscape 0.46, built Oct 24 2008.
-- Sébastien
12 years, 6 months
Adjusting DPIs for a document
by Sébastien
Hello,
I'm doing UI design using Inkscape and it is important for me to be
able to adjust the DPI on a per-document basis.
In practice, I want to be able to adjust the number of pixels per inch
(or cm) so that I can make UI wireframes bigger or smaller without
losing the pixel-precision.
-- Sébastien
12 years, 6 months
Re: [Inkscape-devel] Parallel build on Windows
by Diederik van Lierop
Hi Jasper,
Probably you intended to send this message to the dev-list too?
Thanks for your info on gcc vs. make. Probably Bob will comment on this.
Anyway, Eclipse already has the automatic build option you described. When I
first tested it two years ago it didn't run very smoothly for large projects
such as Inkscape, but things might have improved (at least my CPU has), so
maybe I should try it again.
Diederik
> -----Original Message-----
> From: Jasper van de Gronde [mailto:th.v.d.gronde@...528...]
> Sent: 2008 nov 13 9:18
> To: mail@...1689...
> Subject: Re: [Inkscape-devel] Parallel build on Windows
>
> Diederik van Lierop wrote:
> > Hi,
> >
> > Can anyone tell me how to do a parallel build using mingw32 and btool on
> > Windows? I've tried adding -j4 to build.xml, but that parameter is not
> > being accepted.
>
> I think this is actually a parameter of make, not gcc. That means that
> buildtool should be modified to allow for running multiple processes
> simultaneously. Not impossible, but definitely tricky (ideally you'd
> have to handle the GCC output gracefully for example).
>
> > I'm bisecting, but this could be so much faster on my quadcore...
>
> I know what you mean :) I'm currently in a similar situation with
> Matlab, it's so frustrating to have it only run one test at a time...
> (Especially since the full set of tests takes more than a week to
complete.)
>
> On a related note, I've often wondered whether there isn't some build
> system that tries to keep your build up-to-date while you're editing. So
> something that sits in the background, keeping an eye on all the source
> files, and once something is saved it tries to compile it (and/or
> anything that depends on it).
>
> Obviously compiling would not actually be faster, but it might reduce
> the time you have to wait, especially if you're making large changes
> (editing multiple files), as you can just continue to do all sorts of
> other things while the build is being kept as up-to-date as possible
> behind your back.
12 years, 6 months
[PATCH] Fixing strings when exporting to JavaFX files
by Silveira Neto
Some exported codes couldn't compile in JavaFX due to spaces and minus signs
on id labels. The sanatize function creates a new string with them replaced
by underscores, solving the problem.
Diff agains revision 20175.
12 years, 6 months
Inkscape book on Floss Manuals
by Joshua Facemyer
A little PR for the Inkscape Docs team:
We recently got our Inkscape Manual (the fruit of our Book Sprint) put
on Lulu (http://www.lulu.com/content/4617381). You've probably seen the
article by the Russian on the inkscape.org which has a link - if not,
check it out!
The published book, while being a reasonably finished work of good
quality, is not comprehensive. We would like it to be more so. Here
are some things that will help us to continue with this work:
1. Sales of the current version (somewhat limited 1st EDITION!!!!) on
Lulu will help us afford a future Booksprint.
2. Contributions to the manual on our Floss Manuals workspace are
greatly needed. Of course, as this needs some coordination, it's best
to start on the inkscape-docs list (signup at lists.sourceforge.net) to
find out where to begin.
3. Magical powers to generate whatever good thing we want without much
effort.
If you can help with any of these things, that would be GREAT! In
particular, getting word out and posting the link to the Lulu store
would be of great benefit.
JF
12 years, 6 months
compiler errors on windows
by pete mcquain
Hello,
I'm trying to get my build environment up and running under Vista and am running into a compiler error:
src/display/nr-svgfonts.h:37: error: 'cairo_text_cluster_flags_t' has not been declared
I'm using the command-line tools and I'm building against the most recent source from SVN. I got the most recent devlibs zip and mingw from http://inkscape.modevia.com/win32libs/.
Does the devlibs archive have the correct cairo includes?
Thanks!
pete mcquain
12 years, 6 months