perl-Font-FreeType-0.12-alt1.1.i586.rpm


Advertisement

Description

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

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Font-FreeType-0.12-alt1.1.i586.rpm
Package name perl-Font-FreeType
Package version 0.12
Package release alt1.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 156.51 KB
Installed size 156.51 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.

Alternatives

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

Requires

Name Value
/usr/lib/perl5 -
libc.so.6(GLIBC_2.0) -
libc.so.6(GLIBC_2.1.3) -
libc.so.6(GLIBC_2.4) -
libfreetype.so.6 -
libperl-5.28.so -
libpthread.so.0(GLIBC_2.0) -
perl(DynaLoader.pm) -
perl(Image/Magick.pm) -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(Font/FreeType.pm) = 0.120
perl(Font/FreeType/BoundingBox.pm) -
perl(Font/FreeType/CharMap.pm) -
perl(Font/FreeType/Face.pm) -
perl(Font/FreeType/Glyph.pm) -
perl(Font/FreeType/NamedInfo.pm) -
perl-Font-FreeType = 0.12-alt1.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Font-FreeType-0.12-alt1.1.i586.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] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/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

Files

Path
/usr/lib/perl5/Font/FreeType.pm
/usr/lib/perl5/Font/FreeType/BoundingBox.pm
/usr/lib/perl5/Font/FreeType/CharMap.pm
/usr/lib/perl5/Font/FreeType/Face.pm
/usr/lib/perl5/Font/FreeType/Glyph.pm
/usr/lib/perl5/Font/FreeType/NamedInfo.pm
/usr/lib/perl5/auto/Font/
/usr/lib/perl5/auto/Font/FreeType/FreeType.so
/usr/share/doc/perl-Font-FreeType-0.12/Changes
/usr/share/doc/perl-Font-FreeType-0.12/TODO
/usr/share/doc/perl-Font-FreeType-0.12/examples/font-info.pl
/usr/share/doc/perl-Font-FreeType-0.12/examples/glyph-outline.pl
/usr/share/doc/perl-Font-FreeType-0.12/examples/glyph-to-eps.pl
/usr/share/doc/perl-Font-FreeType-0.12/examples/glyph-to-svg.pl
/usr/share/doc/perl-Font-FreeType-0.12/examples/list-characters.pl
/usr/share/doc/perl-Font-FreeType-0.12/examples/list-glyphs.pl
/usr/share/doc/perl-Font-FreeType-0.12/examples/magick.pl
/usr/share/doc/perl-Font-FreeType-0.12/examples/render-glyph.pl

See Also

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