Font::TTF::Scripts::AP
Details
| Size: | 108K |
| Last Update: | 2008-06-11 09:44:34 |
| Version: | 0.7 |
| OS Support: | Linux |
| License/Program Type: | Perl Artistic License |
| Publisher: | Font::TTF::Scripts::AP Team |
| Price: | $0.00 |
Description:
Font::TTF::Scripts::AP 0.7 is libraries software developed by Font::TTF::Scripts::AP Team.
Font::TTF::Scripts::AP is a memory representation of a TTFBuilder Attachment Point database (APDB).
SYNOPSIS
use Font::TTF::Scripts::AP;
$ap = Font::TTF::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.
Requirements:
Perl
Font::TTF::Scripts::AP 0.7 supports different languages (including english). It works with Linux.
Downloading Font::TTF::Scripts::AP 0.7 will take several seconds if you use fast ADSL connection.
0 comments
Add to
Font::TTF::Scripts::AP Version History
Related Software
|
|
From category: Libraries |
| Apache::MP3::Playlist 4.00 is libraries software developed by Lincoln Stein. Apache::MP3::Playlist can manage directories of MP3 files with sorting and persistent playlists. SYNOPSIS... |
|
|
From category: UI-User-Interfaces |
| DrPython 3.9.5 is ui (user interfaces) software developed by Dan. DrPython is a highly customizable, simple, and clean editing environment for developing Python programs. It is intended primarily f... |
|
|
From category: Internationalization |
| cstrings 2.3.1 is internationalization software developed by Eric S. Raymond. A lightweight internationalization tool for C code, for those who find gettext too bulky and intrusive. Extracts string... |
|
|
From category: Libraries |
| Card Terminal Driver Library 20011112 is libraries software developed by Patrick Finnegan and Nolan Eakins. Card Terminal Driver Library aims to add support for smart card and magnetic stripe card... |
|
|
From category: Libraries |
| AnyEvent 2.0 is libraries software developed by Marc A. Lehmann. AnyEvent provides an identical interface to multiple event loops. AnyEvent library allows module authors to utilize an event loop wi... |
|
|
From category: Libraries |
| glibmm is a GNOME library.... |
|
|
From category: Libraries |
| Escher 0.2.3 is libraries software developed by Stephen Tse. Escher is a Java X11 library. Escher is a collection of libraries for X Window System written purely in Java. It consists... |
|
|
From category: Assembler-Tools |
| ORBit2 is a CORBA 2.4-compliant Object Request Broker (ORB).... |
|
|
From category: Debuggers |
| Extended Python Debugger 1.20 is debuggers software developed by R. Bernstein. Extended Python Debugger is a complete debugger for Python than the stock pdb.py debugger. It supports a \"rest... |
|
|
From category: Libraries |
| Acme::MetaSyntactic 0.90 is libraries software developed by Philippe Bruhat. Acme::MetaSyntactic is Perl module themed metasyntactic variables. When writing code examples, it\'s always easy... |
|
|
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: Code-Generators |
| Felix Programming Language 1.1.1 is code generators software developed by skaller. Felix is an advanced Algol like procedural programming language with a strong functional subsystem. It features ML... |
|
|
From category: Perl-Modules |
| autobox::Core contains built-in functions exposed as methods in primitive types.... |
|
|
From category: Libraries |
| Divmod Nevow 0.8.0 is libraries software developed by Divmod, Inc.. Nevow is a next-generation web application templating system, based on the ideas developed in the Twisted Woven package. D... |
|
|
From category: Libraries |
| fb_mhash 1.2 is libraries software developed by Richard Kotal. fb_mhash is a UDF library for Firebird/Interbase. fb_mhash implements an interface to the mhash library (libmhash). It support... |
Leave a comment