Public Member Functions | |
ft_manager (const ft_manager &)=delete | |
ft_manager & | operator= (const ft_manager &)=delete |
Static Public Member Functions | |
static void | cleanup_instance (void) |
static void | font_destroyed (FT_Face face) |
static FT_Face | get_font (const std::string &name, const std::string &weight, const std::string &angle, double size, FT_ULong c=0) |
static octave_map | get_system_fonts (void) |
static bool | instance_ok (void) |
Private Types | |
typedef std::map< ft_key, FT_Face > | ft_cache |
typedef std::pair< std::string, double > | ft_key |
Private Member Functions | |
ft_manager (void) | |
~ft_manager (void) | |
void | do_font_destroyed (FT_Face face) |
FT_Face | do_get_font (const std::string &name, const std::string &weight, const std::string &angle, double size, FT_ULong search_code_point) |
Static Private Member Functions | |
static octave_map | do_get_system_fonts (void) |
Private Attributes | |
ft_cache | m_cache |
bool | m_fontconfig_initialized |
bool | m_freetype_initialized |
FT_Library | m_library |
Static Private Attributes | |
static ft_manager * | m_instance = nullptr |
Definition at line 100 of file ft-text-renderer.cc.
|
private |
Definition at line 190 of file ft-text-renderer.cc.
|
private |
Definition at line 189 of file ft-text-renderer.cc.
|
inlineprivate |
Definition at line 105 of file ft-text-renderer.cc.
References error().
|
delete |
|
inlineprivate |
Definition at line 132 of file ft-text-renderer.cc.
|
inlinestatic |
Definition at line 162 of file ft-text-renderer.cc.
|
inlineprivate |
Definition at line 422 of file ft-text-renderer.cc.
|
inlineprivate |
Definition at line 276 of file ft-text-renderer.cc.
References dir_sep_str(), ft_face_destroyed(), get_ASCII_filename(), oct_fonts_dir(), and warning().
|
inlinestaticprivate |
Definition at line 192 of file ft-text-renderer.cc.
References octave_map::assign(), and octave_map::isempty().
|
inlinestatic |
Definition at line 181 of file ft-text-renderer.cc.
Referenced by ft_face_destroyed().
|
inlinestatic |
Definition at line 165 of file ft-text-renderer.cc.
Referenced by ft_text_renderer::ft_font::get_face(), and ft_text_renderer::process_character().
|
inlinestatic |
Definition at line 174 of file ft-text-renderer.cc.
Referenced by ft_text_renderer::get_system_fonts().
|
inlinestatic |
Definition at line 149 of file ft-text-renderer.cc.
References singleton_cleanup_list::add().
|
delete |
|
private |
Definition at line 442 of file ft-text-renderer.cc.
|
private |
Definition at line 446 of file ft-text-renderer.cc.
|
private |
Definition at line 445 of file ft-text-renderer.cc.
|
staticprivate |
Definition at line 437 of file ft-text-renderer.cc.
|
private |
Definition at line 444 of file ft-text-renderer.cc.