Functions that deals with fonts. More...
Modules | |
Font Path Functions | |
Functions that edit the paths being used to load fonts. | |
Typedefs | |
typedef enum _Evas_Font_Hinting_Flags | Evas_Font_Hinting_Flags |
Flags for Font Hinting. | |
Enumerations | |
enum | _Evas_Font_Hinting_Flags { EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE } |
Flags for Font Hinting. More... | |
Functions | |
void | evas_font_hinting_set (Evas *e, Evas_Font_Hinting_Flags hinting) |
Changes the font hinting for the given evas. | |
Evas_Font_Hinting_Flags | evas_font_hinting_get (const Evas *e) |
Retrieves the font hinting used by the given evas. | |
Eina_Bool | evas_font_hinting_can_hint (const Evas *e, Evas_Font_Hinting_Flags hinting) |
Checks if the font hinting is supported by the given evas. | |
void | evas_font_cache_flush (Evas *e) |
Force the given evas and associated engine to flush its font cache. | |
void | evas_font_cache_set (Evas *e, int size) |
Changes the size of font cache of the given evas. | |
int | evas_font_cache_get (const Evas *e) |
Changes the size of font cache of the given evas. | |
Eina_List * | evas_font_available_list (const Evas *e) |
List of available font descriptions known or found by this evas. | |
void | evas_font_available_list_free (Evas *e, Eina_List *available) |
Free list of font descriptions returned by evas_font_dir_available_list(). |
Detailed Description
Functions that deals with fonts.
Typedef Documentation
typedef enum _Evas_Font_Hinting_Flags Evas_Font_Hinting_Flags |
Flags for Font Hinting.
Flags for Font Hinting
Enumeration Type Documentation
Function Documentation
Eina_List* evas_font_available_list | ( | const Evas * | e | ) |
List of available font descriptions known or found by this evas.
The list depends on Evas compile time configuration, such as fontconfig support, and the paths provided at runtime as explained in Font Path Functions.
- Parameters:
-
e The evas instance to query.
- Returns:
- a newly allocated list of strings. Do not change the strings. Be sure to call evas_font_available_list_free() after you're done.
void evas_font_available_list_free | ( | Evas * | e, |
Eina_List * | available | ||
) |
Free list of font descriptions returned by evas_font_dir_available_list().
- Parameters:
-
e The evas instance that returned such list. available the list returned by evas_font_dir_available_list().
void evas_font_cache_flush | ( | Evas * | e | ) |
Force the given evas and associated engine to flush its font cache.
- Parameters:
-
e The given evas to flush font cache.
int evas_font_cache_get | ( | const Evas * | e | ) |
Changes the size of font cache of the given evas.
- Parameters:
-
e The given evas to flush font cache.
- Returns:
- The size, in bytes.
void evas_font_cache_set | ( | Evas * | e, |
int | size | ||
) |
Changes the size of font cache of the given evas.
- Parameters:
-
e The given evas to flush font cache. size The size, in bytes.
Eina_Bool evas_font_hinting_can_hint | ( | const Evas * | e, |
Evas_Font_Hinting_Flags | hinting | ||
) |
Checks if the font hinting is supported by the given evas.
- Parameters:
-
e The given evas to query. hinting The hinting to use, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.
- Returns:
EINA_TRUE
if it is supported,EINA_FALSE
otherwise.
Evas_Font_Hinting_Flags evas_font_hinting_get | ( | const Evas * | e | ) |
Retrieves the font hinting used by the given evas.
- Parameters:
-
e The given evas to query.
- Returns:
- The hinting in use, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.
References EVAS_FONT_HINTING_BYTECODE.
void evas_font_hinting_set | ( | Evas * | e, |
Evas_Font_Hinting_Flags | hinting | ||
) |
Changes the font hinting for the given evas.
- Parameters:
-
e The given evas. hinting The hinting to use, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.