]> granicus.if.org Git - imagemagick/commitdiff
Annotate with negative offsets no longer renders slanted text
authorCristy <urban-warrior@imagemagick.org>
Sat, 12 Jan 2019 12:46:12 +0000 (07:46 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 12 Jan 2019 12:46:12 +0000 (07:46 -0500)
ChangeLog
MagickCore/geometry.c

index f4c9d5f1e1a13f66442e2c6328ffbac4c40e6911..58a6b3f7f5118f6f2a2233c6526f9e29bec1fa2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 2019-01-08  7.0.8-24 Cristy  <quetzlzacatenango@image...>
   * Support -clahe option real clip limit (reference
     https://imagemagick.org/discourse-server/viewtopic.php?f=2&t=35292).
+  * Edge kernels can return negative pixels, clamp to range (reference
+    https://github.com/ImageMagick/ImageMagick/issues/1319).
+  * Annotate with negative offsets no longer renders slanted text.
 
 2019-01-01  7.0.8-23 Cristy  <quetzlzacatenango@image...>
   * Release ImageMagick version 7.0.8-23, GIT revision 15199:ba07f7d07:20190101
index a32600d148af239e80e7f2e6a5f70d3f86d7ff53..d67b1b5031ae9882292bb00b6fd648a1062cbb87 100644 (file)
@@ -1131,8 +1131,8 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
       if (((flags & XiValue) != 0) && (geometry_info->xi == 0.0))
         geometry_info->sigma=2.0;
     }
-  if (((flags & SigmaValue) == 0) && ((flags & XiValue) != 0) &&
-      ((flags & XiNegative) != 0))
+  if (((flags & RhoValue) != 0) && ((flags & SigmaValue) == 0) && 
+      ((flags & XiValue) != 0) && ((flags & XiNegative) != 0))
     {
       if ((flags & PsiValue) == 0)
         {