Fri Jan 23 12:41:41 2009pjt47 [...] cam.ac.uk - Ticket created
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
Mon Jan 26 04:15:51 2009martin_hosken [...] sil.org - Correspondence added
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
Mon Jan 26 04:15:51 2009The RT System itself - Status changed from 'new' to 'open'
Mon Jan 26 05:35:02 2009pjt47 [...] cam.ac.uk - Correspondence added
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
Tue Jan 07 20:38:02 2014MHOSKEN [...] cpan.org - Correspondence added
On Mon Jan 26 05:35:02 2009, pjt47@cam.ac.uk wrote:
Show quoted text