CAIROFONTTYPE(3) 1 CAIROFONTTYPE(3)The CairoFontType classINTRODUCTION
CairoFontType class is an abstract final class that contains constants used to describe the type of a given CairoFontFace or CairoScaled-
Font. The font types are also known as "font backends" within cairo.
The type of a CairoFontFace is determined by the how it is created, an example would be the CairoToyFontFace::__construct. The CairoFont-
Face type can be queried with CairoFontFace::getType or cairo_font_face_get_type(3)
The various CairoFontFace functions can be used with a font face of any type.
The type of a CairoScaledFont is determined by the type of the CairoFontFace passed to CairoScaledFont::__construct or
cairo_scaled_font_create(3). The scaled font type can be queried with CairoScaledFont::getType or cairo_scaled_font_get_type(3).
CLASS SYNOPSIS
CairoFontType
CairoFontType
Constants
o const integer$CairoFontType::TOY0
o const integer$CairoFontType::FT1
o const integer$CairoFontType::WIN322
o const integer$CairoFontType::QUARTZ3
PREDEFINED CONSTANTS
o CairoFontType::TOY -The font was created using CairoToyFont api
o CairoFontType::FT -The font is of type CairoFreeType
o CairoFontType::WIN32 -The font is of type Win32
o CairoFontType::QUARTZ -The font is of type Quartz
o CairoFontType::USER -The font was create using cairo's user font api
PHP Documentation Group CAIROFONTTYPE(3)
Check Out this Related Man Page
CAIRO_FONT_FACE_STATUS(3) 1 CAIRO_FONT_FACE_STATUS(3)CairoFontFace::status - Check for CairoFontFace errors
Object oriented style (method):
SYNOPSIS
public int CairoFontFace::status (void )
DESCRIPTION
Procedural style:
int cairo_font_face_status (CairoFontFace $fontface)
Checks whether an error has previously occurred for this font face
PARAMETERS
o $fontface
- A valid CairoFontFace object
RETURN VALUES
CAIRO_STATUS_SUCCESS or another error such as CAIRO_STATUS_NO_MEMORY.
EXAMPLES
Example #1
Object oriented style
<?php
// Creates the font face
$fontface = new CairoToyFontFace('sans-serif');
// Get the font face status
var_dump($fontface->status()); // should be the value of CAIRO_STATUS_SUCCESS
?>
The above example will output something similar to:
int(0)
Example #2
Procedural style
<?php
// Creates the font face
$fontface = new CairoToyFontFace('sans-serif');
// Get the font face status
var_dump(cairo_font_face_status($fontface)); // should be the value of CAIRO_STATUS_SUCCESS
?>
The above example will output something similar to:
int(0)SEE ALSO
Classname::Method.
PHP Documentation Group CAIRO_FONT_FACE_STATUS(3)
Hi,
I've a C++ project that uses cairo graphics libraries (see cairographics.org).
In my class I do
#include <cairo.h>
If I must install the cairo graphics program, I must be root. What I want is that this library only be acessed by this project. Talking in Java language, I would love... (3 Replies)
So, I need to find the instances of a certain font and remove it....so far in my testing I am using the find command with regex to find a font I want to pull out. However, I seem to be slightly stuck, and I am sure the beard stroking Unix geniuses here can help me.
My example code:
find... (7 Replies)
Dear all,
I want to install cairo-dock or any other substitute desktop customization software in my RedHat Linux 5.3 machine.
I think cairo-dock is for fedora linux,i need RedHat compatible.
Can any one provide me with the appropriate link and installation steps for the same.
... (0 Replies)