Create a new instance of the freetype library and return the object.
This is a class method, which doesnt take any arguments. If you only
want to load one face, then its probably not even worth saving the
object to a variable:
Return a Font::FreeType::Face object representing
a font face from the specified file.
The index option specifies which face to load from the file. It defaults to 0, and since most fonts only contain one face it rarely needs to be provided.
The load_flags option takes various flags which alter the way glyphs are loaded. The default is usually OK for rendering fonts to bitmap images. When extracting outlines from fonts, be sure to set the FT_LOAD_NO_HINTING flag.
The following load flags are available. They can be combined with the bitwise OR operator (|). The symbols are exported by the module and so will be available once you do use Font::FreeType.
|version()||Returns the version number of the underlying FreeType library being used. If called in scalar context returns a string containing three numbers in the format major.minor.patch. In list context returns the three numbers as separate values.|
Geoff Richards <email@example.com>
Copyright 2004, Geoff Richards.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||FONT::FREETYPE (3)||2004-09-11|