[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854236: unblock: inkscape 0.92.1



[ Keeping lot of context as this one email didn't make it to the ML due
to the big attachment ]

On Sun, Feb 05, 2017 at 11:05:28AM +0100, Mattia Rizzolo wrote:
> This is a preapproval request.
> 
> Currently stretch has inkscape version 0.92.0 + a bunch of patches
> backported from their stable branch.  I'd like to eventually ship
> 0.92.1, which is due in about 2 weeks if they keep the current schedule.
> For avoidance of doubt, their stable branch only carries bugfixes and
> i18n updates.
> 
> Yesterday they made a 0.92.1~pre1 release, which I tried to package, the
> changes which will occur after this will only be l10n updates and very
> important bug fixes.
> Attached you can find the full debdiff and a filtered debdiff made by
> $ filterdiff -x '*/po/*' -x '*/share/tutorials/*' -x '*/share/examples/*' -x '*/doc/*' -x '*/packaging/*'
> We are not shipping anything from ./doc, and we have no use in what's
> inside ./packaging (mostly Windows stuff); also the tutorials and the
> examples take the biggest part of the diff because upstream re-scaled
> all the .svg's: https://bugs.launchpad.net/inkscape/+bug/1651815
> http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15302
> 
> 
> In particular there is one bugfix which I'm interested, which is causing
> malformed rendering of text boxes.  This random blog post can give you
> an idea of the problem (upstream is not good at bug triaging, so there
> is no real trackable bug…):
> http://peppercarrot.com/en/article396/new-inkscape-0-92-breaks-your-previous-works-done-with-inkscape
> It has been partially fixed by
> http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15338
> http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15350
> http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15351
> We expect some more tidying for next point release 0.92.2.
> 
> 
> You can see all the upstream changes here:
> http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/changes

In the meantime 0.92.1~pre2 happened.  Attached there are
 * relative diff from 0.92.1~pre1 I already attached to my previous email
 * filterdiff as above from the version currently in stretch (gzipped to
   be sure it gets to the ML), uncompressed also available at
   https://volatile.mapreri.org/2017-02-09/e5f65e4c685109cbb1580f1c731f7cc0/0.92.1pre2-filtered.diff
I avoided a full diff from what's in stretch as you made clear that a
30+ MB diff is pointless for you.


0.92.1 is now totally freezed, and they expect to release it as is with
just the version changed.
https://sourceforge.net/p/inkscape/mailman/inkscape-devel/thread/20170208223327.GI24863%40bryceharrington.org/#msg35655759

> Thank you for considering.

!

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
diffstat for inkscape-0.92.1~pre1 inkscape-0.92.1~pre2

 CMakeLists.txt                               |    2 
 CMakeScripts/inkscape-version.cmake          |    2 
 README.fr.txt                                |   73 +++++++++++++++++----------
 configure.ac                                 |    2 
 debian/changelog                             |    7 +-
 debian/patches/series                        |    1 
 debian/patches/upstream/trunk/15484.patch    |   32 +++++++++++
 doc/keys.de.html                             |   10 +--
 doc/keys.fr.html                             |   10 +--
 inkscape.de.pod                              |   18 +++++-
 inkscape.el.pod                              |   16 ++++-
 inkscape.fr.pod                              |   15 ++++-
 inkscape.ja.pod                              |   15 ++++-
 inkscape.pod                                 |    2 
 inkscape.sk.pod                              |   16 ++++-
 inkscape.zh_TW.pod                           |   15 ++++-
 po/fr.po                                     |   61 ++++++++++------------
 src/gradient-drag.cpp                        |    6 +-
 src/gradient-drag.h                          |    2 
 src/knot.cpp                                 |    4 -
 src/knot.h                                   |    1 
 src/libnrtype/Layout-TNG-Scanline-Makers.cpp |    2 
 src/widgets/desktop-widget.cpp               |    7 ++
 src/widgets/text-toolbar.cpp                 |   41 +++++++--------
 src/widgets/toolbox.cpp                      |    4 +
 25 files changed, 244 insertions(+), 120 deletions(-)

diff -Nru inkscape-0.92.1~pre1/CMakeLists.txt inkscape-0.92.1~pre2/CMakeLists.txt
--- inkscape-0.92.1~pre1/CMakeLists.txt	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/CMakeLists.txt	2017-02-08 08:49:15.000000000 +0100
@@ -19,7 +19,7 @@
 
 project(inkscape)
 
-set(INKSCAPE_VERSION 0.92.1pre1)
+set(INKSCAPE_VERSION 0.92.1pre2)
 set(PROJECT_NAME inkscape)
 set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
 
diff -Nru inkscape-0.92.1~pre1/CMakeScripts/inkscape-version.cmake inkscape-0.92.1~pre2/CMakeScripts/inkscape-version.cmake
--- inkscape-0.92.1~pre1/CMakeScripts/inkscape-version.cmake	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/CMakeScripts/inkscape-version.cmake	2017-02-08 08:49:15.000000000 +0100
@@ -8,7 +8,7 @@
 # We should extract the version from build.xml
 # but for now just hard code
 
-set(INKSCAPE_REVISION "r15355")
+set(INKSCAPE_REVISION "r15365")
 set(INKSCAPE_CUSTOM "")
 
 if(EXISTS ${INKSCAPE_SOURCE_DIR}/.bzr/)
diff -Nru inkscape-0.92.1~pre1/configure.ac inkscape-0.92.1~pre2/configure.ac
--- inkscape-0.92.1~pre1/configure.ac	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/configure.ac	2017-02-08 08:49:15.000000000 +0100
@@ -9,7 +9,7 @@
 # (whereas we always know what the previous version was called).
 #
 # Pre-releases are named "M.NNpreX" where X starts at 0 for the first alpha.
-AC_INIT([inkscape], [0.92.1pre1],
+AC_INIT([inkscape], [0.92.1pre2],
         [http://bugs.launchpad.net/inkscape/+filebug],
         [inkscape],
         [http://inkscape.org/])
diff -Nru inkscape-0.92.1~pre1/debian/changelog inkscape-0.92.1~pre2/debian/changelog
--- inkscape-0.92.1~pre1/debian/changelog	2017-02-05 10:01:21.000000000 +0100
+++ inkscape-0.92.1~pre2/debian/changelog	2017-02-05 10:01:21.000000000 +0100
@@ -1,7 +1,10 @@
-inkscape (0.92.1~pre1-1) unstable; urgency=medium
+inkscape (0.92.1~pre2-1) unstable; urgency=medium
 
-  * New upstream version 0.92.1~pre1.
+  * New upstream version 0.92.1~pre2.
+    http://wiki.inkscape.org/wiki/index.php/Release_notes/0.92.1
   * Remove patches applied upstream.
+  * Backport patch from upstream trunk:
+    + 15848: support for old scour 0.26.  Closes: #852290
 
  -- Mattia Rizzolo <mattia@debian.org>  Sun, 05 Feb 2017 10:01:21 +0100
 
diff -Nru inkscape-0.92.1~pre1/debian/patches/series inkscape-0.92.1~pre2/debian/patches/series
--- inkscape-0.92.1~pre1/debian/patches/series	2017-02-05 10:00:29.000000000 +0100
+++ inkscape-0.92.1~pre2/debian/patches/series	2017-02-05 10:01:21.000000000 +0100
@@ -1,3 +1,4 @@
 0001-Drop_PS_and_PDF_support_in_MimeType.patch
 0002-typos-libcroco.patch
 upstream/trunk/15400.patch
+upstream/trunk/15484.patch
diff -Nru inkscape-0.92.1~pre1/debian/patches/upstream/trunk/15484.patch inkscape-0.92.1~pre2/debian/patches/upstream/trunk/15484.patch
--- inkscape-0.92.1~pre1/debian/patches/upstream/trunk/15484.patch	1970-01-01 01:00:00.000000000 +0100
+++ inkscape-0.92.1~pre2/debian/patches/upstream/trunk/15484.patch	2017-02-05 10:01:21.000000000 +0100
@@ -0,0 +1,32 @@
+From: Eduard Braun <Eduard.Braun2@gmx.de>
+Date: Mon, 6 Feb 2017 08:02:57 +0100
+Subject: Add compatibility with old Scour 0.26, as found in Debian jessie
+
+Origin: upstream
+Applied: http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15484
+Bug: https://code.launchpad.net/~mapreri/inkscape/support-scour-0.26/+merge/315348
+Bug-Debian: https://bugs.debian.org/852290
+---
+ share/extensions/scour.inkscape.py | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/share/extensions/scour.inkscape.py b/share/extensions/scour.inkscape.py
+index eb31f30..bf60b96 100755
+--- a/share/extensions/scour.inkscape.py
++++ b/share/extensions/scour.inkscape.py
+@@ -4,7 +4,14 @@ import sys, platform, inkex
+ 
+ try:
+     import scour
+-    from scour.scour import scourString
++    try:
++        from scour.scour import scourString
++    except ImportError:  # compatibility for very old Scour (<= 0.26) - deprecated!
++        try:
++            from scour import scourString
++            scour.__version__ = scour.VER
++        except:
++            raise
+ except Exception as e:
+     inkex.errormsg("Failed to import Python module 'scour'.\nPlease make sure it is installed (e.g. using 'pip install scour' or 'sudo apt-get install python-scour') and try again.")
+     inkex.errormsg("\nDetails:\n" + str(e))
diff -Nru inkscape-0.92.1~pre1/doc/keys.de.html inkscape-0.92.1~pre2/doc/keys.de.html
--- inkscape-0.92.1~pre1/doc/keys.de.html	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/doc/keys.de.html	2017-02-08 08:49:15.000000000 +0100
@@ -12,7 +12,7 @@
       <div id="header">
          <h1 class="kmr">Referenz der Tasten- und Mausbefehle für Inkscape</h1>
          <div class="kmr-releaseinfo">Version 0.92</div>
-         <div class="kmr-pubdate">Zuletzt überarbeitet: 2017-01-23</div>
+         <div class="kmr-pubdate">Zuletzt überarbeitet: 23.01.2017</div>
       </div>
       <div id="kmr-preface">
     
@@ -150,7 +150,7 @@
                   <a class="kmr-toc-group" href="#d0e2257">Vereinfachen</a>
                </li>
                <li>
-                  <a class="kmr-toc-group" href="#d0e2282">Path effects</a>
+                  <a class="kmr-toc-group" href="#d0e2282">Pfadeffekte</a>
                </li>
             </ul>
             <li>
@@ -523,7 +523,7 @@
 
                <tr>
                   <td colspan="2" class="kmr-note">
-                     <span>When the "Mouse move pans when Space is pressed" option is on in Preferences, Space+mouse drag pans canvas instead of switching to/from Selector.</span>
+                     <span>Wenn die Option "Linke Maustaste verschiebt die Zeichenfläche, wenn die Leertaste gedrückt wird" in den Einstellungen aktiviert ist, verschiebt Leertaste+Ziehen mit der Maus die Zeichenfläche anstatt zum Auswahlwerkzeug zu wechseln.</span>
                   </td>
                </tr>
 
@@ -3196,7 +3196,7 @@
                <tr>
                   <td colspan="2">
                      <h3 class="kmr">
-                        <a name="d0e2282"/>Path effects</h3>
+                        <a name="d0e2282"/>Pfadeffekte</h3>
                   </td>
                </tr>
 
@@ -3205,7 +3205,7 @@
                      <span class="kmr-shortcut">7</span>
                   </td>
                   <td>
-                     <span class="kmr-action">show next editable path effect parameter</span>
+                     <span class="kmr-action">nächsten Pfadeffektparameter bearbeiten</span>
                   </td>
                </tr>
 
diff -Nru inkscape-0.92.1~pre1/doc/keys.fr.html inkscape-0.92.1~pre2/doc/keys.fr.html
--- inkscape-0.92.1~pre1/doc/keys.fr.html	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/doc/keys.fr.html	2017-02-08 08:49:15.000000000 +0100
@@ -12,7 +12,7 @@
       <div id="header">
          <h1 class="kmr">Référence des raccourcis clavier d'Inkscape</h1>
          <div class="kmr-releaseinfo">Version 0.92</div>
-         <div class="kmr-pubdate">Dernière mise à jour le 2017-01-23</div>
+         <div class="kmr-pubdate">Dernière mise à jour le 23/01/2017</div>
       </div>
       <div id="kmr-preface">
     
@@ -150,7 +150,7 @@
                   <a class="kmr-toc-group" href="#d0e2257">Simplifier</a>
                </li>
                <li>
-                  <a class="kmr-toc-group" href="#d0e2282">Path effects</a>
+                  <a class="kmr-toc-group" href="#d0e2282">Effets de chemin</a>
                </li>
             </ul>
             <li>
@@ -523,7 +523,7 @@
 
                <tr>
                   <td colspan="2" class="kmr-note">
-                     <span>When the "Mouse move pans when Space is pressed" option is on in Preferences, Space+mouse drag pans canvas instead of switching to/from Selector.</span>
+                     <span>Lorsque l'option « Le bouton gauche de la souris fait défiler quand la touche Espace est enfoncée » est activée dans les préférences, Espace+cliquer-glisser avec la souris déplace le canevas au lieu d'activer l'outil Sélecteur.</span>
                   </td>
                </tr>
 
@@ -3196,7 +3196,7 @@
                <tr>
                   <td colspan="2">
                      <h3 class="kmr">
-                        <a name="d0e2282"/>Path effects</h3>
+                        <a name="d0e2282"/>Effets de chemin</h3>
                   </td>
                </tr>
 
@@ -3205,7 +3205,7 @@
                      <span class="kmr-shortcut">7</span>
                   </td>
                   <td>
-                     <span class="kmr-action">show next editable path effect parameter</span>
+                     <span class="kmr-action">afficher le paramètre d'effet de chemin suivant</span>
                   </td>
                </tr>
 
diff -Nru inkscape-0.92.1~pre1/inkscape.de.pod inkscape-0.92.1~pre2/inkscape.de.pod
--- inkscape-0.92.1~pre1/inkscape.de.pod	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/inkscape.de.pod	2017-02-08 08:49:15.000000000 +0100
@@ -77,6 +77,7 @@
     -z, --without-gui                 
 
         --vacuum-defs
+        --no-convert-text-baseline-spacing
 
         --g-fatal-warnings
 
@@ -421,6 +422,17 @@
 wird nur die exportierte Datei dadurch verändert. Allein verwendet, wird die
 angegebene Datei selbst verändert.
 
+=item B<--no-convert-text-baseline-spacing>
+
+Text-Grundlinien werden beim Öffnen von älteren (vor Version 0.92) Dateien
+nicht repariert. Inkscape 0.92 hat die Definition der Eigenschaft
+'line-height' aus dem CSS-Standard übernommen. Diese weicht nun von der in
+älteren Versionen genutzten Definition ab. Standardmäßig werden die Werte
+für Zeilenhöhe in Dateien, die vor dem Erscheinen von Inkscape 0.92 erstellt
+worden sind, beim Laden angepasst, um das Erscheinungsbild des Textes zu
+erhalten. Der Kommandozeilenbefehl bewirkt, dass die Anpassung nicht
+vorgenommen wird.
+
 =item B<-z>, B<--without-gui>
 
 Öffnet nicht die Benutzeroberfläche (auf Unix: verwendet nicht den
@@ -688,10 +700,10 @@
 
 =head1 URHEBERRECHT UND LIZENZ
 
-B<Copyright (C)> 1999-2015 liegt bei den Autoren.
+B<Copyright (C)> 1999-2017 liegt bei den Autoren.
 
-B<Inkscape> ist freie Software. Sie dürfen es zu den Bedingungen der GPL
-weiterverbreiten und / oder verändern.
+B<Inkscape> ist freie Software. Sie dürfen es zu den Bedingungen der GPL in
+Version 2 oder höher weiterverbreiten und / oder verändern.
 
 
 
diff -Nru inkscape-0.92.1~pre1/inkscape.el.pod inkscape-0.92.1~pre2/inkscape.el.pod
--- inkscape-0.92.1~pre1/inkscape.el.pod	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/inkscape.el.pod	2017-02-08 08:49:15.000000000 +0100
@@ -77,6 +77,7 @@
     -z, --without-gui                 
 
         --vacuum-defs
+        --no-convert-text-baseline-spacing
 
         --g-fatal-warnings
 
@@ -411,6 +412,15 @@
 --export-plain-svg, μόνο το εξαγόμενο αρχείο θα επηρεαστεί. Εάν
 χρησιμοποιηθεί μόνη, το καθορισμένο αρχείο θα τροποποιηθεί επιτόπου.
 
+=item B<--no-convert-text-baseline-spacing>
+
+Do not automatically fix text baselines in legacy (pre-0.92) files on
+opening.  Inkscape 0.92 adopts the CSS standard definition for the
+'line-height' property, which differs from past versions.  By default, the
+line height values in files created prior to Inkscape 0.92 will be adjusted
+on loading to preserve the intended text layout.  This command line option
+will skip that adjustment.
+
 =item B<-z>, B<--without-gui>
 
 Μην ανοίγετε το GUI (σε Unix, μην χρησιμοποιείτε εξυπηρετητή X). Μόνο
@@ -677,10 +687,10 @@
 
 =head1 ΠΝΕΥΜΑΤΙΚΑ ΔΙΚΑΙΩΜΑΤΑ ΚΑΙ ΑΔΕΙΑ
 
-B<Copyright (C)> 1999-2015 από τους συγγραφείς.
+B<Copyright (C)> 1999-2017 by Authors.
 
-B<Inkscape> είναι ελεύθερο λογισμικό. Μπορείτε να το αναδιανείμετε και/ή να
-το τροποποιήσετε με τους όρους του GPL.
+B<Inkscape> is free software; you can redistribute it and/or modify it under
+the terms of the GPL version 2 or later.
 
 
 
diff -Nru inkscape-0.92.1~pre1/inkscape.fr.pod inkscape-0.92.1~pre2/inkscape.fr.pod
--- inkscape-0.92.1~pre1/inkscape.fr.pod	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/inkscape.fr.pod	2017-02-08 08:49:15.000000000 +0100
@@ -76,6 +76,7 @@
     -z, --without-gui
 
         --vacuum-defs
+        --no-convert-text-baseline-spacing
 
         --g-fatal-warnings
 
@@ -421,6 +422,16 @@
 exporté sera affecté. Si cette option est utilisée seule, le fichier
 spécifié sera modifié.
 
+=item B<--no-convert-text-baseline-spacing>
+
+Ne pas corriger automatiquement les lignes de base dans les documents
+produits avec une version d'Inkscape antérieure à 0.92. Depuis Inkscape
+0.92, la propriété S<« line-height »> est gérée conformément au standard CSS,
+ce qui la rend incompatible avec les précédentes versions. Par défaut, les
+valeurs de hauteur de ligne dans les fichiers créés avant Inkscape 0.92 vont
+être ajustées au chargement afin de préserver la disposition
+souhaitée. Cette option permet d’éviter cet ajustement.
+
 =item B<-z>, B<--without-gui>
 
 Ne pas ouvrir l'interface graphique (sous Unix, ne pas utiliser le serveur
@@ -689,10 +700,10 @@
 
 =head1 COPYRIGHT ET LICENCE
 
-B<Copyright (C)> 1999-2015 par les auteurs.
+B<Copyright (C)> 1999-2017 par les auteurs.
 
 B<Inkscape> est un logiciel S<libre ;> vous pouvez le redistribuer et/ou le
-modifier selon les conditions de la licence GPL.
+modifier selon les termes de la licence GPL version 2 ou ultérieure.
 
 
 
diff -Nru inkscape-0.92.1~pre1/inkscape.ja.pod inkscape-0.92.1~pre2/inkscape.ja.pod
--- inkscape-0.92.1~pre1/inkscape.ja.pod	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/inkscape.ja.pod	2017-02-08 08:49:15.000000000 +0100
@@ -76,6 +76,7 @@
     -z, --without-gui                 
 
         --vacuum-defs
+        --no-convert-text-baseline-spacing
 
         --g-fatal-warnings
 
@@ -339,6 +340,15 @@
 SVG ファイル内の <lt>defs<gt> セクションから未使用のアイテムをすべて除去します。このオプションが --export-plain-svg
 とともに指定された場合、エクスポートされるファイルに対してのみ作用します。このオプションだけ指定された場合は、指定されたファイルが修正されます。
 
+=item B<--no-convert-text-baseline-spacing>
+
+Do not automatically fix text baselines in legacy (pre-0.92) files on
+opening.  Inkscape 0.92 adopts the CSS standard definition for the
+'line-height' property, which differs from past versions.  By default, the
+line height values in files created prior to Inkscape 0.92 will be adjusted
+on loading to preserve the intended text layout.  This command line option
+will skip that adjustment.
+
 =item B<-z>, B<--without-gui>
 
 GUI を使用せず (Unix では X server を使用しません)、コンソールからのみファイルを処理します。これは -p、-e、-l、および
@@ -550,9 +560,10 @@
 
 =head1 著作権およびライセンス
 
-B<Copyright (C)> 1999-2015 by Authors.
+B<Copyright (C)> 1999-2017 by Authors.
 
-B<Inkscape> はフリーソフトウェアです。あなたは GPL の示す条件下においてこのプログラムを配布および/または変更できます。
+B<Inkscape> is free software; you can redistribute it and/or modify it under
+the terms of the GPL version 2 or later.
 
 
 
diff -Nru inkscape-0.92.1~pre1/inkscape.pod inkscape-0.92.1~pre2/inkscape.pod
--- inkscape-0.92.1~pre1/inkscape.pod	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/inkscape.pod	2017-02-08 08:49:15.000000000 +0100
@@ -592,7 +592,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-B<Copyright (C)> 1999-2016 by Authors.
+B<Copyright (C)> 1999-2017 by Authors.
 
 B<Inkscape> is free software; you can redistribute it and/or modify it
 under the terms of the GPL version 2 or later.
diff -Nru inkscape-0.92.1~pre1/inkscape.sk.pod inkscape-0.92.1~pre2/inkscape.sk.pod
--- inkscape-0.92.1~pre1/inkscape.sk.pod	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/inkscape.sk.pod	2017-02-08 08:49:15.000000000 +0100
@@ -76,6 +76,7 @@
     -z, --without-gui                 
 
         --vacuum-defs
+        --no-convert-text-baseline-spacing
 
         --g-fatal-warnings
 
@@ -394,6 +395,15 @@
 túto voľbu zadáte spolu s --export-plain-svg, bude mať vplyv iba na
 exportovaný súbor.  Ak ju použijete samostatne, zmení sa existujúci súbor.
 
+=item B<--no-convert-text-baseline-spacing>
+
+Do not automatically fix text baselines in legacy (pre-0.92) files on
+opening.  Inkscape 0.92 adopts the CSS standard definition for the
+'line-height' property, which differs from past versions.  By default, the
+line height values in files created prior to Inkscape 0.92 will be adjusted
+on loading to preserve the intended text layout.  This command line option
+will skip that adjustment.
+
 =item B<-z>, B<--without-gui>
 
 Neotvárať grafické rozhranie (na unixových systémoch nepoužívať X server),
@@ -643,10 +653,10 @@
 
 =head1 AUTORSKÉ PRÁVA A LICENCIA
 
-B<Copyright (C)> 1999-2015, autori.
+B<Copyright (C)> 1999-2017 by Authors.
 
-B<Inkscape> je slobodný softvér; môžete ho používať a šíriť za podmienok
-licencie GPL.
+B<Inkscape> is free software; you can redistribute it and/or modify it under
+the terms of the GPL version 2 or later.
 
 
 
diff -Nru inkscape-0.92.1~pre1/inkscape.zh_TW.pod inkscape-0.92.1~pre2/inkscape.zh_TW.pod
--- inkscape-0.92.1~pre1/inkscape.zh_TW.pod	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/inkscape.zh_TW.pod	2017-02-08 08:49:15.000000000 +0100
@@ -76,6 +76,7 @@
     -z, --without-gui                 
 
         --vacuum-defs
+        --no-convert-text-baseline-spacing
 
         --g-fatal-warnings
 
@@ -298,6 +299,15 @@
 從 SVG 檔案的 <lt>defs<gt> 段落中移除所有未使用的項目。如果這個選項與 --export-plain-svg 一起調用,
 只有匯出的檔案會有作用。如果單獨使用會適當地修飾所指定的檔案。
 
+=item B<--no-convert-text-baseline-spacing>
+
+Do not automatically fix text baselines in legacy (pre-0.92) files on
+opening.  Inkscape 0.92 adopts the CSS standard definition for the
+'line-height' property, which differs from past versions.  By default, the
+line height values in files created prior to Inkscape 0.92 will be adjusted
+on loading to preserve the intended text layout.  This command line option
+will skip that adjustment.
+
 =item B<-z>, B<--without-gui>
 
 不要開啟圖形介面 (在 Unix 系統,不使用 X server);只從終端機處理檔案。 這被假定為 -p、-e、-l 和 --vacuum-defs
@@ -491,9 +501,10 @@
 
 =head1 著作權和許可證
 
-B<著作權 (C)> 1999-2015 作者所有。
+B<Copyright (C)> 1999-2017 by Authors.
 
-B<Inkscape> 是自由軟體;你可以在遵守 GPL 許可證情形下重新發佈或修改它。
+B<Inkscape> is free software; you can redistribute it and/or modify it under
+the terms of the GPL version 2 or later.
 
 
 
diff -Nru inkscape-0.92.1~pre1/po/fr.po inkscape-0.92.1~pre2/po/fr.po
--- inkscape-0.92.1~pre1/po/fr.po	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/po/fr.po	2017-02-08 08:49:15.000000000 +0100
@@ -20,7 +20,7 @@
 "Project-Id-Version: inkscape\n"
 "Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2017-01-24 21:21+0100\n"
-"PO-Revision-Date: 2016-12-21 20:54+0100\n"
+"PO-Revision-Date: 2017-02-05 15:08+0100\n"
 "Last-Translator: Sylvain Chiron <chironsylvain@orange.fr>\n"
 "Language-Team: français <>\n"
 "Language: fr_FR\n"
@@ -8465,7 +8465,6 @@
 msgstr "Ignorer"
 
 #: ../src/file.cpp:517
-#, fuzzy
 msgid ""
 "Old Inkscape files use 1in == 90px. CSS requires 1in == 96px.\n"
 "Drawings meant to match a physical size (e.g. Letter or A4)\n"
@@ -8474,11 +8473,14 @@
 "attribute to compensate or by scaling all objects in the drawing."
 msgstr ""
 "Auparavant, Inkscape utilisait l'équivalence 1 in = 90 px.\n"
-"Le standard CSS exige que 1 in = 96 px. Les éléments du dessin\n"
-"seront peut-être plus petits que souhaité.\n"
-"Cela peut-être corrigé soit en définissant la « zone de vue »\n"
-"(viewBox SVG) pour compenser ou en redimensionnant\n"
-"l'ensemble des éléments du dessin."
+"Le standard CSS exige que 1 in = 96 px. Si le document\n"
+"est prévu pour être imprimé (sur papier ou en 3D),\n"
+"sa taille réelle sera plus petite qu'auparavant.\n"
+"Le document peut être redimensionné pour conserver\n"
+"les mêmes dimensions physiques. Le redimensionnement\n"
+"du contenu peut être effectué de deux manières :\n"
+"— soit en définissant la « zone de vue » (viewBox SVG) ;\n"
+"— soit en redimensionnant chacun des éléments."
 
 #. Look for SPNamedView and SPDefs loop
 #. desktop->getDocument()->ensureUpToDate();  // Does not update box3d!
@@ -12330,6 +12332,8 @@
 #: ../src/main.cpp:532
 msgid "Prevents automatic fix of pre-92 files on opening them."
 msgstr ""
+"Annule la conversion automatique des documents enregistrés avec une version "
+"d'Inkscape antérieure à 0.92."
 
 #: ../src/main.cpp:882 ../src/main.cpp:1355
 msgid ""
@@ -22072,16 +22076,14 @@
 msgstr "Point d'encrage :"
 
 #: ../src/ui/dialog/polar-arrange-tab.cpp:52
-#, fuzzy
 msgctxt "Polar arrange tab"
 msgid "Objects' bounding boxes:"
-msgstr "Boîte englobante de l'objet :"
+msgstr "Boîtes englobantes des objets :"
 
 #: ../src/ui/dialog/polar-arrange-tab.cpp:59
-#, fuzzy
 msgctxt "Polar arrange tab"
 msgid "Objects' rotational centers"
-msgstr "Centre de rotation de l'objet"
+msgstr "Centres de rotation des objets"
 
 #: ../src/ui/dialog/polar-arrange-tab.cpp:64
 msgctxt "Polar arrange tab"
@@ -30074,9 +30076,8 @@
 msgstr "Redimensionner le résultat"
 
 #: ../src/widgets/measure-toolbar.cpp:329
-#, fuzzy
 msgid "Mark dimension offset"
-msgstr "Marquer la taille"
+msgstr "Marquer le changement de taille"
 
 #: ../src/widgets/measure-toolbar.cpp:341
 #: ../src/widgets/measure-toolbar.cpp:342
@@ -32348,44 +32349,40 @@
 "chemin."
 
 #: ../share/extensions/draw_from_triangle.py:180
-#, fuzzy, python-brace-format
+#, python-brace-format
 msgid "Side Length 'a' ({0}): {1}"
-msgstr "Longueur du côté « a » ("
+msgstr "Longueur du côté « a » ({0}) : {1}"
 
 #: ../share/extensions/draw_from_triangle.py:181
-#, fuzzy, python-brace-format
+#, python-brace-format
 msgid "Side Length 'b' ({0}): {1}"
-msgstr "Longueur du côté « b » ("
+msgstr "Longueur du côté « b » ({0}) : {1}"
 
 #: ../share/extensions/draw_from_triangle.py:182
-#, fuzzy, python-brace-format
+#, python-brace-format
 msgid "Side Length 'c' ({0}): {1}"
-msgstr "Longueur du côté « c » ("
+msgstr "Longueur du côté « c » ({0}) : {1}"
 
 #: ../share/extensions/draw_from_triangle.py:183
-#, fuzzy
 msgid "Angle 'A' (radians): {}"
-msgstr "Angle A (radians) :"
+msgstr "Angle A (radians) : {}"
 
 #: ../share/extensions/draw_from_triangle.py:184
-#, fuzzy
 msgid "Angle 'B' (radians): {}"
-msgstr "Angle B (radians) :"
+msgstr "Angle B (radians) : {}"
 
 #: ../share/extensions/draw_from_triangle.py:185
-#, fuzzy
 msgid "Angle 'C' (radians): {}"
-msgstr "Angle C (radians) :"
+msgstr "Angle C (radians) : {}"
 
 #: ../share/extensions/draw_from_triangle.py:186
-#, fuzzy
 msgid "Semiperimeter (px): {}"
-msgstr "Demi-périmètre (px) :"
+msgstr "Demi-périmètre (px) : {}"
 
 #: ../share/extensions/draw_from_triangle.py:187
-#, fuzzy, python-brace-format
+#, python-brace-format
 msgid "Area ({0}^2): {1}"
-msgstr "Aire (px²) :"
+msgstr "Aire ({0}^2) : {1}"
 
 #: ../share/extensions/dxf_input.py:530
 #, python-format
@@ -33348,7 +33345,6 @@
 
 #: ../share/extensions/uniconv-ext.py:55
 #: ../share/extensions/uniconv_output.py:122
-#, fuzzy
 msgid ""
 "You need to install the UniConvertor software.\n"
 "For GNU/Linux: install the package python-uniconvertor.\n"
@@ -33360,8 +33356,9 @@
 "Vous devez installer le logiciel UniConvertor.\n"
 "Sous GNU/Linux : installez le paquet python-uniconvertor.\n"
 "Sous Windows : téléchargez-le depuis\n"
-"http://sk1project.org/modules.php?name=Products&product=uniconvertor\n";
-"et placez-le dans votre installation de Python jointe à Inkscape\n"
+"http://sk1project.org/modules.php?";
+"name=Products&product=uniconvertor&op=download\n"
+"et placez-le avec votre installation de Python jointe à Inkscape\n"
 
 #: ../share/extensions/voronoi2svg.py:205
 msgid "Please select objects!"
diff -Nru inkscape-0.92.1~pre1/README.fr.txt inkscape-0.92.1~pre2/README.fr.txt
--- inkscape-0.92.1~pre1/README.fr.txt	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/README.fr.txt	2017-02-08 08:49:15.000000000 +0100
@@ -1,72 +1,91 @@
-Inkscape. Dessinez librement.
-=============================
 
-http://www.inkscape.org/
+Inkscape. Dessiner en toute liberté.
+====================================
+
+https://inkscape.org/
 
 Inkscape est un logiciel de dessin vectoriel libre avec des possibilités
 similaires à celles d'Illustrator, Freehand ou CorelDraw et utilisant le format
-standard du W3C "scalable vector graphics" (SVG). Formes basiques, chemins,
+standard du W3C « Scalable Vector Graphics » (SVG). Formes basiques, chemins,
 texte, marqueurs, clonage, transparence, transformations, dégradés et groupage
 figurent parmi les fonctionnalités SVG supportées. De plus, Inkscape supporte
 les meta-données Creative Commons, l'édition de nœuds, les calques, les
 opérations complexes sur les chemins, le texte suivant un chemin, et l'édition
-du SVG XML. Il peut aussi importer depuis plusieurs formats comme EPS,
-Postscript, JPEG, PNG, BMP, et TIFF et exporter en PNG aussi bien qu'en de
+directe de l'arbre XML. Il peut aussi importer depuis plusieurs formats comme EPS,
+Postscript, JPEG, PNG, BMP et TIFF et exporter en PNG aussi bien qu'en de
 nombreux formats vectoriels.
 
 Le but principal d'Inkscape est de fournir à la communauté du logiciel libre
-un outil de dessin totalement conforme aux spécifications XML, SVG et CSS2 du
-W3C. De plus les tâches planifiées incluent la conversion du code de C/Gtk en
-C++/Gtkmm, la mise en valeur d'un noyau léger avec des fonctionnalités ajoutées
-par un mécanisme d'extension, et l'établissement d'un processus de
-développement amical, ouvert et tourné vers la communauté.
+un outil de dessin entièrement conforme aux spécifications XML, SVG et CSS2 du
+W3C mettant en valeur un noyau léger avec des fonctionnalités puissantes ajoutées
+grâce à un système d'extensions, et l'établissement de processus de
+développement conviviaux, ouverts et engagés pour la communauté d'utilisateurs.
+
+
+Installation standard
+=====================
+
+Depuis la version 0.92, Inkscape peut être produit avec CMake :
+
+  mkdir build
+  cd build
+  cmake ..
+  make
+  make install
 
-Inkscape se compile et s'installe selon la procédure standard :
+Autoconf est également toujours disponible avec Inkscape 0.92
+en tant que système de production alternatif, au cas où un problème
+serait rencontré avec les scripts pour CMake :
 
+  ./autogen.sh   # Optionnel, à utiliser si le fichier configure est absent
   ./configure
   make
   make install
 
-Si le fichier "./configure" n'est pas présent, vous pouvez le créer en
-exécutant la commande "./autogen.sh", qui appelle alternativement d'autres
-programmes tels que automake et autoconf. Consultez le fichier INSTALL pour de
-plus amples détails.
+Des instructions spécifiques à une plateforme peuvent être trouvées
+dans le fichier README associé à la plateforme (par ex. README.osx.txt
+pour Mac OS X).
 
 
 Dépendances nécessaires
 =======================
-Le cœur d'Inkscape dépend de plusieurs autres bibliothèques qu'il vous faudra
-installer si elle ne sont pas déjà présentes sur votre système. Typiquement,
-vous devriez avoir à installer :
+
+Le noyau d'Inkscape dépend de plusieurs autres bibliothèques qu'il vous faudra
+installer si elle ne sont pas encore présentes sur votre système. Typiquement,
+vous devriez avoir à installer :
+
   * Boehm-GC
   * libsigc++
   * glibmm
   * gtkmm
 
 Veuillez consulter http://wiki.inkscape.org/wiki/index.php/CompilingInkscape
-pour les dépendances les plus courantes, cette page comportant aussi des liens
+pour les dernières dépendances, cette page comportant aussi des liens
 vers les fichiers sources (au format .tar.gz).
 
 
 Dépendances pour les extensions
 ===============================
+
 Inkscape comporte aussi un certain nombre d'extensions apportant diverses
-fonctionnalités (comme le support de formats de fichiers autres que le SVG...).
-En théorie toutes les extensions sont optionnelles ; cependant, en pratique,
-vous voudrez sans doute les installer et faire fonctionner. Malheureusement,
-leur bon fonctionnement peut beaucoup varier. Voici quelques recommandations.
+fonctionnalités (comme le support de formats de fichiers autres que le SVG).
+En théorie, toutes les extensions sont optionnelles ; cependant, en pratique,
+vous souhaiterez en disposer. Le succès de l'installation peut malheureusement
+beaucoup varier. Voici quelques recommandations.
 
 D'abord, vérifiez que Python et Perl sont bien installés. Sous Windows,
 installez aussi Cygwin.
 
 Ensuite, assurez-vous que les dépendances nécessaires à chaque extension sont
 présentes. Ces dépendances varient en fonction des extensions dont vous avez
-besoin, mais en voici que vous devriez installer de toute façon :
+besoin ; voici les plus générales :
+
   * XML::Parser
   * XML::XQL
 
-Si vous installez des dépendances dans des emplacements non standards (ex : si
-vous installez XML::Parser dans votre répertoire personnel), il vous faudra 
+Si vous installez des dépendances dans des emplacements non standards (par ex.
+si vous installez XML::Parser dans votre répertoire personnel), il vous faudra 
 peut-être effectuer quelques étapes supplémentaires afin d'indiquer où ces
 dépendances peuvent être trouvées. Par exemple, pour les modules Perl, il vous
 faut définir les variables PERLLIB ou PERL5LIB (voyez 'man perlrun').
+
diff -Nru inkscape-0.92.1~pre1/src/gradient-drag.cpp inkscape-0.92.1~pre2/src/gradient-drag.cpp
--- inkscape-0.92.1~pre1/src/gradient-drag.cpp	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/gradient-drag.cpp	2017-02-08 08:49:15.000000000 +0100
@@ -1070,7 +1070,7 @@
 
 
 
-static void gr_knot_grabbed_handler(SPKnot */*knot*/, unsigned int /*state*/, gpointer data)
+static void gr_knot_mousedown_handler(SPKnot */*knot*/, unsigned int /*state*/, gpointer data)
 {
     GrDragger *dragger = (GrDragger *) data;
     GrDrag *drag = dragger->parent;
@@ -1688,7 +1688,7 @@
     this->sizeUpdatedConn = ControlManager::getManager().connectCtrlSizeChanged(sigc::mem_fun(*this, &GrDragger::updateControlSizes));
     this->_clicked_connection = this->knot->click_signal.connect(sigc::bind(sigc::ptr_fun(gr_knot_clicked_handler), this));
     this->_doubleclicked_connection = this->knot->doubleclicked_signal.connect(sigc::bind(sigc::ptr_fun(gr_knot_doubleclicked_handler), this));
-    this->_grabbed_connection = this->knot->grabbed_signal.connect(sigc::bind(sigc::ptr_fun(gr_knot_grabbed_handler), this));
+    this->_mousedown_connection = this->knot->mousedown_signal.connect(sigc::bind(sigc::ptr_fun(gr_knot_mousedown_handler), this));
     this->_ungrabbed_connection = this->knot->ungrabbed_signal.connect(sigc::bind(sigc::ptr_fun(gr_knot_ungrabbed_handler), this));
 
     // add the initial draggable
@@ -1712,7 +1712,7 @@
     this->_moved_connection.disconnect();
     this->_clicked_connection.disconnect();
     this->_doubleclicked_connection.disconnect();
-    this->_grabbed_connection.disconnect();
+    this->_mousedown_connection.disconnect();
     this->_ungrabbed_connection.disconnect();
 
     /* unref should call destroy */
diff -Nru inkscape-0.92.1~pre1/src/gradient-drag.h inkscape-0.92.1~pre2/src/gradient-drag.h
--- inkscape-0.92.1~pre1/src/gradient-drag.h	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/gradient-drag.h	2017-02-08 08:49:15.000000000 +0100
@@ -130,7 +130,7 @@
     sigc::connection _moved_connection;
     sigc::connection _clicked_connection;
     sigc::connection _doubleclicked_connection;
-    sigc::connection _grabbed_connection;
+    sigc::connection _mousedown_connection;
     sigc::connection _ungrabbed_connection;
 };
 
diff -Nru inkscape-0.92.1~pre1/src/knot.cpp inkscape-0.92.1~pre2/src/knot.cpp
--- inkscape-0.92.1~pre1/src/knot.cpp	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/knot.cpp	2017-02-08 08:49:15.000000000 +0100
@@ -229,7 +229,7 @@
         if ((event->button.button == 1) && knot->desktop && knot->desktop->event_context && !knot->desktop->event_context->space_panning) {
             Geom::Point const p = knot->desktop->w2d(Geom::Point(event->button.x, event->button.y));
             knot->startDragging(p, (gint) event->button.x, (gint) event->button.y, event->button.time);
-            knot->grabbed_signal.emit(knot, event->button.state);
+            knot->mousedown_signal.emit(knot, event->button.state);
             consumed = TRUE;
         }
         break;
@@ -256,7 +256,6 @@
 
                 if (moved) {
                     knot->setFlag(SP_KNOT_DRAGGING, FALSE);
-
                     knot->ungrabbed_signal.emit(knot, event->button.state);
                 } else {
                     knot->click_signal.emit(knot, event->button.state);
@@ -295,6 +294,7 @@
 
             if (!moved) {
                 knot->setFlag(SP_KNOT_DRAGGING, TRUE);
+                knot->grabbed_signal.emit(knot, event->button.state);
             }
 
             sp_event_context_snap_delay_handler(knot->desktop->event_context, NULL, knot, (GdkEventMotion *)event, Inkscape::UI::Tools::DelayedSnapEvent::KNOT_HANDLER);
diff -Nru inkscape-0.92.1~pre1/src/knot.h inkscape-0.92.1~pre2/src/knot.h
--- inkscape-0.92.1~pre1/src/knot.h	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/knot.h	2017-02-08 08:49:15.000000000 +0100
@@ -79,6 +79,7 @@
     // be able to figure that out
     sigc::signal<void, SPKnot *, unsigned int> click_signal;
     sigc::signal<void, SPKnot*, unsigned int> doubleclicked_signal;
+    sigc::signal<void, SPKnot*, unsigned int> mousedown_signal;
     sigc::signal<void, SPKnot*, unsigned int> grabbed_signal;
     sigc::signal<void, SPKnot *, unsigned int> ungrabbed_signal;
     sigc::signal<void, SPKnot *, Geom::Point const &, unsigned int> moved_signal;
diff -Nru inkscape-0.92.1~pre1/src/libnrtype/Layout-TNG-Scanline-Makers.cpp inkscape-0.92.1~pre2/src/libnrtype/Layout-TNG-Scanline-Makers.cpp
--- inkscape-0.92.1~pre1/src/libnrtype/Layout-TNG-Scanline-Makers.cpp	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/libnrtype/Layout-TNG-Scanline-Makers.cpp	2017-02-08 08:49:15.000000000 +0100
@@ -124,7 +124,7 @@
     FloatLigne line_rasterization;
     FloatLigne line_decent_length_runs;
     float line_text_height = (float)(line_height.emSize());
-    if (line_text_height == 0.0)
+    if (line_text_height < 0.001)
         line_text_height = 0.001;     // Scan() doesn't work for zero height so this will have to do
 
     _current_line_height = (float)line_height.emSize();
diff -Nru inkscape-0.92.1~pre1/src/widgets/desktop-widget.cpp inkscape-0.92.1~pre2/src/widgets/desktop-widget.cpp
--- inkscape-0.92.1~pre1/src/widgets/desktop-widget.cpp	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/widgets/desktop-widget.cpp	2017-02-08 08:49:15.000000000 +0100
@@ -1851,9 +1851,16 @@
                 if (GTK_IS_CONTAINER(i->data)) {
                     GList *grch = gtk_container_get_children (GTK_CONTAINER(i->data));
                     for (GList *j = grch; j != NULL; j = j->next) {
+
                         if (!GTK_IS_WIDGET(j->data)) // wasn't a widget
                             continue;
 
+                        // Don't apply to text toolbar. We want to be able to
+                        // use different units for text. (Bug 1562217)
+                        const gchar* name = gtk_widget_get_name( (GTK_WIDGET(j->data)) );
+                        if (strcmp( name, "TextToolbar") == 0)
+                            continue;
+
                         gpointer t = sp_search_by_data_recursive(GTK_WIDGET(j->data), (gpointer) "tracker");
                         if (t == NULL) // didn't find any tracker data
                             continue;
diff -Nru inkscape-0.92.1~pre1/src/widgets/text-toolbar.cpp inkscape-0.92.1~pre2/src/widgets/text-toolbar.cpp
--- inkscape-0.92.1~pre1/src/widgets/text-toolbar.cpp	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/widgets/text-toolbar.cpp	2017-02-08 08:49:15.000000000 +0100
@@ -591,17 +591,14 @@
     Inkscape::Preferences *prefs = Inkscape::Preferences::get();
 
 
-    // Only save if not relative unit
-    if ( !is_relative(unit) ) {
-        // This nonsense is to get SP_CSS_UNIT_xx value corresponding to unit so
-        // we can save it (allows us to adjust line height value when unit changes).
-        SPILength temp_length;
-        Inkscape::CSSOStringStream temp_stream;
-        temp_stream << 1 << unit->abbr;
-        temp_length.read(temp_stream.str().c_str());
-        prefs->setInt("/tools/text/lineheight/display_unit", temp_length.unit);
-        g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(temp_length.unit));
-    }
+    // This nonsense is to get SP_CSS_UNIT_xx value corresponding to unit so
+    // we can save it (allows us to adjust line height value when unit changes).
+    SPILength temp_length;
+    Inkscape::CSSOStringStream temp_stream;
+    temp_stream << 1 << unit->abbr;
+    temp_length.read(temp_stream.str().c_str());
+    prefs->setInt("/tools/text/lineheight/display_unit", temp_length.unit);
+    g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(temp_length.unit));
 
     // Set css line height.
     SPCSSAttr *css = sp_repr_css_attr_new ();
@@ -705,16 +702,13 @@
     g_return_if_fail(unit != NULL);
     Inkscape::Preferences *prefs = Inkscape::Preferences::get();
 
-    // Only save if not relative unit
-    if ( !is_relative(unit) ) {
-        // This nonsense is to get SP_CSS_UNIT_xx value corresponding to unit.
-        SPILength temp_length;
-        Inkscape::CSSOStringStream temp_stream;
-        temp_stream << 1 << unit->abbr;
-        temp_length.read(temp_stream.str().c_str());
-        prefs->setInt("/tools/text/lineheight/display_unit", temp_length.unit);
-        g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(temp_length.unit));
-    }
+    // This nonsense is to get SP_CSS_UNIT_xx value corresponding to unit.
+    SPILength temp_length;
+    Inkscape::CSSOStringStream temp_stream;
+    temp_stream << 1 << unit->abbr;
+    temp_length.read(temp_stream.str().c_str());
+    prefs->setInt("/tools/text/lineheight/display_unit", temp_length.unit);
+    g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(temp_length.unit));
 
     // Read current line height value
     EgeAdjustmentAction *line_height_act =
@@ -727,7 +721,10 @@
     std::vector<SPItem*> itemlist=selection->itemList();
 
     // Convert between units
-    if        ((unit->abbr == "" || unit->abbr == "em") && old_unit == SP_CSS_UNIT_EX) {
+    if        ((unit->abbr == "" || unit->abbr == "em") &&
+               (old_unit == SP_CSS_UNIT_NONE || old_unit == SP_CSS_UNIT_EM)) {
+        // Do nothing
+    } else if ((unit->abbr == "" || unit->abbr == "em") && old_unit == SP_CSS_UNIT_EX) {
         line_height *= 0.5;
     } else if ((unit->abbr) == "ex" && (old_unit == SP_CSS_UNIT_EM || old_unit == SP_CSS_UNIT_NONE) ) {
         line_height *= 2.0;
diff -Nru inkscape-0.92.1~pre1/src/widgets/toolbox.cpp inkscape-0.92.1~pre2/src/widgets/toolbox.cpp
--- inkscape-0.92.1~pre1/src/widgets/toolbox.cpp	2017-02-04 00:47:22.000000000 +0100
+++ inkscape-0.92.1~pre2/src/widgets/toolbox.cpp	2017-02-08 08:49:15.000000000 +0100
@@ -210,6 +210,7 @@
       SP_VERB_CONTEXT_ERASER_PREFS, "/tools/eraser", _("TBD")},
     { "/tools/lpetool", "lpetool_toolbox", 0, sp_lpetool_toolbox_prep, "LPEToolToolbar",
       SP_VERB_CONTEXT_LPETOOL_PREFS, "/tools/lpetool", _("TBD")},
+    // If you change TextToolbar here, change it also in desktop-widget.cpp
     { "/tools/text",   "text_toolbox",   0, sp_text_toolbox_prep, "TextToolbar",
       SP_VERB_INVALID, 0, 0},
     { "/tools/dropper", "dropper_toolbox", 0, sp_dropper_toolbox_prep,         "DropperToolbar",
@@ -1449,10 +1450,11 @@
 
 #if GTK_CHECK_VERSION(3,0,0)
             GtkWidget* holder = gtk_grid_new();
-            gtk_widget_set_name( holder, "ToolbarHolder" );
+            gtk_widget_set_name( holder, aux_toolboxes[i].ui_name );
             gtk_grid_attach( GTK_GRID(holder), kludge, 2, 0, 1, 1);
 #else
             GtkWidget* holder = gtk_table_new( 1, 3, FALSE );
+            gtk_widget_set_name( holder, aux_toolboxes[i].ui_name );
             gtk_table_attach( GTK_TABLE(holder), kludge, 2, 3, 0, 1, GTK_SHRINK, GTK_SHRINK, 0, 0 );
 #endif
 

Attachment: 0.92.1pre2-filtered.diff.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature


Reply to: