diff options
author | Andrey Grozin <grozin@gentoo.org> | 2018-08-08 20:29:48 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2018-08-08 20:30:39 +0700 |
commit | 23338ceb286e450b51cec8bdcf754d4c7dfca084 (patch) | |
tree | 9e73a8b5be13e3b653317a70381499ac3c701798 /sci-visualization/veusz/files | |
parent | dev-lang/rust-bin: add arm64 support (diff) | |
download | gentoo-23338ceb286e450b51cec8bdcf754d4c7dfca084.tar.gz gentoo-23338ceb286e450b51cec8bdcf754d4c7dfca084.tar.bz2 gentoo-23338ceb286e450b51cec8bdcf754d4c7dfca084.zip |
sci-visualization/veusz: bump to 3.0.1
An upstream patch to improve smoothness of Bezier splines added
Suggested-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'sci-visualization/veusz/files')
-rw-r--r-- | sci-visualization/veusz/files/fix_spline.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-visualization/veusz/files/fix_spline.patch b/sci-visualization/veusz/files/fix_spline.patch new file mode 100644 index 000000000000..a7d6bd85c48b --- /dev/null +++ b/sci-visualization/veusz/files/fix_spline.patch @@ -0,0 +1,16 @@ +# Upstream patch that fixes spline interpolation: +# https://github.com/veusz/veusz/commit/b4223800744034880fd1ca1165853636b31e576c +diff -Naur old/veusz/helpers/src/qtloops/beziers.cpp new/veusz/helpers/src/qtloops/beziers.cpp +--- old/veusz/helpers/src/qtloops/beziers.cpp 2017-09-23 11:10:46.000000000 +0300 ++++ new/veusz/helpers/src/qtloops/beziers.cpp 2018-08-04 21:27:01.000000000 +0300 +@@ -1013,8 +1013,8 @@ + return 0; + } + +- // factor of 0.1 introduced by JSS to stop more hooks +- double const allowed = L2(b - a)*0.1 + tolerance; ++ // factor of 0.2 introduced by JSS to stop more hooks ++ double const allowed = L2(b - a)*0.2 + tolerance; + return dist / allowed; + /** \todo + * effic: Hooks are very rare. We could start by comparing |