Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

font::ttf::head(3) [centos man page]

Font::TTF::Head(3)					User Contributed Perl Documentation					Font::TTF::Head(3)

NAME
Font::TTF::Head - The head table for a TTF Font DESCRIPTION
This is a very basic table with just instance variables as described in the TTF documentation, using the same names. One of the most commonly used is "unitsPerEm". INSTANCE VARIABLES
The "head" table has no internal instance variables beyond those common to all tables and those specified in the standard: version fontRevision checkSumAdjustment magicNumber flags unitsPerEm created modified xMin yMin xMax yMax macStyle lowestRecPPEM fontDirectionHint indexToLocFormat glyphDataFormat The two dates are held as an array of two unsigned longs (32-bits) METHODS
$t->read Reads the table into memory thanks to some utility functions $t->out($fh) Writes the table to a file either from memory or by copying. If in memory (which is usually) the checkSumAdjustment field is set to 0 as per the default if the file checksum is not to be considered. $t->XML_element($context, $depth, $key, $value) Handles date process for the XML exporter $t->update Updates the head table based on the glyph data and the hmtx table $t->getdate($is_create) Converts font modification time (or creation time if $is_create is set) to a 32-bit integer as returned from time(). Returns undef if the value is out of range, either before the epoch or after the maximum storable time. $t->setdate($time, $is_create) Sets the time information for modification (or creation time if $is_create is set) according to the 32-bit time information. BUGS
None known AUTHOR
Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing. perl v5.16.3 2012-08-21 Font::TTF::Head(3)

Check Out this Related Man Page

Font::TTF::Glyf(3)					User Contributed Perl Documentation					Font::TTF::Glyf(3)

NAME
Font::TTF::Glyf - The Glyf data table DESCRIPTION
This is a stub table. The real data is held in the loca table. If you want to get a glyf look it up in the loca table as "$f-"{'loca'}{'glyphs'}[$num]>. It will not be here! The difference between reading this table as opposed to the loca table is that reading this table will cause updated glyphs to be written out rather than just copying the glyph information from the input file. This causes font writing to be slower. So read the glyf as opposed to the loca table if you want to change glyf data. Read the loca table only if you are just wanting to read the glyf information. This class is used when writing the glyphs though. METHODS
$t->read Reads the "loca" table instead! $t->out($fh) Writes out all the glyphs in the parent's location table, calculating a new output location for each one. $t->out_xml($context, $depth) Outputs all the glyphs in the glyph table just where they are supposed to be output! $t->XML_start($context, $tag, %attrs) Pass control to glyphs as they occur $t->XML_end($context, $tag, %attrs) Collect up glyphs and put them into the loca table BUGS
None known AUTHOR
Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing. perl v5.16.3 2012-02-23 Font::TTF::Glyf(3)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file creation time

i have to delete some files that were created on a particular date. is there any way to do that without affecting the files that were modified on the same date? (1 Reply)
Discussion started by: sskb
1 Replies

2. UNIX for Dummies Questions & Answers

Head - Desk - Bang

I have just "inherited" a Solaris box and there are a couple of problems, I think I have worked out what they are but I have no idea how to fix. Basically login is very slow (system performance is good though) and I have a program that writes its errors to the syslog, which has stopped working.... (4 Replies)
Discussion started by: warrend
4 Replies

3. Shell Programming and Scripting

printing first n lines in a file without using head

i have to print first n lines of a file. how can i do that without using head command. for some reason i do not want to use Head. is there a way to get that result using awk or sed?. i an using this on korn shell for AIX Thanks.. (7 Replies)
Discussion started by: dareman123
7 Replies

4. Emergency UNIX and Linux Support

Global update on a file based on a table

Hi, I 'd like to update the below highlighted values in a sample file based on the following table: 8283879A25918000000000005400000000000065629TTF3 8683884F40273000000000003900000000000047399TTF3 8883884FG0063000000000002600000000000031599TTF3... (7 Replies)
Discussion started by: er_ashu
7 Replies