Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 34.383.429 Times

Font::TTF::Glyph 0.40

  Date Added: August 04, 2010  |  Visits: 973

Font::TTF::Glyph

Report Broken Link
Printer Friendly Version


Product Homepage
Download (100 downloads)



Font::TTF::Glyph is a Perl module that holds a single glyphs information. This is a single glyph description as held in a TT font. On creation only its header is read. Thus you can get the bounding box of each glyph without having to read all the other information. INSTANCE VARIABLES In addition to the named variables in a glyph header (xMin etc.), there are also all capital instance variables for holding working information, mostly from the location table. The standard attributes each glyph has are: numberOfContours xMin yMin xMax yMax There are also other, derived, instance variables for each glyph which are read when the whole glyph is read (via read_dat): instLen Number of bytes in the hinting instructions (Warning this variable is deprecated, use length($g-{hints})> instead). hints The string containing the hinting code for the glyph In addition there are other attribute like instance variables for simple glyphs: For each contour there is: endPoints An array of endpoints for each contour in the glyph. There are numberOfContours contours in a glyph. The number of points in a glyph is equal to the highest endpoint of a contour. There are also a number of arrays indexed by point number flags The flags associated with reading this point. The flags for a point are recalculated for a point when it is updated. Thus the flags are not very useful. The only important bit is bit 0 which indicates whether the point is an on curve point, or an off curve point. x The absolute x co-ordinate of the point. y The absolute y co-ordinate of the point For composite glyphs there are other variables metric This holds the component number (not its glyph number) of the component from which the metrics for this glyph should be taken. comps This is an array of hashes for each component. Each hash has a number of elements: glyph The glyph number of the glyph which comprises this component of the composite. args An array of two arguments which may be an x, y co-ordinate or two attachment points (one on the base glyph the other on the component). See flags for details. flag The flag for this component scale A 4 number array for component scaling. This allows stretching, rotating, etc. Note that scaling applies to placement co-ordinates (rather than attachment points) before locating rather than after. numPoints This is a generated value which contains the number of components read in for this compound glyph. The private instance variables are: INFILE (P) The input file form which to read any information LOC (P) Location relative to the start of the glyf table in the read file BASE (P) The location of the glyf table in the read file LEN (P) This is the number of bytes required by the glyph. It should be kept up to date by calling the update method whenever any of the glyph content changes. OUTLOC (P) Location relative to the start of the glyf table. This variable is only active whilst the output process is going on. It is used to inform the location table where the glyphs location is, since the glyf table is output before the loca table due to alphabetical ordering. OUTLEN (P) This indicates the length of the glyph data when it is output. This more accurately reflects the internal memory form than the LEN variable which only reflects the read file length. The OUTLEN variable is only set after calling out or out_dat..

Requirements: No special requirements
Platforms: Linux
Keyword: Fontttfglyph Glyph Instance Variables Libraries Number Perl Module Point Programming Read Table Ttf Variables
Users rating: 0/10

License: Freeware Size: 133.12 KB
USER REVIEWS
More Reviews or Write Review


FONT::TTF::GLYPH RELATED
Libraries  -  Nokia::File::NFB 0.01
Nokia::File::NFB is a Perl module to create, read and write Nokia nfb/nfc phone backup files. SYNOPSIS use Nokia::File::NFB; my $nfb = new Nokia::File::NFB; ## read in the file phone_backup.nfb. $nfb->read(phone_backup.nfb); ## print...
7.17 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  File::RdistByRsync 0.3
File::RdistByRsync is a Perl module that can read rdist distfiles, emulate using rsync. SYNOPSIS use File::RdistByRsync @dist_blocks = parse_rdist($distfile, %options) ($args, $extras, @dist_blocks) = rdist(@ARGV); rsync(@ARGV) perl...
10.24 KB  
Libraries  -  Embperl::TOC 2.2.0
Embperl::TOC is a Perl module for Embperl Documenation: Table of Contents. Embperl can be used in many ways and its documentation doesnt fit in one man pages. The following documentation is available within the distribution and the installed...
665.6 KB  
Libraries  -  Image::ExifTool 6.42
Image::ExifTool is a Perl module that can read and write meta information. SYNOPSIS use Image::ExifTool ImageInfo; # ---- Simple procedural usage ---- # Get hash of meta information tag names/values from an image $info = ImageInfo(a.jpg);...
1024 KB  
Libraries  -  MIDI 0.81
MIDI is a Perl module that can read, compose, modify, and write MIDI files. SYNOPSIS use MIDI; use strict; use warnings; my @events = ( [text_event,0, MORE COWBELL], [set_tempo, 0, 450_000], # 1qn = .45 seconds ); for (1 .. 20) { push...
62.46 KB  
Libraries  -  Tie::Gzip 0.06
Tie::Gzip is a Perl module that can read and write gzip compressed files. SYNOPSIS require Tie::Gzip; tie filehandle, Tie::Gzip tie filehandle, Tie::Gzip, mode, filename tie filehandle, Tie::Gzip, filename tie filehandle, Tie::Gzip,...
71.68 KB  
Libraries  -  perlfaq3 5.8.8
perlfaq3 Perl module contains programming tools. How do I do (anything)? Have you looked at CPAN (see perlfaq2)? The chances are that someone has already written a module that can solve your problem. Have you read the appropriate manpages?...
12.2 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB