New book about Inkscape
by Cédric Gémy
lo guys,just a message to tell you that a new book about Inkscape is
published in France. I hope everyone will like it and that is will be
useful.
After Yemanja's, tav's plus the one we've done thanks to flossmanuals
last summer, available documentation is growing.
!beer inskcape :)
pygmee
http://www.amazon.fr/Inkscape-efficace-R%C3%
A9ussir-dessins-vectoriels/dp/2212124252
12 years, 2 months
Re: [Inkscape-devel] [libcroco-list] Generic cascading in libcroco
by bulia byak
On Tue, Mar 3, 2009 at 2:02 AM, Thomas Wood <thos@...45...> wrote:
> I'd be really interested in getting some patches from you guys. I tried
> retrieving diffs from your SVN server, but it didn't want to co-operate.
Here are my fixes collected. Others in src/libcroco may be useful too,
but it's too far into the night right now to look into them closely...
Here are the comments (sorry for profanity but i was very angry to
have to fix that bug :)
------------------------------------------------------------------------
r14470 | buliabyak | 2007-03-14 21:42:54 -0300 (Wed, 14 Mar 2007) | 1 line
Changed paths:
M /inkscape/trunk/src/libcroco/cr-tknzr.c
gosh, what shitty coding - reading delimited string failed when it was
at the very end of buffer
------------------------------------------------------------------------
r14469 | buliabyak | 2007-03-14 20:55:00 -0300 (Wed, 14 Mar 2007) | 1 line
Changed paths:
M /inkscape/trunk/src/libcroco/cr-declaration.c
even if one declaration is broken, try to still read all others per
http://www.w3.org/TR/CSS21/syndata.html#declaration; fixes bug 1266843
------------------------------------------------------------------------
r14467 | buliabyak | 2007-03-14 20:52:02 -0300 (Wed, 14 Mar 2007) | 1 line
Changed paths:
M /inkscape/trunk/src/libcroco/cr-tknzr.c
typo fix from libcroco list
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
12 years, 2 months
Inkscape Export to "JavaFX 1.0 FXD/FXZ Content file" format
by Sergey Esenov
Hi, all
Last year Sun Microsystems released JavaFX Production Suite
(together with JavaFX 1.0) which have Adobe Photoshop CS3
and Adobe Illustrator CS3 plugins for exporting graphical assets
into JavaFX format.
The output (.fxz) is a ZIP archive containing 'content.fxd' file
representing vector graphics picture in JavaFX format.
Optionally, this archive may contain images and fonts referenced by the
'content.fxd' file. The content file can be viewed in netbeans IDE
(JavaFX plugin should be installed!). The netbeans has UIStub generator
for building a JavaFX class based on content.fxd and users may
manipulate graphic
objects by changing object properties, moving them, animating, making them
visible/invisible and so on. The objects you want to control in JavaFX should
have special prefix in naming of Inkscape "id" attribute like "jfx:object_name".
Others will be anonymous in JavaFX.
I propose that this plugin for Inkscape be used. It is based on the work of
B.Jamison, S.Neto and J.Clarke for JavaFX Export (javafx-out.h, javafx-out.cpp).
My updates to it were posted a few weeks ago.
Personally I consider the "FXD/FXZ Content file" format more useful and I am
going to use this actively in future projects, which explains my motivation.
Implementation.
----------------------
The implementation is obvious: scan the object's tree and write the
corresponding JavaFX constructs. The output has all attributes embedded in line
therefore the information about gradients, filters and clip-paths are
stored (only
pointer information) and then used when actual graphic objects in the
scene are built.
Embedded images are decoded and external images are copied into the
output ZIP archive automatically. Fonts should be handled in the same way
(any volunteers!?).
Like Illustrator plugin I always try to recognize simple objects
(circles, ellipses, rectangles)
behind the paths to reduce the output size.
As a zip library implementation I used http://www.nih.at/libzip.
Actually I am working with Linux, openSUSE 11.1 distribution, where
this library is
known as libzip1. It seems that Ubuntu distribution supports it as well.
The Windows platform is also supported:
http://www.nih.at/listarchive/libzip-discuss/msg00009.html
While I might agree that introducing a new dependency into inkscape may not be
welcomed, my attempt to use inkscape/src/dom/util/ziptool.[h,cpp] was unhappy:
extremally slow! (~ 30 secs on some pictures).
Testing.
-----------
It is checked on the following pictures:
http://chrisdesign.wordpress.com/2008/02/14/simple-metal-orb-using-gradie...
-- gradients
http://howto.nicubunu.ro/shiny_web_buttons_inkscape/
-- gradients, embedded images
http://openclipart.org/people/Chrisdesign/Chrisdesign_Golden_mask_Tutanch...
-- large picture with clip paths
and I have used this simple tutorial to check clipping mask handling
http://www.bestechvideos.com/2008/07/12/screencasters-episode-064-bitmap-...
Installation.
----------------
The installation is simple if you are able to build svn version of
inkscape on your platform.
1. Make sure you have libzip1 + libzip-devel packages installed in
your system. Or you should have
this installed from sources. See the reference above for instructions.
2. Get SVN version of inkscape:
svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk
inkscape
3. Copy 'javafx-fxz.h' and 'javafx-fxz.cpp' from attachment into
'inkscape/src/extension/internal'
4. Create build directory:
cd inkscape
mkdir build
5. Add 'javafx-fxz....' entries just above 'javafx-out' entries into
po/POTFILES.in
src/Makefile.in
src/extension/internal/Makefile_insert
src/extension/internal/CMakeLists.txt
src/extension/init.cpp
and in the last file (init.cpp) put just before
"Internal::JavaFXOutput::init();" line the following...
Internal::JavaFXZ::init();
6. Go back into inkscape (top) directory and do ...
./autogen.sh
cd build
LIBS="-lzip" ../configure --prefix=/opt/inkscape
or
CFLAGS="-g -O0" CXXFLAGS="-g -O0" LIBS="-lzip" ../configure
--prefix=/opt/inkscape
if you want to build inkscape with debug information
then
make && su -c "make install"
7. Use /opt/inkscape/bin/inkscape executable and enjoy!
Of course, I am interested if some person(s) from development team might review
the code and make a decision. Anyway I hope it will be useful.
Cheers,
Sergey
12 years, 2 months
NEW: UniConvertor in Windows bundle
by bulia byak
I tried to use CDR import on Windows with UniConvertor and found out that:
- you can only install UniConvertor into a separate installed Python,
not into Inkscape's own Python,
- even if you do that, it won't work because Inkscape insists on using
its own Python, even to the point of prepending it to the system PATH,
so it is simply impossible to run the separate Python unless you know
exactly where it is.
For these reasons, I decided that the best strategy would be to
include a copy of UniConvertor to our Inkscape Python in devlibs,
which I did. I think supporting CorelDraw formats out of the box is an
important enough feature to justify a few extra megabytes to the
distribution.
P.S. Inkscape on Windows compiles and runs fine, except for the missing icons.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
12 years, 2 months
no color swatch in the palette:
by bulia byak
Thanks for adding it! Two comments:
- Can we please make the cross black, not red? The red is too bright
and distracting.
- Dragging this swatch onto canvas objects does not work, sets them to
black instead.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
12 years, 2 months
Little mistake in the wiki regarding the font cache on Windows
by worms invasion
Hello,
In the page:
http://www.inkscape.org/faq.php#Inkscape_does_not_see_some_of_the_fonts_....
I think there is a little mistake when it says:
This was a bug in versions of Inkscape up to 0.43, caused by using an obsolete font cache. This cache is stored in the file called .fonts.cache-1. This file may be in your Windows folder, or in your Temp folder, or in "My documents" folder, or in the folder listed in the $HOME environment variable. Use file search by name to locate this file.
On my Windows XP system, the font cache is called FNTCACHE.DAT and is located in c:\windows\system32
I also have in C:\Program Files\InkscapeDev20090217\inkscape\etc\fonts
fonts.conf
fonts.dtd
I couldn't find a .font.cache-1 file anywhere, and all the references to it point to Linux OSs.
Could someone with editing rights edit this particular section of the FAQ? It looks like there is no section regarding the font cache for Linux, maybe that is what is missing or where the confusion lies?
Thanks :-)
12 years, 2 months
Re: [Inkscape-devel] Tango icons as default set
by Guillermo Espertino
Plácido Sousa sent an improved version of the current default icon set
to the user list. It's a clear improvement over the current, and in my
opinion, it should be made the default set since there is no consensus
about the Tangoified theme and the default has some evident problems.
The proposed set from Sousa is a polished version of the same icons we
have now, so the familiarity won't be a problem and the people -like me-
who think the current set needs desperately some love will be more
comfortable with the new look.
What do you think?
12 years, 2 months
Global 'static' dialogs
by unknown@example.com
Hi all,
Please help me test the dialogs import from OCAL and export from OCAL.
I just fixed bug 241390 [1]. Some dialogs are defined 'static', so they
are not recreated when opening the dialog more than once. The problem is
that they have a parent window defined that links the dialog to a
specific SPDesktop. So when the dialog is called from another
desktop..., crashes might happen.
I am fixing this (making the dialogs non-static, recreating them every
time they are needed) for the following dialogs: import from OCAL,
export from OCAL, and the new export dialog that is not used at this
moment.
I cannot test whether these dialogs still work with my fix. I'm very
sorry if they are broken now, but I feel this is a very important fix
for stability. If it's broken now: let me know, or revert rev 20804
fully.
cheers,
Johan
[1] https://bugs.launchpad.net/inkscape/+bug/241390
12 years, 2 months
inkboard abandoned files? cleanup needed.
by the Adib
I commited small patch in order to be able to compile using the
"./configure --enable-inkboard" option: rev 20788
It looks that the files that I commented out have no effect in the
code and are not in use.
Could one please investigate in this?
Using this patch inkscape opens the connect dialog. I can not prove
that it works because I do not know how to connect.
Thx, Adib.
---
file: src/ui/dialog/Makefile_insert
adib@...2145...:~/Projekte/Inkscape/inkscape_dev/src/ui/dialog$ svn diff
Index: Makefile_insert
===================================================================
--- Makefile_insert (Revision 20786)
+++ Makefile_insert (Arbeitskopie)
@@ -1,13 +1,13 @@
## Makefile.am fragment sourced by src/Makefile.am.
if WITH_INKBOARD
-inkboard_dialogs = \
- ui/dialog/whiteboard-connect.cpp \
- ui/dialog/whiteboard-connect.h \
- ui/dialog/whiteboard-sharewithchat.cpp \
- ui/dialog/whiteboard-sharewithchat.h \
- ui/dialog/whiteboard-sharewithuser.cpp \
- ui/dialog/whiteboard-sharewithuser.h
+## inkboard_dialogs = \
+## ui/dialog/whiteboard-connect.cpp \
+## ui/dialog/whiteboard-connect.h \
+## ui/dialog/whiteboard-sharewithchat.cpp \
+## ui/dialog/whiteboard-sharewithchat.h \
+## ui/dialog/whiteboard-sharewithuser.cpp \
+## ui/dialog/whiteboard-sharewithuser.h
endif
ink_common_sources += \
12 years, 2 months