From e458092523bd1e5d77aa8a6675f17b6b0cfe1114 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Thu, 29 Sep 2016 23:08:37 -0400 Subject: Remove the reset on the glyph tangent, it breaks text on path (bug lp:1627523) Fixed bugs: - https://launchpad.net/bugs/1627523 (bzr r15139) --- src/libnrtype/Layout-TNG-Output.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index 526319f35..df7adf5b4 100644 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -742,8 +742,6 @@ void Layout::fitToPathAlign(SVGLength const &startOffset, Path const &path) if (endpoint != startpoint) { tangent = endpoint - startpoint; tangent.normalize(); - } else { - tangent = Geom::Point (0,0); } } g_free(end_otp); -- cgit v1.2.3