Tizen Native API  7.0
Font Functions

Functions that deal with fonts.

Functions

void evas_font_reinit (void)
void evas_font_glyph_lru_size_set (int size)
int evas_font_glyph_lru_size_get (void)
void evas_font_available_list_free (Evas *e, Eina_List *available)
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.

Enumeration Type Documentation

Flags for Font Hinting

Enumerator:
EVAS_FONT_HINTING_NONE 

No font hinting

EVAS_FONT_HINTING_AUTO 

Automatic font hinting

EVAS_FONT_HINTING_BYTECODE 

Bytecode font hinting


Function Documentation

void evas_font_available_list_free ( Evas e,
Eina_List available 
)

Free list of font descriptions returned by evas_font_dir_available_list().

Parameters:
eThe evas instance that returned such list.
availablethe list returned by evas_font_dir_available_list().
Since :
3.0

Get glyphs lru list size as byte.

Since (EFL) :
1.21
void evas_font_glyph_lru_size_set ( int  size)

Set glyphs lru list size as byte. It is used for trimming bitmap data of least recently used glyphs. It helps reducing memory usage. If the given size is 0, Evas will not trim bitmap data.

Since (EFL) :
1.21

Retrieves the font hinting used by the given evas.

Returns:
The used hinting, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.
Since :
3.0
void evas_font_hinting_set ( Evas e,
Evas_Font_Hinting_Flags  hinting 
)

Changes the font hinting for the given evas.

EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.

Parameters:
[in]hintingThe used hinting, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.
Since :
3.0
void evas_font_reinit ( void  )

Reinitialize FontConfig. If FontConfig has to be reinitialized according to changes of system environments (e.g. Changing font config files), it will be useful.

Since (EFL) :
1.14
Since :
3.0