Re: [Inkscape-devel] Large filter areas
by Niko Kiirala
8.7.2014 8.52 kirjoitti Michael Grosberg <grosberg.michael@...400...>:
>
> Krzysztof Kosiński <tweenk.pl@...360...> writes:
>
> >
> > We could do three things
> > a) put in some logic to arbitrarily stop rendering an effect when the
> > dependent area crosses some threshold
> > b) use stacked box blur instead of true Gaussian blur (though I doubt
> > it would be faster)
> > c) speed up the existing Gaussian blur implementation - it shouldn't
> > be that slow
> >
> > Regards, Krzysztof
>
> If it's OK to contribute my two cents as a user, I would prefer loss of
> quality in the work area over a slowdown. If for example zooming in to a
> blurred shape would make large chunky pixels visible, that is still better
> than having to contend with a slow system. So if you have a way of replacing
> the blurred object with a static bitmap instead of having to recalculate
> the blur every time the display changes, that would be acceptable.
> I'm talking about the work area display only, of course, not bitmap export.
>
> BTW, I've been working with Inkscape in a production environment for years
> but lately I've upped my usage even more and I'm using it almost all day.
> Even though I have the latest version of Illustrator installed I still vastly
> prefer Inkscape - it is so much easier to work with.
It's likely quite a forgotten thing, but filters as they stand, do contain a crude method along these lines. If you go into settings, you can drop the filters rendering quality, which will limit the rendering resolution when editing. You will get quite notable artifacts, but it's vastly faster in many cases.
There are a couple quality settings available in the filtering code. It could be useful to look into those and see if there's some better default combination than what we have now.
8 years, 10 months
Large filter areas
by Diederik van Lierop
Hi ppl,
It's no surprise that filters can make Inkscape crawl, and I ran into that
while digging into this bug
https://bugs.launchpad.net/inkscape/+bug/827192
In this case though, the area to be filtered measures 18416 x 17524 pixels,
which is a bit too much for just on screen display. Is there any way to
work around this? Can't we set an upper limit on the area, in order to keep
Inkscape somewhat responsive? If it takes a few seconds that's OK IMHO in
such extreme cases, but at least the user should be able to trust that
Inkscape will recover.
Diederik
8 years, 10 months
requesting wiki account
by Brynn
Hi Friends,
I've been given edit privileges at inkscape.org from Martin Owens. I want to re-organize and edit some of the community info, including Inkscape forums, tutorials and galleries. I came across info about forums, tutorials and galleries in the "old" wiki, and wanted to know about incorporating it into the new inkscape.org.
He suggested that forums, tutorials and galleries probably don't belong in the wiki anyway, and said I should delete them, if I can get access to the wiki. He said the wiki (an updated and current wiki) should only contain development, design, code, etc., anyway. (Also told me to email this mailing list to ask for a wiki account.)
So assuming you all are in agreement with him, I'm asking for access to be able to edit the wiki. I'll be glad to do any tedious, menial work that might need to be done there, to bring it up to meet the current needs of the community -- if anyone can tell me what kind of work that would be. Should I get access to the wiki, I would be at your disposal.
Maybe most of you probably don't know me, but I've been a moderator at InkscapeForum.com for a few years, and nearly a year ago, opened a new Inkscape website (http://forum.inkscapecommunity.com/index.php). So I'm fairly well connected to the user community....at least those who post in forums.
Thank you very much,
brynn
8 years, 10 months
Re: [Inkscape-devel] Inkscape-devel Digest, Vol 98, Issue 4
by Jelle Mulder
Ehm,.. not Inkscape related really, but I am looking for a C++ programmer
to earn a few thousand euro's with a probably fairly easy task. (my
estimate is a week part-time). I thought someone here might be interested
and it would sort of indirectly help the project as well by supporting my
favourite programmers. I hope not with a weeks delay though, don't want to
interrupt what's going on here.
If interested, send me your rating fee and we'll pick it up from there.
There is some time pressure on it, so if you don't have time the coming
few weeks, state it clearly in your e-mail. I may have other tasks later
for the same or other clients as well.
Cheers,
Jelle
8 years, 10 months
GSoC Project Update
by Krzysztof Kosiński
Hello
The midterm evaluations are near due, so here's a public update on my
GSoC project.
The schedule this year was very bad for me, and dealing with
university stuff ate most of my time in the first half of the project,
so I didn't do nearly as much as I hoped for. I have however made a
prototype CGAL-based implementation of boolops. It is available in
2Geom trunk; you have to have CGAL installed, its headers available in
your default include path, and set the CMake option CGAL_TOYS=ON to
compile it. Saying "sudo apt-get install libcgal-dev" suffices to
satisfy the first two requirements on Ubuntu 14.04.
The results of playing with this toy are rather disappointing. CGAL
produces visibly imprecise results even for simple shapes (see
attached pictures), and for some inputs (e.g. when sliding two bananas
over each other so that they nearly match) it crashes with an
assertion. It seems that its boolean operation algorithm for Beziers
is of very poor quality. This means I will have to write the boolops
code from scratch.
I've found a MIT-licensed Objective-C library that implements boolops
on Bezier paths, which may serve as an inspiration.
https://bitbucket.org/andyfinnell/vectorboolean
During the remaining time before midterm, I'll work on path-related
APIs in 2Geom. This will be useful when implementing boolops, and will
allow us to get rid of ugly ancient stuff in Inkscape, such as
SPCurve. After the midterm, I will have to complete a final assignment
at the university, and should have much more time to get useful work
done in the second half of the project.
Regards, Krzysztof
8 years, 10 months
Math function problem
by Jabiertxo Arraiza Cenoz
Hi to all.
I try this in my debian calculator:
"4 / 3 * (sqrt(2) - 1)" and return 0,55228475
in C++ return 0.414214
I want 0,55228475.
Where i lost? I have the cmath header
Regards, Jabier.
8 years, 11 months
Bug of the Week - 167834
by Bryce Harrington
David is selecting bug #167834 as one of the two bugs of the week for
this coming week. Please take a quick look and see if you can help move
it to solution by Monday; it already has a verified patch that just
needs wider testing. This is an ancient bug and so will be worth a ton
of points for us.
"""
This one:
https://bugs.launchpad.net/inkscape/+bug/167834
I am not sure exactly what the original problem was, but the examples
in posts 4 and 5 are not visible in Inkscape (on XP). Maybe that was
the problem?
"""
Bryce
On Tue, Jul 01, 2014 at 07:59:08PM -0700, Bryce Harrington wrote:
> Sorry folks, looks like I neglected to send out last week's report.
> So here's two in one.
>
>
> Development focus: 0.91.x series
>
> Unfixed bugs: https://bugs.launchpad.net/inkscape/
> Milestone targeted bugs: http://tinyurl.com/bughunt91a-open
> Regressions (double points): https://bugs.launchpad.net/inkscape/?field.tag=regression
>
> Pts Bug Age Fixed Assignee Description
> === === === ===== ======== ===========
> 3 1314910 0 05/01 Font size specification
> 6 1315416 0 05/03 jazzynico [0.91 Tutorial Review] issues with "Basic" tutorial
> 6 1315485 0 05/05 jazzynico [0.91 Tutorial Review] issues with "Elements of Design" tutorial
> 6 1315453 0 05/05 jazzynico [0.91 Tutorial Review] issues with "Shapes" tutorial
> 6 1315480 0 05/06 jazzynico [0.91 Tutorial Review] issues with " Bitmap tracing" tutorial
> 6 1315487 0 05/06 jazzynico [0.91 Tutorial Review] issues with "tips and tricks" tutorial
> 6 1315483 0 05/06 jazzynico [0.91 Tutorial Review] issues with " Calligraphy" tutorial
> 6 1316591 0 05/06 Mohamed IKBEL Boulabiar copy-paste typo in the dbus document interface
> 6 1315457 0 05/06 jazzynico [0.91 Tutorial Review] issues with "Advanced" tutorial
> 3 1317140 0 05/09 jazzynico Tutorials: supported generic font names in trunk have changed (Sans -> sans-serif, Serif -> serif)
> 3 1247448 0 05/10 jazzynico environment variable INKSCAPE_PORTABLE_PROFILE_DIR should be documented in man page
> 6 1310266 0 05/10 jazzynico Update the man page with '-i -j' for plain SVG export options
> 6 1318289 0 05/11 jazzynico preferences > bitmap > rendering shows po file headers
> 6 1318345 0 05/11 jazzynico untranslatable strings in trunk-r13348
> 3 1318671 0 05/12 Masato HASHIMOTO url for New in This Version is obsolete
> 12 1318532 0 05/12 Alvin Penner Extension/Guides creator: Render fails
> 3 1318328 0 05/11 Masato HASHIMOTO typo in trunk-r13348
> 12 1256597 0 05/13 Diederik van Lierop several actions outputs to the terminal: "warning: invalid state when picking..."
> 24 1243401 0 05/13 David Mathog Clickable area of a text object is much larger than the object itself (rev >= 12488)
> 3 1319060 0 05/14 jazzynico typo in tutorials on r505
> 6 1318929 0 05/14 jazzynico untranslatable string in trunk-r13370
> 3 1303422 0 05/15 Tavmjong Bah corrupt -inkscape-font-specification values
> 6 1320317 0 05/16 Martin Owens barcodes do not scale correctly when modifying default document units (rev 13386)
> 3 1320613 0 05/18 Matthew Petroff Coordinates don't update properly when moving a node
> 6 1318339 0 05/22 jazzynico Tooltips in extensions page elements are not translated
> 7 1022733 1 05/23 Diederik van Lierop Measure tool: flakiness with constrained measuring
> 6 1318348 0 05/24 jazzynico Extension dialogs inconsistency
> 6 1270929 0 05/28 Tavmjong Bah sans-serif as default font: gtk-critical, glib-gobject-critical warnings (Text & Font dialog)(rev >= 12164)
> 11 378097 5 05/20 Crashes with several documents
> 12 1326144 0 06/05 Tavmjong Bah Some fonts no longer work, they appear in the chooser though
> 14 1188996 1 06/06 Tavmjong Bah real font-style does not correspond with selected style
> 5 1009953 2 06/09 theAdib Font previewed but not imported
> 12 1298967 0 06/11 David Mathog trunk: swatches are duplicated again on paste and import (rev >= 13139)
> 3 1327577 0 06/11 jazzynico Tablet pressure button wrongly located in Spray tool control bar
> 7 505920 4 06/11 jazzynico inkscape loads extension even if the script specified in <command> doesn't exist
> 18 1326652 0 06/11 Johan Engelen Crash if right-click when completing a shape
> 18 1318657 0 06/11 David Mathog Drag&Drop imports wrongly gradients (leads to crash)(rev >= 13139)
> 18 1328152 0 06/15 Johan Engelen trunk/experimental: crash on open filter editor after blurring an object
> 9 1327232 0 06/06 Alex Valavanis Trunk PPA FTBFS in Utopic. Missing Build-Depends: libpoppler-private-dev
> 12 1315142 0 06/03 Matthias Kilian Build failure with poppler-0.26
> 6 1264371 0 05/14 Masato HASHIMOTO Broken Link: Bug Page Not Found From Program Link
> 3 1323561 0 05/27 jazzynico Right handed ilustration file is incorrect
>
> Week 6:
> 7 433860 4 06/18 jazzynico Live preview doesn't work after updating the values many times (timeout reached)
> 24 781893 3 06/18 Johan Engelen Crash after moving a Bezier node after Knot path effect
> 9 656938 3 06/22 Abe Yo Uniconvertor formats export fails on Windows 7 (python.exe crashes)
> 18 1333020 0 06/22 Liam P. White trunk: crash on releasing groups clipped/masked by non-SPLPEItems, revision >= 13418
> 3 1281028 0 06/20 jazzynico Update the changelog file in the 0.48.x branch
>
> Week 7:
> 6 1262782 0 06/23 David Mathog inkscape --export-text-to-path - linebreak-bug with flowed text
> 6 1262792 0 06/23 David Mathog inkscape --export-text-to-path --export-plain-svg - position bug with flowed text
> 3 1323561 0 05/27 jazzynico Right handed ilustration file is incorrect
> 3 1332948 0 06/23 uwesch Typo at German translation
> 0 1328217 0 06/24 John Smith space bar should allow to easily move around the document without using scrollbars
> 6 1332461 0 06/25 jazzynico Datamatrix 22x22 is always incorrect
> 11 810159 2 06/28 Crash when removing a color profile
> 0 1326131 0 06/29 jazzynico Can't delete layer from context menu
> 11 977003 2 06/29 Johan Engelen inkscape crashed with SIGSEGV in Avoid::VertInf::removeFromGraph()
>
> Total Score: 427 / 1500
>
>
> Scoring:
> --------
> 12, 9, 6, 3 for importances critical, high, medium and low
>
> +1 point per year of the bug report's age
>
> x2 if bug is tagged 'regression'
>
> x2 if closed the week it was declared Bug of the Week
>
>
> Bug of the Week
> ---------------
> Highest Scorer Week 6: Johan Engelen
> Highest Scorer Week 7: David Mathog
>
> Johan and David, why don't you each give us a bug for week 8, and we'll
> have a bug-of-the-week double deal.
>
> Bryce
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Inkscape-devel mailing list
> Inkscape-devel(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
8 years, 11 months
Threading problem in extension system
by Johan Engelen
Hi all,
There is a threading problem with the extension system. It results in
a crash when saving a document and quitting while the save is happening.
Have a look here:
https://bugs.launchpad.net/inkscape/+bug/967416
I don't know enough about glib's threading to fix this bug. I do not
fully understand where the execution flow is going after the fork
(/src/extension/implementation/script.cpp, line 1017,
_main_loop->run();), nor where the fork is terminated.
I hope someone who knows more about this can have a look. I'm afraid it
may lead to pretty weird bugs when running time consuming extensions and
doing stuff meanwhile. (gdb reports illegal mem accesses when doing
stuff while an extension is running, for example).
Is this asynchronous extension execution so important, or can we disable
it for now to improve stability?
regards,
Johan
8 years, 11 months
Re: [Inkscape-devel] code formating
by Jabiertxo Arraiza Cenoz
Hi Samuel, I try it like this:
~/Development/inkscape/fillet-chamfer$ clang-format-3.3 -assume-filename=/home2/Development/inkscape/fillet-chamfer/_clang-format src/ui/dialog/lpe-fillet-chamfer-properties.h
clang-format-3.3: Unknown command line argument '-assume-filename=/home2/Development/inkscape/fillet-chamfer/_clang-format'. Try: 'clang-format-3.3 -help'
clang-format-3.3: Did you mean '-profile-file=/home2/Development/inkscape/fillet-chamfer/_clang-format'?
also use profile-file and 2 spaces.
also copy to .clang-format and again 2 spaces.
regards, Jabier.
>
> Thanks again Samuel!
>
> El mié, 02-07-2014 a las 12:44 +0530, Samuel Chase escribió:
> > Hi Jabier,
> >
> > Try using clang-format
> > -assume-filename=<toplevel-inkscape-src-dir>/_clang-format <FILE>.cpp
> > That has the appropriate options set to 4 spaces.
> >
> > You could also copy that file to ``.clang-format``, and then clang-format
> > will autmatically find it if you are working in an Inkscape subdirectory.
> >
> > Samuel
>
>
8 years, 11 months
Re: [Inkscape-devel] code formating
by Jabiertxo Arraiza Cenoz
Thanks again Samuel!
El mié, 02-07-2014 a las 12:44 +0530, Samuel Chase escribió:
> Hi Jabier,
>
> Try using clang-format
> -assume-filename=<toplevel-inkscape-src-dir>/_clang-format <FILE>.cpp
> That has the appropriate options set to 4 spaces.
>
> You could also copy that file to ``.clang-format``, and then clang-format
> will autmatically find it if you are working in an Inkscape subdirectory.
>
> Samuel
8 years, 11 months