fenv.h, fmin, fmax
by Jeremy C. Reed
Using inkscape-21256 snapshot (because release version has bug causing
core dump when attempting to change fill color as reported numerous
times).
src/display/nr-arena-shape.cpp has
#include <fenv.h>
But I don't see any use of floating-point definitions,
FE* macros, or fe*() functions.
I commented that line out and inkscape built fine. (Also some platforms
don't have any fenv.h.)
Also src/live_effects/lpe-dynastroke.cpp uses fmin and fmax.
Some platforms don't have that. So I added to
src/live_effects/lpe-dynastroke.cpp :
#define fmin(a,b) ((a)<(b)?(a):(b))
#define fmax(a,b) ((a)>(b)?(a):(b))
Also work/inkscape-21256/src/display/nr-filter.cpp refers to fmax but it
is commented out.
13 years, 9 months
Re: [Inkscape-devel] The bias property for feConvolveMatrix
by Jasper van de Gronde
Erik Dahlstrom wrote:
> On Wed, 08 Apr 2009 14:09:01 +0200, Jasper van de Gronde
> <th.v.d.gronde@...528...> wrote:
>
>> The SVG standard defines a "bias" property for feConvolveMatrix to
>> offset the result of the filter. It specifies that this value should
>> simply be added to the result for each channel. Implicitly the standard
>> defines that these are premultiplied color values, however, this seems
>> to make little sense, as the bias has very little meaning without taking
>> the alpha channel into account.
>
> Wouldn't the 'preserveAlpha' attribute[1] be sufficient to control this?
No, imagine that the image already has alpha=0.5, then adding a bias of
0.5 suddenly does not correspond to a transparent gray zero response,
but rather a transparent white zero response.
> ...
> There should be some precedent, e.g:
>
> - Opera 9.x
> - Firefox 3.1
> - ASV3
Unfortunately I don't have any of those installed, so if someone could
help me test that would be great. I have attached a file that tests
numerous cases using bias (and transparency), if someone could try it on
his/her favourite renderer that would be great.
13 years, 10 months
Tango Icons Ready
by Krzysztof Kosiński
I have completed converting the Tango icon set made by Jesusda to discrete
icons. The only missing icons are in the geometry tool (which doesn't seem
to work anyway), but I'll add them shortly. Should I make it the default for
Linux?
This would be accomplished by installing the contents of a subdirectory
named "tango" to $PREFIX/share/inkscape/icons/hicolor. Windows users would
still see the "hicolor" directory, but could rename the tango directory to
hicolor and see the Tango icons. Linux users could use the old icons by
putting them in ~/.icons/OldInkscape and modifying the index.theme file to
inherit from their theme of choice (Human, gnome, etc.). I'm preparing a
README with detailed instructions.
Regards, Krzysztof Kosiński
--
View this message in context: http://www.nabble.com/Tango-Icons-Ready-tp23234723p23234723.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
13 years, 10 months
message overwrites rotation value
by Jeremy C. Reed
I had a box that appear to be skewed. So I tried to grab and I saw numbers
flashing on bottom window bar, but it kept getting overwritten with
"Rectangle in layer Layer 1. Click selection to toggle scale/rotation
handles."
Maybe that message should go somewhere else? Or the rotation percentage
should be displayed somewhere else?
What is my workaround for now? Where can I see the number or where can I
manually type it in?
I am on inkscape-21256 (from yesterday's snapshot).
13 years, 10 months
Deactivate knotholder?
by bulia byak
What is the purpose of this checkbox in LPE parameters? Does it work
at all? I tried it with Knot, but checking it does not remove the knot
on the intersection.
I propose to remove it because it does not seem to serve a useful
function, and because it uses the absolutely technical term
"knotholder" which users have no idea about.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
13 years, 10 months
DeviantART & Wacom Contest
by Joshua A. Andler
Hey All,
One of the last major contests held on DA was won by an Inkscape user.
There is something to be said for both people's creativity and their
tools of choice. :)
So, if you'd like a chance to win a brand new Wacom Intuos4, money, some
proprietary software that you can throw in the waste bin ;), and all
that fun stuff, check out:
http://news.deviantart.com/article/76573/
And yes... my recommendation is to use Inkscape.
Cheers,
Josh
13 years, 10 months
save as convert text to path loses content
by Jeremy C. Reed
Using inkscape 21256 from yesterday's snapshot.
Doing a save as to save as PDF and selecting convert text to path makes me
lose my content. Only part is rendered in the resulting PDF. I see this in
multiple SVG projects.
If I don't check that, the resulting file appears to be a bitmap. Now I
realize that in that case the fonts where I added an outline using object
Stroke are the ones that don't look good. The others look fine and
pdffonts show me those are embedded. (That success is only without using
convert text to path.)
I found:
https://bugs.launchpad.net/inkscape/+bug/295138
https://bugs.launchpad.net/inkscape/+bug/284680
Inkscape has warnings:
(inkscape:19722): Gtk-WARNING **: Unable to find default local directory
monitor type
(inkscape:19722): Gtk-CRITICAL **: gtk_widget_grab_default: assertion
`GTK_WIDGET_CAN_DEFAULT (widget)' failed
** (inkscape:19722): WARNING **: Ignoring font without family that will
crash Pango
Maybe they are related. It would be nice if above WARNING would say what
font has the "without family" problem.
Any ideas for this?
As a workaround I may reopen in old 0.46 and save as PDF there. (I am
using later development code due to can't change fill color in 0.46
version.)
13 years, 10 months
Tr : Re : rendering quality for filter etc.
by Ivan Louette
I tried the three filters versions on Batik and they render and export correctly.
ivan
----- Message transféré ----
De : Ivan Louette <ivan_louette@...48...>
À : the Adib <theadib@...1439...>; inkscape-devel <inkscape-devel@...838...ourceforge.net>
Envoyé le : Mercredi, 29 Avril 2009, 19h14mn 56s
Objet : [Inkscape-devel] Re : rendering quality for filter etc.
Perhaps linked to the problem I have with my latest filter which is intended to draw dark or black edges on pictures.
It renders well in Inkscape, Opera and Firefox, but export to png is bad and never gives correctly the dark lines.
I join you a file with three filters samples to apply to the embedded pictures.
ivan
________________________________
De : the Adib <theadib@...1439...>
À : inkscape-devel <inkscape-devel(a)lists.sourceforge.net>
Envoyé le : Mercredi, 29 Avril 2009, 1h53mn 25s
Objet : [Inkscape-devel] rendering quality for filter etc.
There is this issue 322116 https://bugs.launchpad.net/bugs/322116 "PDF
export does not use the highest quality for rasterized filters"
The reason for this issue is that each nr_arena_item checks the
preferences for the filter quality even for off screen rendering.
This is wrong behaviour.
During png export there is a sequence like this save, set ...
rendering ... restore. This changes for a short moment the
preferences.
This is also not good style. (remember a background task renderin to
png - in future)
I developed a patch that is attached to the issue in launchpad.
Attached patch puts render quality properties to nr_arena. You can do
now "nr_arena_set_renderoffscreen(arena)" for an offscreen arena in
order to get highest accuracy.
please review!
Adib.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
13 years, 10 months