FreeBSD.software
Home/x11-fonts/p5-Font-TTFMetrics

p5-Font-TTFMetrics

0.1_1x11-fonts

Parser for the TTF file

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.

$pkg install p5-Font-TTFMetrics
metacpan.org/release/Font-TTFMetrics
Origin
x11-fonts/p5-Font-TTFMetrics
Size
63.7KiB
License
ART10, GPLv1+
Maintainer
bofh@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)