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 30.067.839 Times

Font::TTF::Glyph 0.40

  Date Added: August 04, 2010  |  Visits: 788

Font::TTF::Glyph

Report Broken Link
Printer Friendly Version


Product Homepage
Download (87 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
FONT::TTF::GLYPH RELATED
Libraries  -  vars::global 0.0.1
vars::global is a Perl module that tries to make global variables a little safer. SYNOPSIS # In the place/package where we want to create globals use vars::global create => qw( $foo @bar %baz ); # Add some more global symbols...
7.17 KB  
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  -  Env::Path 0.18
Env::Path is a Perl module with advanced operations on path variables. SYNOPSIS use Env::Path; # basic usage my $manpath = Env::Path->MANPATH; $manpath->Append(/opt/samba/man); for ($manpath->List) { print $_, "n" }; # similar to above...
10.24 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  
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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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