Poppler internal API problem
by Krzysztof Kosiński
We are still using the internal Poppler API to import PDFs. This is
very bad, since the internal Poppler API is not stable, and will keep
breaking. (We already don't build with poppler > 0.12.1)
How about using the public Glib API to render to a Cairo SVG surface
instead? This is how pdf2svg works, and to be honest I had to use that
utility several times to augment Inkscape, because it handles text
much better. What are the advantages to using internal Poppler API
directly?
Regards, Krzysztof
12 years, 8 months
Re: [Inkscape-devel] [Inkscape-user] Filters Not Saved with PNG
by Jasper van de Gronde
Chris Lilley wrote:
> On Saturday, January 16, 2010, 10:32:16 PM, knowone wrote:
> ...
> k> How can I save the file as PNG with the drop shadow intact?
>
> Make sure you are exporting as PNG. Do not 'Save As' Cairo PNG.
>
> (I came across this a couple of days ago, and the symptom was that blur filters were not being applied. Also, the pixel dimensions of the two methods differ, if the graphic bleeds over the edge of the 'page').
Can someone tell me why we have a non-vector format in the save as list?
One that seems redundant and apparently with less functionality than the
normal export. Is this for testing purposes?
12 years, 10 months
NEW: mouseover cursors in Selector
by bulia byak
Selector tool has a new mouse cursor (arrow with an open hand) for
when your mouse is over a selectable object, and another (arrow with
clinched hand) for when you're dragging an object. This improves
precision of selection and UI consistency (previously, the mouse
cursor over a selectable object was different across platforms, e.g.
hand icon on Linux or four-way arrow on Windows).
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
12 years, 10 months
Status of dbus awareness
by Kent Tenney
Howdy,
I just built the inkscape trunk from bzr and ran this script
#!/usr/bin/python
import dbus
bus = dbus.SessionBus()
inkdoc1 = bus.get_object('org.inkscape', '/org/inkscape/desktop_0')
doc1 = dbus.Interface(inkdoc1, dbus_interface="org.inkscape.document")
im = doc1.image(100 ,100, '/home/ktenney/Firefox_wallpaper.png')
Which worked on a dbus branch a while back.
Now it starts inkscape, but does not place the image
- was the dbus code merged?
- if so, how do I enable/use it?
- if not, where is dbus capable code?
Thanks,
Kent
12 years, 12 months
Extended Input settings not stored permanently
by Alexander Roalter
The input devices settings (for extended input, e.g. tablet) have
changed some time ago to a different format. Now, I can set the stylus
device to Screen to have it pressure sensitive as expected, and it is
also stored as this in the preferences.xml, but on reload if forgets
this setting.
My stylus device is called Stylus0, the eraser Eraser0. Setting the
eraser to screen mode, in the preferences.xml I see something like
<group
keys=";;;;;...
axes="x;y;pressure;xtilt;ytilt;wheel"
mode="screen"
id="E:Eraser0" />
but no such entry for stylus or Stylus0 exists and is created...
--
cheers,
Alex
13 years, 2 months
gradient mesh
by sid datta
Hi,
Are we still waiting for the SVG standards before we can implement gradient
meshes ?
I have a ( pretty simple and obvious ) method of rendering gradient meshes
that is simpler than blurring multiple beziergons and is quite fast ( 100 ms
in Java rendering 500x500px approx ), I was wondering if we start putting a
basic gradient mesh in inkscape and we can conform/export to the SVG format
when it comes out.
I believe we are trying to get a triangle gradient primitive approved from
SVG. Do we have any plans of getting a quadrilateral primitive ? It will be
more accurate for gradient mesh. This paper I found explains some
quadrilateral rendering techniques :
http://vcg.isti.cnr.it/publications/papers/quadrendering.pdf
Thanks
-Sid
13 years, 4 months
NEW: Pseudo unified console / GUI app on Windows
by Krzysztof Kosiński
Hello
Starting with revision 9251, it's possible to open cmd.exe, type
"inkscape" while having Inkscape's installation directory in PATH, and
get a working console-mode executable. This is done by shipping a
slightly modified version of the well-known inkscapec.exe helper,
renamed to inkscape.com and placed in the same directory as
inkscape.exe. This approach looks a bit hacky, but it's used by
several of Microsoft's tool that also implement both GUI and command
line mode.
Regards, Krzysztof
13 years, 4 months
icon-names.h
by bulia byak
This file explains itself thus:
* This file exists for several reasons: firstly, it contains all the icon names
* in Inkscape, so it can serve as a reference to themers. Secondly, using
* macros instead of strings avoids typos. Thirdly, we can change names
* to conform to external icon sets / specifications without changing any code.
Let's look:
- Before, all the icon references were also in one place - in
verbs.cpp, where they were adjacent to other verb metadata and thus
easier to understand.
- Before, to add a new verb with an icon, I had to add icon ID in one
place. Now I have to add icon ID _and_ the define name. How is this
better for typos?
- icon-names.h is "code" just as well - at least if you change it, you
have to recompile.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
13 years, 4 months
Inkscape(Quartz) crahes sometimes when opening files
by Janosch Peters
Hi there,
Im trying to get the native (non-X11) inkscape version working. I first
tried the version from macports. However, it crashed about half of the
time when I wanted to open an SVG file.
I then tried to compile it manually following the instructions on the
inkscape wiki http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX.
The section where it says "Building Aqua from scratch, 2010".
Unfortunately, I get the very same error. More or less every second
time I open a SVG file inkscape crashes. See the console output and the
crash report below. I only postet the part of the crash report which
looked relevant to me. If you need more detailed logs, let me know.
The X11 version runs fine, by the way. Except that there are other bugs
making copy & paste unusable.
cheers,
Janosch
Console output:
======================================
Janoschs-MacBook:Inkscape.app jp$ Contents/Resources/bin/inkscape
Setting Language: de_DE.UTF-8
cp: /Users/jp/Code/inkscape/myproject/packaging/macosx/Inkscape.app/
Contents/Resources/etc/pango/pangox.aliases: No such file or directory
/Users/jp/.inkscape-etc/gtkrc:56: Clearlooks configuration option
"menuitemstyle" is not supported and will be ignored.
/Users/jp/.inkscape-etc/gtkrc:57: Clearlooks configuration option
"listviewitemstyle" is not supported and will be ignored.
/Users/jp/.inkscape-etc/gtkrc:58: Clearlooks configuration option
"progressbarstyle" is not supported and will be ignored.
(inkscape-bin:1725): Gtk-WARNING **: Das Symbol »object-visible« konnte
nicht gefunden werden,
ebenso wenig wie das Thema »hicolor«. Möglicherweise müssen Sie es
installieren.
Sie können sich eine Kopie herunterladen unter:
http://icon-theme.freedesktop.org/releases
(inkscape-bin:1725): Gtk-WARNING **: Vorgegebener Überwachungstyp für
lokale Ordner konnte nicht gefunden werden
(inkscape-bin:1725): Gtk-WARNING **: Vorgegebener Überwachungstyp für
lokale Ordner konnte nicht gefunden werden
(inkscape-bin:1725): Gtk-WARNING **: Vorgegebener Überwachungstyp für
lokale Ordner konnte nicht gefunden werden
(inkscape-bin:1725): Gtk-WARNING **: Vorgegebener Überwachungstyp für
lokale Ordner konnte nicht gefunden werden
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we
can fix it.
Segmentation fault
======================================
Apple crash report:
======================================
Process: inkscape-bin [1725]
Path: /Users/jp/Code/inkscape/myproject/packaging/macosx/
Inkscape.app/Contents/Resources/bin/inkscape-bin
Identifier: inkscape-bin
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [1643]
Interval Since Last Report: 61812 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 7
Date/Time: 2010-04-30 13:14:31.535 +0200
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 8600E840-20FE-4E65-9021-C6EDDD9FA609
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffff
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x9392f68c objc_msgSend + 28
1 com.apple.CoreFoundation 0x96800772 __CFRunLoopDoObservers +
466
2 com.apple.CoreFoundation 0x96801acc CFRunLoopRunSpecific +
844
3 com.apple.CoreFoundation 0x96802aa8 CFRunLoopRunInMode + 88
4 com.apple.HIToolbox 0x96b212ac
RunCurrentEventLoopInMode + 283
5 com.apple.HIToolbox 0x96b20ffe ReceiveNextEventCommon +
175
6 com.apple.HIToolbox 0x96b20f39
BlockUntilNextEventMatchingListInMode + 106
7 com.apple.AppKit 0x94da46d5 _DPSNextEvent + 657
8 com.apple.AppKit 0x94da3f88 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
9 libgdk-quartz-2.0.0.dylib 0x0179f207 poll_func + 135
10 libglib-2.0.0.dylib 0x01cf728f g_main_context_iterate +
799
11 libglib-2.0.0.dylib 0x01cf76e7 g_main_loop_run + 439
12 libgtk-quartz-2.0.0.dylib 0x013c4a44 gtk_dialog_run + 420
13 inkscape-bin 0x000a7b1a
inkscape_crash_handler(int) + 3162
14 libSystem.B.dylib 0x94a002bb _sigtramp + 43
15 libobjc.A.dylib 0x9392f689 objc_msgSend + 25
16 com.apple.CoreFoundation 0x96800772 __CFRunLoopDoObservers +
466
17 com.apple.CoreFoundation 0x96801acc CFRunLoopRunSpecific +
844
18 com.apple.CoreFoundation 0x96802aa8 CFRunLoopRunInMode + 88
19 com.apple.HIToolbox 0x96b212ac
RunCurrentEventLoopInMode + 283
20 com.apple.HIToolbox 0x96b20ffe ReceiveNextEventCommon +
175
21 com.apple.HIToolbox 0x96b20f39
BlockUntilNextEventMatchingListInMode + 106
22 com.apple.AppKit 0x94da46d5 _DPSNextEvent + 657
23 com.apple.AppKit 0x94da3f88 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
24 libgdk-quartz-2.0.0.dylib 0x0179f207 poll_func + 135
25 libglib-2.0.0.dylib 0x01cf728f g_main_context_iterate +
799
26 libglib-2.0.0.dylib 0x01cf76e7 g_main_loop_run + 439
27 libgtk-quartz-2.0.0.dylib 0x014495c1 gtk_main + 177
28 libgtkmm-2.4.1.dylib 0x00eff50b Gtk::Main::run() + 27
29 inkscape-bin 0x00004eba sp_main_gui(int, char
const**) + 1146
30 inkscape-bin 0x001f9912
Inkscape::NSApplication::Application::run() + 178
31 inkscape-bin 0x00003861 main + 353
32 inkscape-bin 0x00003076 start + 54
======================================
13 years, 4 months