perl-Font-FreeType - read font files and render glyphs from Perl using FreeType2

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-Font-FreeType-0.12-alt1.1.x86_64.rpm
Package name perl-Font-FreeType
Package version 0.12
Package release alt1.1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 138.23 KB
Installed size 138.23 KB
This module allows Perl programs to conveniently read information from
font files.  All the font access is done through the FreeType2 library,
which supports many formats.  It can render images of characters with
high-quality hinting and antialiasing, extract metrics information, and
extract the outlines of characters in scalable formats like TrueType.
Warning: this module is currently in 'beta' stage.  It'll be another
release or two before it stabilizes.  The API may change in ways that
break programs based on it, but I don't think it will change much.
Some of the values returned may be wrong, or not scaled correctly.
See the *TODO* file to get a handle on how far along this work is.
Contributions welcome, particularly if you know more than I do (which
isn't much) about fonts and the FreeType2 library.
The Font::FreeType API is not intended to replicate the C API of the
FreeType library -- it offers a much more Perl-friendly interface.
The quickest way to get started with this library is to look at the
examples in the *examples* directory of the distribution.  Full
details of the API are contained in this documentation, and (more
importantly) the documentation for the
Font::FreeType::Face and
Font::FreeType::Glyph classes.
To use the library, first create a Font::FreeType object.  This can
be used to load faces from files, for example:
my $freetype = Font::FreeType->new;
my $face = $freetype->face('Vera.ttf');
If your font is scalable (i.e., not a bitmapped font) then set the size
and resolution you want to see it at, for example 24pt at 100dpi:
$face->set_char_size(24, 24, 100, 100);
Then load a particular glyph (an image of a character), either by
character code (in Unicode) or the actual character:
my $glyph = $face->glyph_from_char_code(65);
my $glyph = $face->glyph_from_char('A');
Glyphs can be rendered to bitmap images, among other things:
my $bitmap = $glyph->bitmap;
See the documentation for Font::FreeType::Glyph
for details of the format of the bitmap array reference that returns, and
for other ways to get information about a glyph.


Package Version Architecture Repository
perl-Font-FreeType-0.12-alt1.1.i586.rpm 0.12 i586 Autoimports
perl-Font-FreeType - - -


Name Value
/usr/lib64/perl5 - - - - - -
perl( -
perl(Image/ -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Font/ = 0.120
perl(Font/FreeType/ -
perl(Font/FreeType/ -
perl(Font/FreeType/ -
perl(Font/FreeType/ -
perl(Font/FreeType/ -
perl-Font-FreeType = 0.12-alt1.1


Type URL
Binary Package perl-Font-FreeType-0.12-alt1.1.x86_64.rpm
Source Package perl-Font-FreeType-0.12-alt1.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] x86_64 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Font-FreeType rpm package:
    # sudo apt-get install perl-Font-FreeType



See Also

Package Description
perl-Forks-Super-0.97-alt1.1.x86_64.rpm extensions and convenience methods to manage background processes
perl-Freq-0.22-alt4.1.x86_64.rpm perl module Freq
perl-Furl-Cookies-0.03-alt4.1.x86_64.rpm HTTP Cookie jars for Furl
perl-Fuse-PDF-0.09-alt9.1.x86_64.rpm Filesystem embedded in a PDF document
perl-Fuse-PDF-scripts-0.09-alt9.1.x86_64.rpm Fuse-PDF scripts
perl-Future-AsyncAwait-0.20-alt1.1.x86_64.rpm deferred subroutine syntax for futures
perl-GD-Chart-0.05-alt4.1.x86_64.rpm perl module GD-Chart
perl-GD-Image-CopyIFS-0.25-alt4.1.x86_64.rpm fractal-based image copying and resizing
perl-GIS-Distance-Fast-0.14-alt1.x86_64.rpm C implementation of GIS::Distance formulas
perl-GO-TermFinder-0.86-alt6_10.x86_64.rpm Identify GO nodes that annotate a group of genes with a significant p-value
perl-GRID-Cluster-0.04-alt4.1.x86_64.rpm Virtual clusters using SSH links
perl-GRID-Machine-0.127-alt4.1.x86_64.rpm Remote Procedure Calls over a SSH link
perl-GRID-Machine-scripts-0.127-alt4.1.x86_64.rpm GRID-Machine scripts
perl-GTop-0.18-alt10_27.x86_64.rpm Perl interface to libgtop
perl-Games-Cards-Poker-1.4-alt2.1.x86_64.rpm perl module Games-Cards-Poker