CAIRO_AVAILABLE_FONTS(3) 1 CAIRO_AVAILABLE_FONTS(3)
Cairo::availableFonts - Retrieves the availables font types
Object oriented style:
SYNOPSIS
publicstatic array Cairo::availableFonts (void )
DESCRIPTION
Procedural style:
array cairo_available_fonts (void )
Returns an array with the available font backends
PARAMETERS
This function has no parameters.
RETURN VALUES
A list-type array with all available font backends.
EXAMPLES
Example #1
Object oriented style
<?php
/* Object Oriented Style */
var_dump(Cairo::availableFonts());
?>
The above example will output something similar to:
array(2) {
[0]=>
string(5) "WIN32"
[1]=>
string(4) "USER"
}
Example #2
Procedural style
<?php
/* Procedural style */
var_dump(cairo_available_fonts());
?>
The above example will output something similar to:
array(2) {
[0]=>
string(5) "WIN32"
[1]=>
string(4) "USER"
}
SEE ALSO
Cairo::availableSurfaces.
PHP Documentation Group CAIRO_AVAILABLE_FONTS(3)