25 Aug 2016 01:26:48 UTC
- Distribution: Font-TTF
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- Testers (8962 / 12 / 0)
- KwaliteeBus factor: 0
- 37.68% Coverage
- License: artistic_2
- Activity24 month
- Download (250.05KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:2 non-PAUSE usersBHALLISSY Bob Hallissyand 1 contributors
- INSTANCE VARIABLES
Font::TTF::GrFeat - Graphite Font Features
An array of hashes of the following form
feature id number
name index in name table
the default setting number
hash of setting number against name string index
Reads the features from the TTF file into memory
Writes the features to a TTF file
Returns the minimum size this table can be. If it is smaller than this, then the table must be bad and should be deleted or whatever.
Prints a human-readable representation of the table
Convert an alphanumeric feature id tag (string) to a number (32-bit). Tags are normally 4 chars. Graphite ignores space padding if it is present, so we do the same here.
Convert a feature id number (32-bit) back to a tag (string). Trailing space or null padding is removed. Feature id numbers that do not represent alphanumeric tags are returned unchanged.
The version 1 Feat table ends with a feature (id 1) named NoName with zero settings but with an offset to the last entry in the setting array. This last setting has id 0 and an invalid name id. This last feature is changed to have one setting.
Alan Ward (derived from Jonathan Kew's Feat.pm).
Copyright (c) 1998-2016, SIL International (http://www.sil.org)
This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.