al_load_ttf_font man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

al_load_ttf_font(3)					   al_load_ttf_font(3)

NAME
       al_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)

DESCRIPTION
       Loads  a TrueType font from a file using the FreeType library.  Quoting
       from the FreeType FAQ this means support for many different  font  for‐
       mats:

       TrueType, OpenType, Type1, CID, CFF, Windows FON/FNT, X11 PCF, and oth‐
       ers

       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 ALSO
       al_init_ttf_addon(3), al_load_ttf_font_f(3)

Allegro reference manual				   al_load_ttf_font(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net