al_load_ttf_font - Online Linux Manual PageSection : 3
Updated :
Source : Allegro reference manual
Note :
NAMEal_load_ttf_font − Allegro 5 API
SYNOPSIS
#include <allegro5/allegro_ttf.h>
ALLEGRO_FONT *al_load_ttf_font(char const *filename, int size, int flags)
DESCRIPTIONLoads a TrueType font from a file using the FreeType library. Quoting from the FreeType FAQ this means support for many different font formats: TrueType, OpenType, Type1, CID, CFF, Windows FON/FNT, X11 PCF, and others The size parameter determines the size the font will be rendered at, specified in pixels. The standard font size is measured in units per EM, if you instead want to specify the size as the total height of glyphs in pixels, pass it as a negative value. Note: If you want to display text at multiple sizes, load the font multiple times with different size parameters. The following flags are supported: • ALLEGRO_TTF_NO_KERNING − Do not use any kerning even if the font file supports it. • ALLEGRO_TTF_MONOCHROME − Load as a monochrome font (which means no anti−aliasing of the font is done). • ALLEGRO_TTF_NO_AUTOHINT − Disable the Auto Hinter which is enabled by default in newer versions of FreeType. Since: 5.0.6, 5.1.2
SEE ALSOal_init_ttf_addon(3), al_load_ttf_font_f(3) 0
Johanes Gumabo
Data Size : 4,961 byte
man-al_load_ttf_font.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 258,678
Visitor ID : :
Visitor IP : 3.147.45.159 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.