Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Dec 13, 2018
1 parent ae75b7d commit dbee4e5
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions MagickCore/enhance.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,10 +665,10 @@ MagickExport MagickBooleanType CLAHEImage(Image *image,const size_t tile_width,
if (image->debug != MagickFalse)
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
status=MagickTrue;
tile.x=(ssize_t) (PerceptibleReciprocal(tile_width)*image->columns);
tile.y=(ssize_t) (PerceptibleReciprocal(tile_height)*image->rows);
tile.x=(ssize_t) (image->columns/(tile_width == 0 ? 1 : tile_width));
tile.x=(ssize_t) (tile.x < 2 ? 2 : tile.x >= MaxCLAHETiles ? MaxCLAHETiles-1 :
tile.x);
tile.y=(ssize_t) (image->rows/(tile_height == 0 ? 1 : tile_height));
tile.y=(ssize_t) (tile.y < 2 ? 2 : tile.y >= MaxCLAHETiles ? MaxCLAHETiles-1 :
tile.y);
width=((image->columns+tile.x-1)/tile.x)*tile.x;
Expand Down
6 changes: 3 additions & 3 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ AC_CONFIG_COMMANDS_PRE(
Usually this means the macro was only invoked conditionally.]])
fi])])

# Copyright (C) 1999-2019 Free Software Foundation, Inc.
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
Expand Down Expand Up @@ -392,7 +392,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl

# Generate code to set up dependency tracking. -*- Autoconf -*-

# Copyright (C) 1999-2019 Free Software Foundation, Inc.
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
Expand Down Expand Up @@ -867,7 +867,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])

# Copyright (C) 1999-2019 Free Software Foundation, Inc.
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
Expand Down
2 changes: 2 additions & 0 deletions coders/tga.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,8 @@ static MagickBooleanType WriteTGAImage(const ImageInfo *image_info,Image *image,
if (origin == TopLeftOrientation || origin == TopRightOrientation)
tga_info.attributes|=(1UL << 5);
}
if ((image->columns > 65535) || (image->rows > 65535))
ThrowWriterException(ImageError,"WidthOrHeightExceedsLimit");
/*
Write TGA header.
*/
Expand Down
2 changes: 1 addition & 1 deletion config/compile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

scriptversion=2018-03-07.03; # UTC

# Copyright (C) 1999-2019 Free Software Foundation, Inc.
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion config/depcomp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

scriptversion=2018-03-07.03; # UTC

# Copyright (C) 1999-2019 Free Software Foundation, Inc.
# Copyright (C) 1999-2018 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4570,7 +4570,7 @@ MAGICK_PATCHLEVEL_VERSION=17

MAGICK_VERSION=7.0.8-17

MAGICK_GIT_REVISION=15110:d52f307da:20181210
MAGICK_GIT_REVISION=15114:ae75b7d45:20181212


# Substitute library versioning
Expand Down Expand Up @@ -35888,7 +35888,7 @@ windows_font_dir=''
if test "${with_windows_font_dir}" != 'default'; then
windows_font_dir="${with_windows_font_dir}/"
else
for font_dir in '/usr/X11R6/lib/X11/fonts/truetype/' '/usr/X11R7/lib/X11/fonts/truetype/' '/usr/share/fonts/msttcore/'; do
for font_dir in '/usr/X11R6/lib/X11/fonts/truetype/' '/usr/X11R7/lib/X11/fonts/truetype/' '/usr/share/fonts/msttcore/' '/usr/share/fonts/microsoft/'; do
if test -f "${font_dir}arial.ttf"; then
windows_font_dir="${font_dir}"
break 1
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3388,7 +3388,7 @@ windows_font_dir=''
if test "${with_windows_font_dir}" != 'default'; then
windows_font_dir="${with_windows_font_dir}/"
else
for font_dir in '/usr/X11R6/lib/X11/fonts/truetype/' '/usr/X11R7/lib/X11/fonts/truetype/' '/usr/share/fonts/msttcore/'; do
for font_dir in '/usr/X11R6/lib/X11/fonts/truetype/' '/usr/X11R7/lib/X11/fonts/truetype/' '/usr/share/fonts/msttcore/' '/usr/share/fonts/microsoft/'; do
if test -f "${font_dir}arial.ttf"; then
windows_font_dir="${font_dir}"
break 1
Expand Down

0 comments on commit dbee4e5

Please sign in to comment.