On 07.05.2016 18:00, Bastien ROUCARIES wrote: > What is your arch ? $ uname -a Linux ***** 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
On 07.05.2016 18:00, Bastien ROUCARIES wrote: > On Mon, Feb 15, 2016 at 8:48 PM, Maximilian Bloch > <maximilian.bl...@gmail.com> wrote: >> Package: imagemagick >> Severity: normal > > What is your arch ? >> >> Dear Maintainer, >> >> I seem to have stumbled across an integer overflow issue with imagemagick, >> pertaining to calculated font metrics (width/bounds) for many fonts >> depending on pointsize. A more detailed bug report of mine can be found in >> the ImageMagick Forum: >> >> https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=29135 >> >> >> * What led up to the situation? >> >> $ convert -debug annotate -pointsize 72 -font ./RNS.ttf label:g null: >> >> NOTE RNS.ttf was taken from http://www.1001fonts.com/rns-font.html >> >> >> * What was the outcome of this action? >> >> 2016-02-15T20:29:34+01:00 0:00.010 0.000u 6.9.3 Annotate convert[3989]: >> annotate.c/RenderFreetype/1421/Annotate >> Font ./RNS.ttf; font-encoding none; text-encoding none; pointsize 72 >> 2016-02-15T20:29:34+01:00 0:00.010 0.000u 6.9.3 Annotate convert[3989]: >> annotate.c/GetTypeMetrics/843/Annotate >> Metrics: text: g; width: 3.35545e+07; height: 103; ascent: 70; descent: >> -31; max advance: 61; bounds: -3.35544e+07,-0.09375 35,55.1719; origin: >> 36,0; pixels per em: 72,72; underline position: -1.5625; underline >> thickness: 0.78125 >> >> >> * What outcome did you expect instead? >> >> 2016-02-12T06:56:07-05:00 0:00.110 0.010u 7.0.0 Annotate convert[22115]: >> annotate.c/RenderFreetype/1442/Annotate >> Font ./RNS.ttf; font-encoding none; text-encoding none; pointsize 72 >> 2016-02-12T06:56:07-05:00 0:00.110 0.010u 7.0.0 Annotate convert[22115]: >> annotate.c/GetTypeMetrics/860/Annotate >> Metrics: text: g; width: 38.5625; height: 103; ascent: 70; descent: -31; >> max advance: 61; bounds: 0.4375,-0.09375 35,55.1719; origin: 36.2812,0; >> pixels per em: 72,72; underline position: -1.5625; underline thickness: >> 0.78125 >> >> Any help would be much appreciated. >> >> Thanks, >> Max >> >> -- System Information: >> Debian Release: 8.3 >> APT prefers stable-updates >> APT policy: (500, 'stable-updates'), (500, 'stable') >> Architecture: amd64 (x86_64) >> >> Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) >> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) >> Shell: /bin/sh linked to /bin/dash >> Init: systemd (via /run/systemd/system) >>