summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2016-09-30 03:08:37 +0000
committerMartin Owens <doctormo@gmail.com>2016-09-30 03:08:37 +0000
commite458092523bd1e5d77aa8a6675f17b6b0cfe1114 (patch)
tree915d0361a894c19b12389d81ebb5e3debc17e1c7 /src/libnrtype
parentfix tabs in src/main-cmdlineact (diff)
downloadinkscape-e458092523bd1e5d77aa8a6675f17b6b0cfe1114.tar.gz
inkscape-e458092523bd1e5d77aa8a6675f17b6b0cfe1114.zip
Remove the reset on the glyph tangent, it breaks text on path (bug lp:1627523)
Fixed bugs: - https://launchpad.net/bugs/1627523 (bzr r15139)
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/Layout-TNG-Output.cpp2
1 files changed, 0 insertions, 2 deletions
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);