Top | ![]() |
![]() |
![]() |
![]() |
hb_face_t * | hb_directwrite_face_create () |
hb_face_t * | hb_directwrite_face_create_from_file_or_fail () |
hb_face_t * | hb_directwrite_face_create_from_blob_or_fail () |
IDWriteFontFace * | hb_directwrite_face_get_dw_font_face () |
hb_font_t * | hb_directwrite_font_create () |
IDWriteFontFace * | hb_directwrite_font_get_dw_font_face () |
void | hb_directwrite_font_set_funcs () |
hb_face_t *
hb_directwrite_face_create (IDWriteFontFace *dw_face
);
Constructs a new face object from the specified DirectWrite IDWriteFontFace.
Since: 2.4.0
hb_face_t * hb_directwrite_face_create_from_file_or_fail (const char *file_name
,unsigned int index
);
Creates an hb_face_t face object from the specified font file and face index.
This is similar in functionality to hb_face_create_from_file_or_fail()
,
but uses the DirectWrite library for loading the font file.
The new face object, or NULL
if
no face is found at the specified index or the file cannot be read.
[transfer full]
Since: 11.0.0
hb_face_t * hb_directwrite_face_create_from_blob_or_fail (hb_blob_t *blob
,unsigned int index
);
Creates an hb_face_t face object from the specified blob and face index.
This is similar in functionality to hb_face_create_from_blob_or_fail()
,
but uses the DirectWrite library for loading the font data.
The new face object, or NULL
if
no face is found at the specified index or the blob cannot be read.
[transfer full]
Since: 11.0.0
IDWriteFontFace *
hb_directwrite_face_get_dw_font_face (hb_face_t *face
);
Gets the DirectWrite IDWriteFontFace associated with face
.
Since: 10.4.0
hb_font_t *
hb_directwrite_font_create (IDWriteFontFace *dw_face
);
Constructs a new font object from the specified DirectWrite IDWriteFontFace.
Since: 11.0.0
IDWriteFontFace *
hb_directwrite_font_get_dw_font_face (hb_font_t *font
);
Gets the DirectWrite IDWriteFontFace associated with font
.
Since: 11.0.0
void
hb_directwrite_font_set_funcs (hb_font_t *font
);
Configures the font-functions structure of the specified hb_font_t font object to use DirectWrite font functions.
In particular, you can use this function to configure an
existing hb_face_t face object for use with DirectWrite font
functions even if that hb_face_t face object was initially
created with hb_face_create()
, and therefore was not
initially configured to use DirectWrite font functions.
Since: 11.0.0