Font::Scripts::AP
Details
| Size: | 100K |
| Last Update: | 2008-06-11 09:44:34 |
| Version: | 0.5 |
| OS Support: | Linux |
| License/Program Type: | Perl Artistic License |
| Publisher: | Font::Scripts::AP Team |
| Price: | $0.00 |
Description:
Font::Scripts::AP 0.5 is libraries software developed by Font::Scripts::AP Team.
Font::Scripts::AP is a Perl module for memory representation of a TTFBuilder Attachment Point database (APDB).
SYNOPSIS
use Font::Scripts::AP;
$ap = Font::Scripts::AP->read_font($ttf_file, $ap_file, %opts);
$ap->make_classes();
INSTANCE VARIABLES
cmap
Reference to the Microsoft cmap within the font.
font
Reference to a font structure. read_font will cause at least the post, cmap, loca, and name tables to be read in.
glyphs
An array of references to glyph data structures, indexed by glyphID. Stucture elements are:
uni
Unicode scalar value, if any, as specified in the APDB. (decimal integer)
gnum
Actual glyph ID from font.
post
Actual Postscript name from font.
Note: The uni, gnum and post values are based on the UID, GID, and PSName fields of the APDB. If there are descrepancies between the APDB and the font's internal tables, then for calcuating the above three values, priority is given first to UID field, then PSName field, and finally GID.
glyph
Reference to glyph structure read from font.
line
Line number in APDB where glyph is defined.
points
A hash of references to attachment point structures for this glyph, keyed by attachment point type (aka name). Each AP structure contains
name
The name (type in TTFBuilder terminology) of the attachment point
x, y
X and Y coordinates for the attachment point
line
Line number in APDB where this point is defined.
components
Present if the glyph is a composite. Is a reference to an array of component structures. Each component structure includes:
bbox
comma separated list of bounding box coordinates, i.e., x1, y1, x2, y2
uni
Unicode scalar value, if any, of the component. (decimal integer)
Note: The following instance variables contain the actual text read from the APDB. If there are descrepancies between the APDB and the font, these values may differ from corresponding values given above. Therefore these values should not be used except for diagnostic purposes.
UID
Unicode scalar value, if any, as specified in the APDB. (string of hex digits)
PSName
Postscript name, if any, as specified in the APDB
GID
Glyph id, if any, as specified in the APDB
classes
Created by "make_classes", this is a hash keyed by class name returning an array of GIDs for glyphs that are in the class. Classes are identified by extensions (part after a '.') on the post name of each glyph. For each such extension, two classes are defined. The first is the class of all glyphs that have that extension (class name is the extension). The second is the class of nominal glyphs corresponding to the glyphs with that extension (class name is the extension but with the prefix 'no_').
lists
Created by "make_classes", this is a hash keyed by attachment point name (as modified by "make_point") returning an array of GIDs for glyphs that have the given attachment point.
vecs
If defined, this variable will be updated by "make_classes". It is a hash, keyed by attachment point name (as modified by "make_point") returning a bit vec bit array, indexed by GID, each bit set to 1 if the corresponding glyph has the given attachment point.
ligclasses
Optionally created by make_classes if ligatures are requested and they exist. The base forms class is no_code while the ligatures are held in code.
WARNINGS
If -errorfh not set, this accumulates any warning or error messages encountered.
WARNINGS
Count of number fo warnings or errors encountered.
Requirements:
Perl
Font::Scripts::AP 0.5 supports different languages (including english). It works with Linux.
Downloading Font::Scripts::AP 0.5 will take several seconds if you use fast ADSL connection.
0 comments
Add to
Font::Scripts::AP Version History
Related Software
|
|
From category: Libraries |
| CentralNic Unicode Library 0.0.1 is libraries software developed by Gavin Brown. The CentralNic Unicode Library provides some PHP classes for maniuplating Unicode data. These classes are general pu... |
|
|
From category: Perl-Modules |
| SWISH::API::Common - SWISH Document Indexing Made Easy.... |
|
|
From category: Compilers |
| Shed Skin is an experimental Python-to-C++ compiler.... |
|
|
From category: Libraries |
| DBIx::Migration::Directories 0.05 is libraries software developed by Tyler MacDonald. DBIx::Migration::Directories is a Perl module to install/remove/upgrade/downgrade SQL schemas. SYNOPSIS\... |
|
|
From category: Libraries |
| ExtUtils::ModuleMaker::PBP 0.09 is libraries software developed by James E Keenan. ExtUtils::ModuleMaker::PBP is a Perl module to create a Perl extension in the style of Damian Conway&039;s Perl B... |
|
|
From category: Quality-Assurance-and-Testing |
| qaManager is a web based application used for keeping track of Engineering and Customer releases of Software Projects.... |
|
|
From category: Libraries |
| libmemcached is a C client library to the memcached server.... |
|
|
From category: Assembler-Tools |
| Fiona is a tool to automatically analyze the interactional behavior of a given oWFN.... |
|
|
From category: Libraries |
| EL4J 1.1.0 is libraries software developed by EL4J Team. EL4J, the Extension Library for the J2EE, adds incremental improvements to the Spring Java framework. Here are some key features of \... |
|
|
From category: Libraries |
| Bundle::DBI 1.52 is libraries software developed by Jonathan Leffler, Jochen Wiedmann and Tim Bunce. Bundle::DBI is a bundle to install DBI and required modules. SYNOPSIS perl -MCPA... |
|
|
From category: Quality-Assurance-and-Testing |
| FireAnt 1.0 is quality assurance and testing software developed by Jules White. FireAnt is an Eclipse plugin for modeling complex remote deployment and configuration processes for EJBs. It a... |
|
|
From category: Debuggers |
| Cleaner 0.1 is debuggers software developed by Jon Rafkind. Cleaner is a Java beautifier that transforms ugly syntax into beautiful syntax. The Java code syntax is parsed using ANTLR and then print... |
|
|
From category: Libraries |
| JPerf is a Java library, a perfect hash function generator.... |
|
|
From category: Compilers |
| DParser 1.15 is compilers software developed by John Plevyak. DParser project is an simple but powerful tool for parsing. You can specify the form of the text to be parsed using a combination of re... |
|
|
From category: Libraries |
| bb_mug 1.5 is libraries software developed by S. Franke. bb_mug is a simple, tiny, and fast Java class obfuscator. Where applicable, it replaces class, method, and field names with shorter names.... |
Leave a comment