Skip Menu |

This queue is for tickets about the Font-TTF CPAN distribution.

Report information
The Basics
Id: 42727
Status: resolved
Priority: 0/
Queue: Font-TTF

People
Owner: Nobody in particular
Requestors: pjt47 [...] cam.ac.uk
Cc:
AdminCc:

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



Subject: GSUB ADJUST is parsed as unsigned integer
Date: Fri, 23 Jan 2009 16:39:53 +0000
To: bug-Font-TTF [...] rt.cpan.org
From: Philip Taylor <pjt47 [...] cam.ac.uk>
In GSUB tables for lookup type 1, the ADJUST value corresponds to "int16 DeltaGlyphID". But it's parsed as an unsigned integer (type 'S'), so it will have a value like 65535 instead of -1, which means it will break when added to the input glyph index. So it should be read as a signed integer instead. -- Philip Taylor pjt47@cam.ac.uk
Subject: Re: [rt.cpan.org #42727] GSUB ADJUST is parsed as unsigned integer
Date: Mon, 26 Jan 2009 16:15:04 +0700
To: bug-Font-TTF [...] rt.cpan.org
From: Martin Hosken <martin_hosken [...] sil.org>
Fixed in 0.46
Subject: Re: [rt.cpan.org #42727] GSUB ADJUST is parsed as unsigned integer
Date: Mon, 26 Jan 2009 09:57:28 +0000
To: bug-Font-TTF [...] rt.cpan.org
From: Philip Taylor <pjt47 [...] cam.ac.uk>
martin_hosken@sil.org via RT wrote: Show quoted text
Thanks! But... + $count -= 32768 if ($count > 32767); I think that should instead be: + $count -= 65536 if ($count > 32767); -- Philip Taylor pjt47@cam.ac.uk
On Mon Jan 26 05:35:02 2009, pjt47@cam.ac.uk wrote: Show quoted text
> martin_hosken@sil.org via RT wrote:
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=42727 > > > > > Fixed in 0.46
> > Thanks! But... > > + $count -= 32768 if ($count > 32767); > > I think that should instead be: > > + $count -= 65536 if ($count > 32767); >