Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 88993
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: Nobody in particular
Requestors: swooster [...] submitnet.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Text cutoff when anti-aliasing is off (Imager v0.97)
Date: Thu, 26 Sep 2013 17:40:19 -0700
To: bug-Imager [...] rt.cpan.org
From: Steve Wooster <swooster [...] submitnet.net>
Hi, I've stumbled across a bug in Imager where text gets cut off if it's drawn without anti-aliasing. Attached is a minimal script to reproduce the bug, along with the font it references and examples of what it generates for me. The bug first shows up in Imager version 0.97. It doesn't happen with 0.96, 0.95 or 0.94. My version of perl is v5.14.2 built for amd64-freebsd. The results of "uname -a" are: FreeBSD swooster-seo.submitnet.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Thank you for your work on Imager! -Steve Wooster

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Download bogstandard.ttf
application/x-font-ttf 47.7k

Message body not shown because it is not plain text.

Message body is not shown because sender requested not to inline it.

On Thu Sep 26 20:40:42 2013, swooster@submitnet.net wrote: Show quoted text
> Hi, I've stumbled across a bug in Imager where text gets cut off if it's > drawn without anti-aliasing. Attached is a minimal script to reproduce > the bug, along with the font it references and examples of what it > generates for me. > > The bug first shows up in Imager version 0.97. It doesn't happen with > 0.96, 0.95 or 0.94. > > My version of perl is v5.14.2 built for amd64-freebsd. > > The results of "uname -a" are: > FreeBSD swooster-seo.submitnet.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 > r243825: Tue Dec 4 09:23:10 UTC 2012 > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > Thank you for your work on Imager!
As a workaround, assuming you have Freetype 2 installed, try supplying type => "ft2" when creating the font. This looks like a bug in my FT1 driver. Tony
On Thu Sep 26 20:40:42 2013, swooster@submitnet.net wrote: Show quoted text
> Hi, I've stumbled across a bug in Imager where text gets cut off if it's > drawn without anti-aliasing. Attached is a minimal script to reproduce > the bug, along with the font it references and examples of what it > generates for me. > > The bug first shows up in Imager version 0.97. It doesn't happen with > 0.96, 0.95 or 0.94. > > My version of perl is v5.14.2 built for amd64-freebsd. > > The results of "uname -a" are: > FreeBSD swooster-seo.submitnet.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 > r243825: Tue Dec 4 09:23:10 UTC 2012 > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > Thank you for your work on Imager!
Thanks, this is fixed in Imager 0.98. Tony