Skip Menu |

This queue is for tickets about the Graphics-Framebuffer CPAN distribution.

Report information
The Basics
Id: 115521
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Graphics-Framebuffer

People
Owner: RKELSCH [...] cpan.org
Requestors: snowrodeo [...] gmail.com
Cc:
AdminCc:

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



Subject: Bug with ttf_print?
Date: Tue, 21 Jun 2016 14:13:29 -0700
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Erik Olson <snowrodeo [...] gmail.com>
Hi, ttf_print seem to always print with the baseline of "y" + abs(global_descent of the font family) instead of y + abs(the actual decent of the given string). Please see the picture for a good description. I have attached a simple script, a dump file and the outputs of the script. Please let me know if I am doing something wrong. Thanks for any help, -Erik

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

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

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

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

Subject: Re: [rt.cpan.org #115521] Bug with ttf_print?
Date: Wed, 22 Jun 2016 07:15:52 -0600
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Richard Kelsch <rich [...] rk-internet.com>
Yeah, truetype alignment is a royal pain in the keister. I'll experiment with your code and see what tweaks I can make. Thanks for the thorough notification. It is appreciated. On 6/21/2016 3:13 PM, Erik Olson via RT wrote: Show quoted text
> Tue Jun 21 17:13:50 2016: Request 115521 was acted upon. > Transaction: Ticket created by snowrodeo@gmail.com > Queue: Graphics-Framebuffer > Subject: Bug with ttf_print? > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: snowrodeo@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=115521 > > > > Hi, > > ttf_print seem to always print with the baseline of "y" + > abs(global_descent of the font family) instead of y + abs(the actual decent > of the given string). > > Please see the picture for a good description. I have attached a simple > script, a dump file and the outputs of the script. > > Please let me know if I am doing something wrong. > > Thanks for any help, > > -Erik >
Subject: Re: [rt.cpan.org #115521] Bug with ttf_print?
Date: Wed, 22 Jun 2016 09:15:38 -0700
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Erik Olson <snowrodeo [...] gmail.com>
Hi Richard, Thanks for the response. If there is another font that would align better I would be fine using that. I would welcome any suggestions. -Erik On Wed, Jun 22, 2016 at 6:16 AM, Richard Kelsch via RT < bug-Graphics-Framebuffer@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=115521 > > > Yeah, truetype alignment is a royal pain in the keister. I'll > experiment with your code and see what tweaks I can make. Thanks for > the thorough notification. It is appreciated. > > > On 6/21/2016 3:13 PM, Erik Olson via RT wrote:
> > Tue Jun 21 17:13:50 2016: Request 115521 was acted upon. > > Transaction: Ticket created by snowrodeo@gmail.com > > Queue: Graphics-Framebuffer > > Subject: Bug with ttf_print? > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: snowrodeo@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=115521 > > > > > > > Hi, > > > > ttf_print seem to always print with the baseline of "y" + > > abs(global_descent of the font family) instead of y + abs(the actual
> decent
> > of the given string). > > > > Please see the picture for a good description. I have attached a simple > > script, a dump file and the outputs of the script. > > > > Please let me know if I am doing something wrong. > > > > Thanks for any help, > > > > -Erik > >
> > >
All fixed.  Version 5.84 will have the correct code.  It's been submitted to Pause for indexing.

On Tue Jun 21 15:13:50 2016, snowrodeo@gmail.com wrote:
Show quoted text
> Hi,
>
> ttf_print seem to always print with the baseline of "y" +
> abs(global_descent of the font family) instead of y + abs(the actual decent
> of the given string).
>
> Please see the picture for a good description. I have attached a simple
> script, a dump file and the outputs of the script.
>
> Please let me know if I am doing something wrong.
>
> Thanks for any help,
>
> -Erik


Subject: Re: [rt.cpan.org #115521] Bug with ttf_print?
Date: Sat, 25 Jun 2016 13:08:18 -0700
To: bug-Graphics-Framebuffer [...] rt.cpan.org
From: Erik Olson <snowrodeo [...] gmail.com>
Tested it today and it works as expected! Thanks!! On Wed, Jun 22, 2016 at 8:40 PM, Richard Kelsch via RT < bug-Graphics-Framebuffer@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=115521 > > > All fixed. Version 5.84 will have the correct code. It's been submitted to > Pause for indexing. > > On Tue Jun 21 15:13:50 2016, snowrodeo@gmail.com wrote:
> > Hi, > > > > ttf_print seem to always print with the baseline of "y" + > > abs(global_descent of the font family) instead of y + abs(the actual
> decent
> > of the given string). > > > > Please see the picture for a good description. I have attached a simple > > script, a dump file and the outputs of the script. > > > > Please let me know if I am doing something wrong. > > > > Thanks for any help, > > > > -Erik
> >