Search found 6 matches

by schmoove
2016-02-15T12:21:26-07:00
Forum: IMagick
Topic: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10
Replies: 10
Views: 22404

Re: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10

No luck with Freetype 2.6.3 from source, I am still seeing the faulty results: $ convert -debug annotate -pointsize 72 -font ./RNS.ttf label:g null: 2016-02-15T20:14:49+01:00 0:00.010 0.000u 6.9.3 Annotate convert[3870]: annotate.c/RenderFreetype/1421/Annotate Font ./RNS.ttf; font-encoding none; tex...
by schmoove
2016-02-12T05:13:31-07:00
Forum: IMagick
Topic: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10
Replies: 10
Views: 22404

Re: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10

Thanks for your help so far @magick. I'll be back soon with results regarding Freetype 2.6+
by schmoove
2016-02-12T02:35:49-07:00
Forum: IMagick
Topic: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10
Replies: 10
Views: 22404

Re: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10

Just one more thought, I would actually prefer rendering fonts via pangocairo for its better OpenType support, I haven't taken the time yet to figure out how to make the switch though. That might even be a good way to check if freetype might be the culprit. If this switch would actually happen to so...
by schmoove
2016-02-12T02:20:25-07:00
Forum: IMagick
Topic: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10
Replies: 10
Views: 22404

Re: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10

Still the same faulty results: $ convert -debug annotate -pointsize 72 -font ./RNS.ttf label:g null: 2016-02-12T10:09:01+01:00 0:00.000 0.000u 6.9.3 Annotate lt-convert[7535]: annotate.c/RenderFreetype/1420/Annotate Font ./RNS.ttf; font-encoding none; text-encoding none; pointsize 72 2016-02-12T10:0...
by schmoove
2016-02-11T14:49:32-07:00
Forum: IMagick
Topic: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10
Replies: 10
Views: 22404

Re: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10

Still no luck. I just installed ImageMagick-6.9.3-3 from source on Ubuntu 15.10, recompiled PECL imagick-3.3.0 and I am getting the same bogus results for RNS.ttf, querying metrics for the letter 'g': <?php $image = new Imagick(); $fontDraw = new ImagickDraw(); $fontDraw->setFont('./RNS.ttf'); $font...
by schmoove
2016-02-11T07:02:35-07:00
Forum: IMagick
Topic: Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10
Replies: 10
Views: 22404

Imagick::queryFontMetrics faulty textWidth | Integer overflow | Debian 8 (Jessie) | Ubuntu 15.10

Hello, I am migrating from Debian 7 to Debian 8 and Imagick::queryFontMetrics is sometimes returning faulty calculations for the textWidth and the boundingBox[x1] of individual characters, likely due to an integer overflow. My setup in Debian 7 is working just fine, my Debian 8 and Ubuntu 15.10 setu...