Rendering bug with some filters (Cairo?)
by Ivan Louette
I found a rendering bug in The two Inkscape Cairo versions I use (10404 and 10514) with the "Non realistic 3D shaders" filter effect.
It's linked with the first "Composite" in the tree and particularly visible when it's set on "XOR" (which is often used in thsi kind of filter).
Inkscape 0.48.1 render them correctly.
I send some examples and the filters file to test.
Thanks to take a look at.
ivan
12 years, 4 months
Adding node with ctrl+alt
by Johan Engelen
Hi all,
When you add a node to a path using the nodetool with ctrl+alt, it
maintains the selection of previously selected nodes. This is extremely
annoying: consider adding a node, moving it a bit, adding a new one,
wanting to move it but then the old one also moves...
(thanks Alessandro for pointing this out to me).
Is this desired behavior? If so, is it ok to add an option to reset
selection to only the newly added node?
Ciao,
Johan
12 years, 4 months
Raw penstroke handling
by John Allsup
Hi,
I'm new to this list and haven't been using Inkscape for long, but I
think this one belongs on this list.
I asked elsewhere whether it was possible for Inkscape to record, edit
and playback penstrokes through the calligraphic tool, and the answer
was a negative one. So I went away and thought about it.
I wrote a quick C header (at http://chalisque.com/c/penstroke/stroke.h)
to illustrate the idea.
It's quite short at present, just capturing the abstract idea, so I've
included it at the bottom.
(I'm not interested in compiling it yet, so don't comment about the
//comments if these are not legal in C yet.)
The thinking took me beyond Inkscape, but its use in Inkscape (and
possibly GIMP) was its raison d'etre, so I think Inkscape developers are
probably worth talking to, but consider this.
Suppose there was a generic (at the level of GNOME or Unity or whatever)
method to capture and manipulate raw penstrokes which could be analysed
to produce other slightly different penstroke objects and which could be
saved, loaded and passed from application to application. I could draw
something in Inkscape, take the raw penstrokes that were used as input,
pass them to GIMP and run it through one of GIMP's brushes to produce a
bitmap image that could then be re-imported into an Inkscape document
(so as to be able to efficiently use GIMP's filters and brushes) etc.
For now I am just asking some of you to consider the possibilties and
think ahead to the possibility of these facilities being available
(whether Linux only or everywhere Inkscape runs I'll leave to other
discussions.)
Have a think,
Cheers,
John
-----[ stroke.h ]-----
// value typedefs
typedef float penstroke_real;
typedef int penstroke_index;
typedef int penstroke_dim;
// function pointer typedefs
typedef (penstroke_real *)(*penstroke_position_function)( void
*data_ptr,
penstroke_real t);
typedef (penstroke_real *)(*penstroke_parameter_function)( void
*data_ptr,
penstroke_real t,
penstroke_index i);
typedef (penstroke_index *)(*penstroke_indexed_parameter_function)(
void *data_ptr,
penstroke_real t,
penstroke_index i);
// shorthand typedefs
typedef penstroke_position_function pst_posf;
typedef penstroke_parameter_function pst_paramf;
typedef penstroke_indexed_parameter_function pst_iparamf;
typedef penstroke_dim pst_d;
typedef penstroke_index pst_i;
// struct typedefs
typedef struct penstroke {
penstroke_dim dimension;
penstroke_position_function position;
penstroke_dim paramter_dimension;
penstroke_parameter_function parameter;
penstroke_dim indexed_parameter_dimension;
penstroke_indexed_paramter_function indexed_parameter;
void *data; // arbitrary data for the functions to handle.)
} penstroke;
// Note that the number of dimensions through which the penstroke runs
is not specified.
// this allows for a (time,x,y) and (time,x,y,z) type dynamic strokes to
be expressed.
penstroke *penstroke_create( pst_d ptd, pst_posf pt,
pst_d pad, pst_paramf pa,
pst_d ipad, pst_iparamf ipa,
void *data_ptr);
penstroke_real *penstroke_get_position(penstroke *p, penstroke_real t);
penstroke_real *penstroke_get_param(penstroke *p, penstroke_real t,
penstroke_index i);
penstroke_index *penstroke_get_iparam(penstroke *p, penstroke_real t,
penstroke_index i);
--
[::- John Allsup -::=::- http://chalisque.com -::]
12 years, 4 months
Customize Inkscape
by mahendra1
Hello ALL
I am new in the inkscape development.I wants to add some new feature in
inkscape for Window Os .
Please let me how can i add following things.
New dialog
Button
Edit Box
Set Event of each button and edit box.
which is base class for GUI and event control in Inkscape?.If you have any
test example for Inkscape please suggest me.
Thanks
--
View this message in context: http://old.nabble.com/Customize-Inkscape-tp32104782p32104782.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
12 years, 4 months
[Fwd: [Bug 759154] Re: Incorrect printing/pdf conversion]
by ~suv
Looking for help: can anyone using cairo master or able to test patches
(from cairo master) in the cairo version used by inkscape test the patch
mentioned in the upstream cairo bug report?
~suv
-------- Original Message --------
Subject: [Bug 759154] Re: Incorrect printing/pdf conversion
Date: Tue, 26 Jul 2011 14:15:01 -0000
From: Andrzej <759154@...1882...>
Could someone with sufficient skills try to build Cairo with a patch
mentioned in: https://bugs.freedesktop.org/show_bug.cgi?id=39551 ?
--
You received this bug notification because you are a member of Inkscape
Bug Team, which is subscribed to Inkscape.
https://bugs.launchpad.net/bugs/759154
Title:
Incorrect printing/pdf conversion
12 years, 4 months
libgdl again: opinions please!
by Alex Valavanis
Hi all,
To follow up our recent discussions about building against an external
copy of libgdl (https://launchpad.net/bugs/792115)...
I have played with the code, and here is a summary of my findings:
The Inkscape fork of GDL is branched from gdl-0.7.7, which was
released a loooong time ago. There have been very substantial
upstream changes/bug-fixes since then. In particular, our version
uses lots of deprecated/obsolete GTK calls, meaning that Inkscape will
fail to build against GTK 3. We therefore need to fix this issue
fairly quickly.
Our fork of GDL introduces a couple of new features. Here are the
main ones I can see:
* Focus switching between docked dialogs, with tab/arrow-key bindings
* Ability to create a docked dialog using a pixbuf icon.
I have forwarded a patch upstream to GDL
(https://bugzilla.gnome.org/show_bug.cgi?id=652248) asking if they
would be able to merge any of our changes. The upstream developer was
very supportive and helpful, and had a few queries. However, I'm not
an expert on GDL/GTK and I'm not in the best position to comment.
I see three options for fixing the problem:
1) Build against external GDL right away --- This should be easy to
do, but we'd lose our changes for a while. However, I'm not sure any
of the changes represent essential Inkscape design features and we'd
be able to reimplement them when they appear in the upstream API.
2) Merge our changes into upstream GDL 2.30 and copy this into the
Inkscape code --- This will take a bit of fiddling around, and it
still relies upon us working with forked code. I have managed to make
a branch of inkscape with gdl-2.3.0+changes that compiles and runs,
but it is buggy (no colour switching and some graphics glitches).
Unfortunately, my GTK knowledge is not good enough for me to do this
by myself. If anyone is able & willing to help, I can push the new
branch.
3) Don't fix it yet! --- Wait until upstream have implemented all the
changes (in GDL >=3.1.1) and then switch over. However, we have no
guarantee of how long this will take, and we will be unable to support
GDK+ 3 builds until we switch!
Please let me know what you think!
AV
12 years, 4 months
Page border display uncomplete
by Ivan Louette
Rev 10495 on kubuntu
When page shadow is disabled the horizontal line at the bottom of the page border disappears at launching.
If you disable and reactivate page border it comes back.
But if you scroll this line ouside the document window (up or down) it disappears again when you scroll back.
ivan
12 years, 4 months
Great artistic pencil (inspiration stuff)
by unknown@example.com
Dear developers,
thanks for creating teh amazing Inkscape!
Some days ago i stumbled about a news of the online editor Pixlr -
which is a flash app.
At all it isn't an amazing Flash app on the first look but the sketch
pencils with its shading
option on crossing lines or by angle where really amazing!
Try out the pencil (not brush) with type Sketchy and Shadeded (Flash
10+ plugin required):
http://pixlr.com/editor/
PS: Try loops and crossings to explore the shading feature.
Cheers
Eckhard.
12 years, 4 months