aboutsummaryrefslogblamecommitdiff
path: root/x11-fonts/p5-Font-TTFMetrics/pkg-descr
blob: 2ca56764114bf92e840e357ebc7bf4b186d51417 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                          
                             
Font::TTFMetrics encapsulates the font metrics of a true type font file. A
true type font file contains several tables which need to be parsed before
any useful information could be gathered about the font. There is the
excellent module for parsing TTF font in CPAN by Martin Hosken, Font::TTF.
But in my opinion the use of Font::TTF requires intimate knowledge of TTF
font format. This module was written to support the use of TTF in Pastel
2D graphics library in Perl. Three factors prompted me to write this
module: first, I required a fast module to access TTF file. Second, all
the access required was read-only. Last, I wanted a user friendly, higher
level API to access TTF file.