BSD Ports

x11-fonts/p5-Font-TTFMetrics 0.1_1 FreeBSD

Parser for the TTF file

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
x11-fonts, perl5
Package size
20.3 KiB, 63.7 KiB installed

Description

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.

In the other systems

The newest version among them is 0.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDx11-fonts/p5-Font-TTFMetrics0.1_1 newestnone known-[email protected]-
NetBSDfonts/p5-Font-TTFMetrics by name0.1nb18 newestnone known-[email protected]2026-07-16
DragonFlyx11-fonts/p5-Font-TTFMetrics0.1_1 newestnone known-[email protected]-
MidnightBSDx11-fonts/p5-Font-TTFMetrics0.1 newestno data-[email protected]-
HardenedBSDx11-fonts/p5-Font-TTFMetrics0.1_1 newestno data-[email protected]-
GhostBSDx11-fonts/p5-Font-TTFMetrics0.1_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Font-TTFMetrics

From the ports tree:

cd /usr/ports/x11-fonts/p5-Font-TTFMetrics/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Font-TTFMetrics>0:x11-fonts/p5-Font-TTFMetrics

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1_10.1_10.1_10.1_10.1_1
FreeBSD:14:quarterly0.1_10.1_1n/a0.1_10.1_1
FreeBSD:15:latest0.1_10.1_1n/a0.1_10.1_1
FreeBSD:15:quarterly0.1_10.1_1n/an/an/a
FreeBSD:16:latest0.1_10.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Font::TTFMetrics.3.gz
  • %%SITE_PERL%%/Font/TTFMetrics.pm
distinfo 1
FileSizeSHA256
Font-TTFMetrics-0.1.tar.gz143722cd27f322f5a9e7ca79325eb196b032c985a85807143df7eb02367f0c6672ec8
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.