object size function of page format?
by David L
Hi,
I'm a newbie using inkscape to annotate a floor plan I've created with
cairo.
I'm having a few little problems when I try to do this. The first problem
is that
the size of the objects in my floor plan change when I change the page
format.
For example, if I generate a square intended to print as 1" on a side, it
initially
is the correct size when I open the svg file with inkscape. However, after
I pick
a page format (eg: US Letter), the size of the square changes significantly.
I'm
not sure if this is newbie ignorance or a bug in cairo or inkscape. Below
is
some C code that generates an svg file with a 1" square as an example.
How can I make objects print at their original size without simply manually
rescaling everything after setting the page format?
Thanks,
David
// compile like this:
// g++ -Wall -c -g `pkg-config --cflags gtk+-2.0` -o cairosvg.o
cairosvg.cpp
// g++ -g -o cairosvg cairosvg.o `pkg-config --libs gtk+-2.0`
#include <gtk/gtk.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <cairo/cairo-svg.h>
int main(int argc, char *argv[])
{
cairo_surface_t *surface;
surface = cairo_svg_surface_create("foo.svg",
100,
100);
cairo_t *cr;
cr = cairo_create (surface);
cairo_surface_destroy(surface);
cairo_rectangle (cr,
0.0, 0.0,
100, 100);
cairo_clip (cr);
cairo_move_to(cr, 10, 10);
cairo_line_to(cr, 10, 82);
cairo_line_to(cr, 82, 82);
cairo_line_to(cr, 82, 10);
cairo_close_path(cr);
cairo_set_source_rgb(cr, 0,1,0);
cairo_set_line_width (cr, 0.1);
cairo_stroke(cr);
cairo_move_to(cr, 46,46);
cairo_show_text(cr, "X");
cairo_show_page (cr);
cairo_destroy (cr);
return 0;
}
_________________________________________________________________
More photos, more messages, more storage�get 2GB with Windows Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migra...
16 years
How To Install Type 1 Fonts on Linux Debian/Ubuntu?
by Dave Fisher
Dear All,
I am a new list member (although long-time Inkscape user), please accept
my apologies if this question has been asked and answered in some place
that I can't find or am unaware off.
All the fonts I can see listed in my Inkscape installation are TTF.
I have Type 1 fonts on my system and would like to use them in Inkscape,
e.g. for embedding.
I've read that there are problems with this on Windows and OSX, is this
true for Linux also?
If not, can anyone suggest a method I can follow?
I'm no stranger to the command line and I've previously learnt more
about Debian/Ubuntu font management that I ever wanted to ;-)
Dave
16 years
Illustrator Brushes
by D. Jones
Is it possible to use illustrator brushes in Inkscape?
And if so how would you do it.
____________________________________________________________________________________Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
16 years
Crop tool?
by John R. Culleton
In Gimp one can "flatten" a document to put all layers and all pieces
into one object. Once this is done one can crop to a segment of the
object and if needed enlarge it to a new size. I need those steps or
equivalent to create a multi page (and more readable) version of the
help document "keys.svg. "
What are the Inkscape analogs of flatten and crop?
--
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed.
http://wexfordpress.com
16 years
Gradient fill Quality (Linux user)
by Paweł Gęga
Please find attched sample gradient.
Same in exported PNG as in Inkscape.
No I did not check compresion quality while exporting PNG bitmaps.
Paul
16 years
Gradient smoothnes quality (Linux user)
by Pgega
Hi there,
I would like to ask about inkscape gradient fill option.
When I use gradients I can easily recognise tone steps in the gradient
..especially when I am using few gredient filled objects with different
transparency levels.
What might be the reason ? I using Debian , Xorg 24 bit Color Depth.
When I draw the same picture under windows with AI or Photoshop the
gradients are more smooth.
Thanks, Paul
--
View this message in context: http://www.nabble.com/Gradient-smoothnes-quality-%28Linux-user%29-tf38268...
Sent from the Inkscape - User mailing list archive at Nabble.com.
16 years
16-bit?
by Claus Cyrny
Hi all,
I would like to know if it is possible to export/save Inkscape
files in a color depth of 16-bit/channel? I would like to edit
a bitmap in 16-bit, by drawing "over" it with the Inkscape tools,
and then exporting it as a 16-bit bitmap (maybe PNG, if the
16-bit are kept).
TIA,
Claus
--
Home Page - http://home.arcor.de/ccyrny/ [in English]
graf-o-matic 2.0 - http://grafomatic01.twoday.net/ [in German]
16 years