
Hi,
I'm a new user of Inkscape 0.44.1 as distributed with Debian Etch. I'm very impressed with the features it provides, but some basics are escaping me. I'm working with a postscript file, converted via
pstoedit -pta original.ps output.svg
I import output.svg into Inkscape with no problem, and the image displays the image and text labels exactly as it should.
I need to mark up the image with transparent boxes. I draw the boxes using the rectangle tool. However, I when I try to reselect them it gets very weird. Clicking on a rectangle actually selects a different rectangle, lower on the image than where the mouse is pointing. The other rectangle has a dotted outline (bounding box?) that is many times bigger than the rectangle itself.
I managed to fix this before by playing with the snapping options in document properties, but I am not able to repeat that early success. When I open the shapes tutorial I can draw and select boxes normally, and the dotted outlines appear to (almost) exactly match the outline of the rectangles themselves.
Please, what am I doing wrong? This is very frustrating, and I'm sure it's something really simple that I'm missing.

On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I need to mark up the image with transparent boxes. I draw the boxes using the rectangle tool. However, I when I try to reselect them it gets very weird. Clicking on a rectangle actually selects a different rectangle, lower on the image than where the mouse is pointing.
Of course you can't select something you don't see (transparent) by clicking. Imagine how loudly you (or someone else) would complain if it were not the case :)
Use the Outline mode. In that mode each object (even transparent) has outline which you can click to select it. Or use Tab/Shift+tab to select objects one by one.
The other rectangle has a dotted outline (bounding box?) that is many times bigger than the rectangle itself.
Can't happen. The bounding box shows you the real size of the object. You're probably selecting not what you think you are. Or the object has a wide transparent/white stroke.

On 2007-02-20, bulia byak wrote:
On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I need to mark up the image with transparent boxes. I draw the boxes using the rectangle tool. However, I when I try to reselect them it gets very weird. Clicking on a rectangle actually selects a different rectangle, lower on the image than where the mouse is pointing.
Of course you can't select something you don't see (transparent) by clicking. Imagine how loudly you (or someone else) would complain if it were not the case :)
Sorry, they aren't completely transparent, only partially so. I can see them, but also the image behind them.
The other rectangle has a dotted outline (bounding box?) that is many times bigger than the rectangle itself.
Can't happen. The bounding box shows you the real size of the object. You're probably selecting not what you think you are. Or the object has a wide transparent/white stroke.
Actually, it is happening, exactly as I describe. But you're right, the rectangle had a 374 px stroke. Changing that to a small number fixes my problem, thanks :)
374 px stroke seems odd for a default. How do I change that?

On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
Of course you can't select something you don't see (transparent) by clicking. Imagine how loudly you (or someone else) would complain if it were not the case :)
Sorry, they aren't completely transparent, only partially so. I can see them, but also the image behind them.
Then you should be able to select them by clicking. If you cannot, it's a bug.
374 px stroke seems odd for a default. How do I change that?
It's not the default. You have already changed that :) Any stroke width you set becomes a new default for those tools that use the last-set style.

On 2007-02-20, bulia byak <buliabyak@...155...> wrote:
On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
Of course you can't select something you don't see (transparent) by clicking. Imagine how loudly you (or someone else) would complain if it were not the case :)
Sorry, they aren't completely transparent, only partially so. I can see them, but also the image behind them.
Then you should be able to select them by clicking. If you cannot, it's a bug.
374 px stroke seems odd for a default. How do I change that?
It's not the default. You have already changed that :) Any stroke width you set becomes a new default for those tools that use the last-set style.
How am I selecting these values? I'm so confused. I can deal with the rectangle issue now. But when I then go to put text on the images I get a (possibly?) related problem. I set the font size to 8 in the text and font box. As soon as I start typing the text the font size jumps to 6120! This is very disconcerting. Before I realized what was happening I thought my image was being erased, as the text was so huge it obscured everything on the screen. I reset that back to 8. Then I try and add another text box, again with font size at 8, and again it jumps to 6120 as soon as I start typing.
Thanks for your very prompt and helpful tips - if you can see what I'm doing wrong please tell me!

On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
How am I selecting these values? I'm so confused. I can deal with the rectangle issue now. But when I then go to put text on the images I get a (possibly?) related problem. I set the font size to 8 in the text and font box. As soon as I start typing the text the font size jumps to 6120! This is very disconcerting. Before I realized what was happening I thought my image was being erased, as the text was so huge it obscured everything on the screen. I reset that back to 8. Then I try and add another text box, again with font size at 8, and again it jumps to 6120 as soon as I start typing.
Didn't you by chance import your SVG from some other program? If so and if it has a viewBox attribute on the svg tag, then it's the source of the problem (a known bug). Remove the viewbox to fix this.

On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I'm a new user of Inkscape 0.44.1 as distributed with Debian Etch. I'm very impressed with the features it provides, but some basics are escaping me. I'm working with a postscript file, converted via
pstoedit -pta original.ps output.svg
Ah, sorry I missed that - yes, most likely it's the viewBox inserted by pstoedit.

On 2007-02-20, bulia byak wrote:
On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I'm a new user of Inkscape 0.44.1 as distributed with Debian Etch. I'm very impressed with the features it provides, but some basics are escaping me. I'm working with a postscript file, converted via
pstoedit -pta original.ps output.svg
Ah, sorry I missed that - yes, most likely it's the viewBox inserted by pstoedit.
Ok, do I remove the viewbox within Inkscape, or do I have to deal with it at the conversion stage (pstoedit)?
Thanks again, this has been driving me crazy for days, I really appreciate your help!

On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
On 2007-02-20, bulia byak wrote:
On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I'm a new user of Inkscape 0.44.1 as distributed with Debian Etch. I'm very impressed with the features it provides, but some basics are escaping me. I'm working with a postscript file, converted via
pstoedit -pta original.ps output.svg
Ah, sorry I missed that - yes, most likely it's the viewBox inserted by pstoedit.
Ok, do I remove the viewbox within Inkscape, or do I have to deal with it at the conversion stage (pstoedit)?
Safest way is to quit inkscape and edit the svg in a text editor to remove the attribute.

On 2007-February-20 , at 21:04 , bulia byak wrote:
On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I'm a new user of Inkscape 0.44.1 as distributed with Debian Etch. I'm very impressed with the features it provides, but some basics are escaping me. I'm working with a postscript file, converted via
pstoedit -pta original.ps output.svg
Ah, sorry I missed that - yes, most likely it's the viewBox inserted by pstoedit.
I've had similar problems with svg created via pstoedit. I had some weird zoom factors and transformation matrices but no viewBox parameter if I recall correctly. I'll check and report, this would be nice to fix, especially if we decide to rely on pstoedit to import eps and ps into Inkscape (and drop the large dependency of sketch for this). As a work around, you can open the SVG in Inkscape, select all, copy and paste everything in a new document. The new document will behave correctly.
JiHO --- http://jo.irisson.free.fr/

On 2007-February-21 , at 00:00 , jiho wrote:
On 2007-February-20 , at 21:04 , bulia byak wrote:
On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I'm a new user of Inkscape 0.44.1 as distributed with Debian Etch. I'm very impressed with the features it provides, but some basics are escaping me. I'm working with a postscript file, converted via
pstoedit -pta original.ps output.svg
Ah, sorry I missed that - yes, most likely it's the viewBox inserted by pstoedit.
I've had similar problems with svg created via pstoedit. I had some weird zoom factors and transformation matrices but no viewBox parameter if I recall correctly. I'll check and report, this would be nice to fix, especially if we decide to rely on pstoedit to import eps and ps into Inkscape (and drop the large dependency of sketch for this).
Ok, I've checked and in fact I had a viewBox parameter but no one, including me, noticed this when I reported this (it was quite a long time ago). So thanks Bulia for pointing this out now. My viewBox is in the opening <svg> <svg width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none"> If I delete it, the page stays 8x8 inches but the drawing is reduced to a very small corner of 1x1px in the upper left. when drawing new things on this document, Inkscape tools behave correctly (1px stroke, correct font sizes...) but all this obviously looks enormous compared to the drawing, just as it looked on the non-corrected file. Is there a way to eliminate viewBox and still keep the correct size of the drawing which is compatible with Inkscape? Other than:
[...] open the SVG in Inkscape, select all, copy and paste everything in a new document. The new document will behave correctly.
If something can be done, I'll be glad to try to add this to the pstoedit version of the eps and ps input extensions. I use them all the time and avoiding copy-pasting would be great.
JiHO --- http://jo.irisson.free.fr/
participants (3)
-
bulia byak
-
jiho
-
Tyler Smith