Booksprint Inkscape

françaisA partir de vendredi est lancé le booksprint Inkscape sur Paris, à la Cité des science et de l’industrie de la Villette, venez y participez nombreux, il est toujours possible d’éditer le livre en ligne sur le site du floss (lire ce lien pour plus de détails pour les francophones) en anglais ou français, il faut d’abord s’enregistrer, vous pouvez également rejoindre le canal IRC #inkscape-fr sur irc.freenode.net ou (plus probablement en anglais) #booksprint sur irc.freenode.net et sur jabber, booksprint@conference.jabber.impressusart.com

english A booksprint start friday in Paris, at la Cité des sciences et de l’industrie de la Villette. You can already edit the book in english, french (or other language ?) on the wiki of the Floss, you also can join booksprint@conference.jabber.impressusart.com on Jabber or #booksprint on irc.freenode.net on (IRC)

MyPaint, graphic tablet & eeePC

français Il y a également une version en français de ce didacticiel.

english Today, I tried to use my with MyPaint & my Wacom Volito graphic tablet (A5 sized, A6 capture surface, less than 50€) in a library (warning, some laughed, looking at me ;) ), their compact size fit ideally with a book on a reader place :). both are flat and little enough to enter in my pocket (for the eeePC) and in a little bag with books (for the tablet), the bamboo that is the successor of the Volito could be a bit littler ??? All Wacom tablets are supported by Linux using open documentation from Wacom.

This give good results for a first test.
I use eeeXubuntu (7.10, gutsy gibbon), the Ubuntu/Debian package that is linked from official MyPaint website, and activated the wacom stylus support :
sudo vi /etc/X11/xorg.conf
at the end of the file in
Section "ServerLayout"
uncomment (remove the #) at the begining of the line
# InputDevice "Stylus" "SendCoreEvents"
and save
restart X (by rebooting or other methods), the Wacom stylus will be managed (eraser few lines later is for the stylus eraser on more expansive tablets).

Here are the three quick sketchs inspired from graphics from books (titles are on pictures filenames):
paysages d'eau à l'acrylique.p23.jpgpaysages d'eau à l'acrylique.couv.jpgLes animaux au pastel.p17.jpg

Here is a screenshot of the interface in 800×480 eeePC screen.

Mypaint brushs on eeePC

The best method is to set the canvas & brush windows at full screen both and use alt+tab to go from one to another.
I often used G (for GTK+ color dialog, same key to close it) and R to pickup color on canvas.
create more optimized brush could be better ? I used only 3 or 4.

I made a screencast of the process (16MB and 16minutes ogg/Theora vidéo), inspirated by a photography book “Des bêtes et des hommes” (beats and mens) from Yann Arthus-Bertrand photograph. This is the final result (quick sketch, with lot of manipulation error, and stress of screencast ;):
eeepcmypaint.cochon.jpg


englishThere is also an english version of this tutorial.

françaisAjourd’hui, j’ai essayé d’utiliser mon avec MyPaint & ma tablette graphique Volito (taille A5, surface de saisie A6, moins de 50€) de Wacom dans une bibliothèque (Attention, certains se sont moqués de moi en me voyant). Leurs tailles compactes rentrent parfaitement avec un livre dans l’espace de travail d’un lecteur :). Ils sont tous deux assez plats et petitts pour rentrer dans ma poche (pour l’eeePC) et dans un petit sac avec les livres (pour la tablette et le stylet), La bamboo qui est le successeur de la Volito doit être un peu plus petite ??? Toutes les tablettes Wacom sont supporté sous Linux, grace aux documentations ouvertes fournies par Wacom.

Cela donne des assez bon résultats pour un premier test.
I use eeeXubuntu (7.10, gutsy gibbon), le packet non-officiel Ubuntu/Debian qui est en lien sur le site officiel de MyPaint et ai activé la gestion du stylet de la Wacom :
sudo vi /etc/X11/xorg.conf
A la fin du fichier, dans la section :
Section "ServerLayout"
Decommenter (effacer le #) au début de la ligne
# InputDevice "Stylus" "SendCoreEvents"
puis sauvegarder
redemarrer X (en rebootant ou par une autre méthode). Le stylet Wacom sera alors géré (eraser quelques lignes après correspond à la gomme des tablette un peu plus chères).

Voilà trois croquis rapides inspirés de livres graphiques (les titres sont les noms des fichiers):
paysages d'eau à l'acrylique.p23.jpgpaysages d'eau à l'acrylique.couv.jpgLes animaux au pastel.p17.jpg

Voici une capture d’écran de l’interfaçe sur le LCD 800×480 de l’eeePC.

Mypaint brushs on eeePC

La meilleure méthode est de mettre les fenêtres de la toile (canvas) et des brosses en plein écran chacunes et de passer de l’une à l’autre grâce à alt+tab.
J’utilise souvent G (pour le dialogue de couleur GTK+, même touche pour le refermer) et R pour récuperer une couleur sur la toile.
Créer des brosses plus optimisées pourrait aider ? J’en utilise que 3 ou 4 dans la palette par defaut.

J’ai également fait une a capture d’écran vidéo du processus (16 Mo et 16 min, vidéo format ogg/Theora), inspirée par le livre photographique, “Des bêtes et des hommes” du photographe Yann Arthus-Bertrand. Cette image est le résultat final de la vidéo (croquis rapide, avec tout un tas d’erreurs de manipulation et le stress (traque) de la capture vidéo) ;) :
eeepcmypaint.cochon.jpg

Linux et fontes libres - Free fonts and Linux

englishJust after the fork of Inkscape SVN-0.46 & SVN-0.47, the support for advanced SVG fonts management (already supported by Fontforge) was started. It’s also good to recall than a SVG print draft is in progress, and everyone is welcome to improve it.

Fontmatrix is a nice font manager with lot of informations about fonts, last SVN launched from a terminal, give font path and filename on the terminal (soon on the interface ;) ). It allow to activate/disactivate fonts in the fontconfig system for GNU/Linux.

Some other free software font tools and converter on the Fontforge project page.

Some other open source fontes.

GNU/Linux distributions already include lot of nice fonts as Déjà Vu fonts, here are some other international fonts (sometimes inlcuded in your distribution package manager):
Languagegeek contain some native North americans scripts fonts.

Omniglot contain lot of links to international fonts, here the Dongba Naxi fonts, I will make an article about them soon.Tthis is only one pictographic scripture used around the world today, from the Naxi minority of Tibet highland, in Mainland china.

Some good links about font management on GNU/Linux systems
Some presentations about font management on GNU/LInux

françaisJuste après le fourchage d’inkscape SVN-0.46 & SVN-0.47, le support pour la gestion avancée des fontes SVG (déjà supportée par Fontforge) à commencé. Il est également bon de rappeller qu’un brouillon est en cours d’élaboration pour un standard d’impression SVG, tout le monde est appellé à y participer.

Fontmatrix est un tout jeune mais déjà excellent gestionnaire de fontes contenant tout un tas d’information sur les fontes. La dernière version SVN, lancé depuis un terminal donne également le chemin et nom de fichier de la fonte. (bientôt dans l’interface ;) ). Il permet d’activer et desactiver des fontes pour toutes les applications de façon transparentes sous GNU/Linux, graçe au système de géstion de font, fontconfig.

Quelques autres logiciels libres de gestion, création et conversion de fontes sur la page du projet Fontforge.

Quelques autres fontes aux sources disponibles

Les distributions GNU/Linux incluent déjà un tas de belles fontes, comme les fontes Déjà Vu, voici également quelques fontes internationales (parfois incluses dans le gestionnaire de paquet de votre distribution) :
Languagegeek contient quelques fontes des écitures des culures originaires d’Amérique du Nord.

Omniglot contient un tas de liens vers des fontes de nombreuses écritures du monde, voici par exmeple des fontes Naxi Dongba. Je vais bientôt faire un article à propos d’eux bientôt. Il s’agit de la seule écriture (majoritairement) pictrographique utilisé aujourd’hui, utilisé par la minorité Naxi du plateau du Tibet, en Chine continentale.

Quelques bons liens au sujet de la gestion des fontes sur les systèmes GNU/Linux
Quelques presentation sur les systèmes de gestion de fontes de GNU/LInux

Pencil and xcb_xlib_lock: Assertion `!c->xlib.lock’ failed.

After a try on Xubuntu (the light desktop XFCE version of Ubuntu) of Pencil Gnu GPL licensed animation software (for GNU/Linux, Mac OSX and clone of Wine including MS version called something like ixpi).

Pencil is a young but really good application for animation. It’s mainly oriented to traditional drawing animation, but can be used for other things.
Features :
* multilayer (several bitmap layers (on demand), several vector layers (on demand), one camera layer)
* pan, zoom, rotate of the view
* tablet pen pressure management for drawing.
* onionskin for the pleasure of animators :)
* import of bitmaps (and SVG vector format as bitmap).
* export as MOV, only on Mac and perhaps wine clones)
* export frame by frame png (with transparency), this should be reopened easily with Gimp Animation Package or assembled in a movie with mencoder (in mplayer project) and transcode.
* export as SWF movie (my test was not really good, only vector part worked perfectly in svn version, with libming version 0.4.0.beta5)
* timeline with keying of layers objects
* interpolation of camera movements
* palette management (GPL gimp/Inkscape/Agave palette format isn’t managed for now)
* support sounds (I still don’t tested them)

Update : The following described problem was due to libXi < 1.1.3, you can easily correct this by installing libXi-1.1.3 (lib) and the dependence inputproto >= 1.4 (proto), the last one are on x.org mirrors, go to individual subdir and then the lib or proto subdirs to get these versions. Upgrade only these two libs works with x.org 7.2

I really liked it, then tried to compile it on my main Linux From Scratch production computer, the compilation works perfectly, but sadly, when I tried to launch it on my LFS box, I obtained the following error:

Pencil: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Aborted

This is a common problem on xlib coded application, that yet aren’t tested on libxcb_xlib systems. XCB is a replacement of Xlib on X11 graphic interface, that allow faster access to graphical ressources a better way. XlibXcb is a wrapper to Xlib, allowing application coded for xlib to take transparently benefits of the new xcb architectures. But there is still some software that aren’t compatible, due to some light errors on (un)locking.

Some GNU/Linux distro patched libxcb to automatically pass this or doesn’t install xcb_xlib wrapper to avoid errors.
Some other have patched it with an environment variable to set to avoid the bug:

export LIBXCB_ALLOW_SLOPPY_LOCK=1
launch_your_application

Else the main two possible errors, for not corrected applications are:
xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

More information on this Debian-devel message:
http://lists.debian.org/debian-devel-announce/2006/11/msg00010.html

The libxcb patch proposed in Linux from scratch with LIBXCB_ALLOW_SLOPPY_LOCK settable variable.

I don’t have only the bug only with Pencil, but with few other applications:
xsetwacom (from linuxwacom project) and few other. Searching on Google, at least some release of Sun implementation of Java suffer the same bug.

I hop this will help some people using those application and having bug to find a mean to avoid it until these application are patched.

Text documents & Fonts on GNU/Linux

english2 new or recent project about fonts or text and GNU/Linux:

GnuPDF another lib/tool to manage PDF.
There is already at least three libs:

  • cairo to save pdf
  • xpdf and its fork Poppler to open them.
  • PDFedit to edit their tree
  • Inkscape or Openoffice.org to edit the pdf graphically.
  • GnuPDF has as goal to do everything that is in PDF specifications.

    Fontmatrix, a font manager. This is usefull for pre-press professionals that have to manage thousands of fonts on their system.
    Font Industry a tool to help automatizing the production of large font set (as far est ones).

    Not directly linked to open source software, but that’s two webtools that help to find a font used, after a bitmap image :
    What the font et Identifont.

    français Deux nouveaux ou recents projets à propos des textes et des fontes sous GNU/Linux.
    GnuPDF, une autre bibliothèque et outil pour gérer les PDF. Il existe déjà au moins 3 bibliothèques et outils :

  • cairo pour sauvegarder en PDF ;
  • Xpdf et son fork Poppler pour les ouvrir ;
  • PDFedit pour éditer leur arborescence (un peu comme l’éditeur XML integré à Inkscape) ;
  • Inkscape ou Openoffice.org pour éditer les PDF via une interfaçe graphique.
  • GnuPDF à pour but de réunir toutes les fonctions que l’on retrouve dans les spécifications PDF.

    Fontmatrix, un gestionnaire de fontes. C’est indispensable pour les professionnels de la pre-presse, qui ont généralement des milliers de fontes à gérer sur leur système d’éxpoitation.

    Font Industry, un outil aidant à automatiser la production de fontes comportant de nombreux caractères, comme ceux d’Extrême-Orient.

    Pas tout à fait lié, si ce n’est que ça parle de texte, deux sites dont le but est de retrouver une fonte utilisée à partir d’une image bitmap de celle-ci :
    What the font et Identifont.

    Inkscape-Create a radiating sun

    français Il y a aussi une version en français de ce didacticiel
    english Here is a tutorial for creating with Inkscape an object looking like a naive radating sun like this:
    Soleil union
    WARNING!!! A bug in the 0.45.1 (corrected in the SVN) with tile clone and barycentre, don’t allow to do this tutotial. You can install developpement version if you really want to do this, but avoid to use it for your everydays works.

    We start by creating a triangle like this with 3 nodes, using the Bézier curve/segment tool ( b key):

    triangle, barycentre at centre

    We can see (after changing to selection mode (s key) and then clicking on the triangle ( (or clicking 2 times if the triangle was deselected), than the barycenter (the little cross which is located at the rotation center) is at center…

    We have then to move it to the right node of the triangle that will be used as sun center. For that, press the alt key that is used to select cross (alt is not really useful here, but it is when some nodes are at the same place than the cross), then move it with mouse. Using the ctrl key will help you to move it horizontally, to put it precisely on the right node of the triangle.

    Barycenter at right

    Before duplicate this triangle, we have a last thing to do, get its width (given in the W as width widget, at the upper tool bar (see screenshot below). I choosed to scale it to 100 by entring 100 in this field.

    width

    We will now duplicate the triangle with simultaneously applying rotation to obtain desired shape. We have to go to the menu Edit=>clone=>create Tiled Clones. We will keep the P1 - translation mode. It should be better, if this tool was already used with special parameters, to press the reset button at the button left of the window.
    We have then to to click on shift tab, then in the per column field to enter the negative value corresponding to the width of the triangle (-100 in my case). This will allow to compensate the shifting by object width done by this tool by default in P1 - translation mode:
    WARNING!!! The 0.45(.1) version could has a bug with barycenter, the center of the object keep used for rotation in our case. The solution, is to use the half-width of the triangle (-50 in our case).

    tile clone - left shifting

    We have now to fill in the Rotation tab, the rotation added at each column (per column, as colored in the screenshot), then in function of this parameter, the number of desired clones by column (at right button):

    tile clone, rotation

    We still have to press the Create button to see the final result. We still can press Remove button to come back if this is not the wanted result, then change parameters values, and click again on Create.

    We have now the wanted figure, the next part of this tutorial is about to fusion objects created to have a uniq shape, which is easier to manipulate in lot of case. Instead we can now, change simultaneously the shape of all the triangles of this rounded shape by editing original shape (under the left one).

    We will now fusion the clones, to have only one object to manipulate.

    For that, we must :
    * Select both objects (menu Edit>select all or ctrl+a key). We can see here there are lot of objects:
    soleil vert - select all
    * Unlink both clones (menu Edit=>Clone=>Unlink Clone or shift+alt+d keys)
    * Fusion the final object (menu Path=>Union or ctrl++ key)

    Et voila, we now have got our object ready to be manipulated, we can eventually add a circle shape at the center to have a japan like red sun.

    Soleil union

    Inkscape SVN- Tweak path - Torsion de chemin

    Inkscape tweak path
    english A new tool appear that is in fact a new interface for an old tool called node sculpting in Inkscape 0.44, one year ago. This tool was improved along time. This interface now include buttons to easily see the several tools and some new improvement :
    * 2 new behavior appear : push and rough for path manipulation
    * some parameters can be changed by toolbar: width (the width of the tool), force (how the change are applied) and fidelity (the number of nodes used for represent deformation 100 = 100% fidel full of nodes, slow, 0 = really few node, fast, but not precise at all).

    Click on the picture to see a video of a first test (in ogg/theora format).

    français Un nouvel outil est apparu cette nuit, qui est en fait une nouvel interfaçe pour un ancien outil appellé sculpture de nœuds dans inkscape 0.44, il y a environ 1 an. Cet outil à été amélioré au fur et a mesure. L’interface inclus maintenant des boutons afin de voir aisément les différents outils et quelques nouvelles améliorations :
    * 2 nouveaux comportement apparaissent : pousser et brut (rough dans le sens croquis) pour la manipulation des chemins.
    * Quelques paramètres peuvent être changé par na nouvelle bar de paramètres : Largeur (la taille de l’outil), force (la puissance avec laquelle l’outil est appliqué) et fidelité (le nombre de nœuds utilisé pour représenter la déformation, 100 = 100% de fidélité au niveau des nœuds, les détails seront précis, mais ce sera lent, 0 = très peu de nœud, rapide, mais pas précis du tout, très simplifié).

    Cliquez sur l’image pour voir la vidéo du premier test (format ogg/theora).