Font::FreeType::Glyph 0.03 |
Date Added: July 15, 2010 | Visits: 518 |
|
||||||||
|
Font::FreeType::Glyph is a Perl module that contains glyphs from font typefaces loaded from Font::FreeType. SYNOPSIS use Font::FreeType; my $freetype = Font::FreeType->new; my $face = $freetype->face(Vera.ttf); $face->set_char_size(24, 24, 100, 100); my $glyph = $face->glyph_from_char(A); my $glyph = $face->glyph_from_char_code(65); # Render into an array of strings, one byte per pixel. my ($bitmap, $left, $top) = $glyph->bitmap; # Read vector outline. $glyph->outline_decompose( move_to => sub { ... }, line_to => sub { ... }, conic_to => sub { ... }, cubic_to => sub { ... }, ); This class represents an individual glyph (character image) loaded from a font. See Font::FreeType::Face for how to obtain a glyph object, in particular the glyph_from_char_code() and glyph_from_char() methods. Things you an do with glyphs include: - Get metadata about the glyph, such as the size of its image and other metrics. - Render a bitmap image of the glyph (if its from a vector font) or extract the existing bitmap (if its from a bitmap font), using the bitmap() method. - Extract a precise description of the lines and curves that make up the glyphs outline, using the outline_decompose() method..
|
| License: Freeware | Size: 95.23 KB |
|
Libraries
-
Font::TTF::Glyph 0.40
Font::TTF::Glyph is a Perl module that holds a single glyphs information. This is a single glyph description as held in a TT font. On creation only its header is read. Thus you can get the bounding box of each glyph without having to read all... |
133.12 KB | |
|
Libraries
-
Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just... |
10.24 KB | |
|
Libraries
-
Wais 2.311
Wais is a Perl module with access to freeWAIS-sf libraries. USAGE The main high-level interface are the functions Wais::Search and Wais::Retrieve. Both return a reference to an object of the class Wais::Result. Wais::Search Arguments of... |
54.27 KB | |
|
Libraries
-
Crypt::OpenSSL::SMIME 0.02
Crypt::OpenSSL::SMIME is a Perl module for signing and encrypting messages with S/MIME standard using OpenSSL libraries. SYNOPSIS use Crypt::OpenSSL::SMIME; $smime = new Crypt::OpenSSL::SMIME({ signer_from => sender@test.com, signer_cert =>... |
25.6 KB | |
|
Multimedia & Graphics
-
Chortkeh BDF Font Viewer 2.0.0.0
Chortkeh BDF Font Viewer by Komeil Bahmanpour is a tool for viewing files in Glyph Bitmap Distribution Format (BDF) in Microsoft Windows. Chortkeh BDF Font Viewer for Windows is able to process BDF Specification 2.2 font files including Unicode... |
291 KB | |
|
Libraries
-
SVG::Graph 0.01
SVG::Graph is a Perl module to visualize your data in Scalable Vector Graphics (SVG) format. SYNOPSIS use SVG::Graph; use SVG::Graph::Data; use SVG::Graph::Data::Datum; #create a new SVG document to plot in... my $graph =... |
88.06 KB | |
|
Libraries
-
Fontconfig 2.3.91
Fontconfig is a library designed to provide system-wide font configuration, customization and application access. The configuration module consists of the FcConfig datatype, libexpat and FcConfigParse which walks over an XML tree and ammends a... |
993.28 KB | |
|
Libraries
-
Inline::C 0.44
Inline::C is a Perl module that can Write Perl Subroutines in C. Inline::C is a module that allows you to write Perl subroutines in C. Since version 0.30 the Inline module supports multiple programming languages and each language has its own... |
92.16 KB | |
|
Libraries
-
Bio::Graphics::Panel 1.5.2_005 RCb
Bio::Graphics::Panel is a Perl module to generate GD images of Bio::Seq objects. SYNOPSIS # This script parses a GenBank or EMBL file named on the command # line and produces a PNG rendering of it. Call it like this: # render.pl my_file.embl... |
5.7 MB | |
|
Libraries
-
GD::Text 0.86
GD::Text is a Perl module with text utilities for use with GD. SYNOPSIS use GD; use GD::Text; my $gd_text = GD::Text->new() or die GD::Text::error(); $gd_text->set_font(funny.ttf, 12) or die $gd_text->error;... |
64.51 KB |
|
Programming
-
RailsTidy 0.1
RailsTidy project is a plugin for Ruby On Rails.. |
11.26 KB | |
|
Programming
-
Strings edit 1.9
Strings edit is a library that provides I/O facilities for integer, floating-point, Roman numbers, and strings. Both input and output subroutines support string pointers for consequent stream processing. The output can be aligned in a fixed size... |
54.27 KB | |
|
Programming
-
BScript 0.3
BScript is a (yet another) BASIC interpreter. It is free software and open-sourced, licensed under the terms of the GNU General Public License version 2 or later. You can use BScript to teach BASIC to your students, write understandable shell... |
112.64 KB | |
|
Programming
-
Kits JavaScript Brainf*ck Interpreter 0.01
Kits JavaScript Brainf*ck Interpreter is a rather fast interpreter for the Brainf*ck esoteric programming language.. Kit's JavaScript Brainfuck Interpreter v0.01 |
5.12 KB | |
|
Programming
-
dis6502 0.12
dis6502 is a flow-tracing disassembler for the 6502, originally written by Robert Bond and supporting Atari binary files. Robert posted dis6502 to the Usenet newsgroup net.sources on 9-Oct-1986, and to comp.sources.unix 7-Jun-1988. Udi... |
19.46 KB | |
|
Libraries
-
Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;... |
8.19 KB | |
|
Libraries
-
sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also... |
10.24 KB | |
|
Libraries
-
App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>... |
54.27 KB | |
|
Libraries
-
PDL::Graphics::TriD 2.4.3
PDL::Graphics::TriD is a PDL 3D interface. SYNOPSIS use PDL::Graphics::TriD; # After each graph, let the user rotate is and # wait for him to press q, then make new graph line3d($coords); # $coords = (3,n,...) line3d($coords,$colors); #... |
2.1 MB | |
|
Libraries
-
SmartColorWell 1.2
SmartColorWell is a cross-platform open-source ColorWell class for REALbasic 4 or greater. The SmartColorWell control stores a color value and displays that color in a simulated BevelButton that when pressed allows the user to change the color... |
21.5 KB |
