Skip Menu |

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

Report information
The Basics
Id: 46686
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 'l' documentation is mildly confusing
Date: Fri, 05 Jun 2009 10:41:30 +0100
To: bug-Font-TTF [...] rt.cpan.org
From: Philip Taylor <pjt47 [...] cam.ac.uk>
http://search.cpan.org/~mhosken/Font-TTF-0.45/lib/Font/TTF/GPOS.pm says: "l: The action array contains a list of lookups and offsets to run, in order, on the matched string" That made me think it was a list of (lookup, offset) pairs, but actually it's a list (offset, lookup) pairs instead, which caused me confusion for a while. So it might be nice if the documentation instead said something more like: "l: The action array contains a list of offsets and lookups to run, in order, on the matched string" so that it's clearer that offsets come first. -- Philip Taylor pjt47@cam.ac.uk
On Fri Jun 05 05:41:57 2009, pjt47@cam.ac.uk wrote: Show quoted text
> http://search.cpan.org/~mhosken/Font-TTF-0.45/lib/Font/TTF/GPOS.pm says: > > "l: The action array contains a list of lookups and offsets to run, > in order, on the matched string" > > That made me think it was a list of (lookup, offset) pairs, but actually > it's a list (offset, lookup) pairs instead, which caused me confusion > for a while. So it might be nice if the documentation instead said > something more like: > > "l: The action array contains a list of offsets and lookups to run, > in order, on the matched string" > > so that it's clearer that offsets come first. >