#include <pango_font_info.h>
◆ FontTypeEnum
Enumerator |
---|
UNKNOWN | |
SERIF | |
SANS_SERIF | |
DECORATIVE | |
◆ PangoFontInfo() [1/3]
tesseract::PangoFontInfo::PangoFontInfo |
( |
| ) |
|
◆ ~PangoFontInfo()
tesseract::PangoFontInfo::~PangoFontInfo |
( |
| ) |
|
◆ PangoFontInfo() [2/3]
tesseract::PangoFontInfo::PangoFontInfo |
( |
const std::string & |
name | ) |
|
|
explicit |
◆ PangoFontInfo() [3/3]
tesseract::PangoFontInfo::PangoFontInfo |
( |
const PangoFontInfo & |
| ) |
|
|
private |
◆ CanRenderString() [1/2]
bool tesseract::PangoFontInfo::CanRenderString |
( |
const char * |
utf8_word, |
|
|
int |
len, |
|
|
std::vector< std::string > * |
graphemes |
|
) |
| const |
◆ CanRenderString() [2/2]
bool tesseract::PangoFontInfo::CanRenderString |
( |
const char * |
utf8_word, |
|
|
int |
len |
|
) |
| const |
◆ Clear()
void tesseract::PangoFontInfo::Clear |
( |
| ) |
|
|
private |
◆ CoversUTF8Text()
bool tesseract::PangoFontInfo::CoversUTF8Text |
( |
const char * |
utf8_text, |
|
|
int |
byte_length |
|
) |
| const |
◆ DescriptionName()
std::string tesseract::PangoFontInfo::DescriptionName |
( |
| ) |
const |
◆ DropUncoveredChars()
int tesseract::PangoFontInfo::DropUncoveredChars |
( |
std::string * |
utf8_text | ) |
const |
◆ family_name()
const std::string& tesseract::PangoFontInfo::family_name |
( |
| ) |
const |
|
inline |
◆ font_size()
int tesseract::PangoFontInfo::font_size |
( |
| ) |
const |
|
inline |
◆ font_type()
◆ GetSpacingProperties()
bool tesseract::PangoFontInfo::GetSpacingProperties |
( |
const std::string & |
utf8_char, |
|
|
int * |
x_bearing, |
|
|
int * |
x_advance |
|
) |
| const |
◆ HardInitFontConfig()
void tesseract::PangoFontInfo::HardInitFontConfig |
( |
const std::string & |
fonts_dir, |
|
|
const std::string & |
cache_dir |
|
) |
| |
|
static |
◆ operator=()
void tesseract::PangoFontInfo::operator= |
( |
const PangoFontInfo & |
| ) |
|
|
private |
◆ ParseFontDescription()
bool tesseract::PangoFontInfo::ParseFontDescription |
( |
const PangoFontDescription * |
desc | ) |
|
|
private |
◆ ParseFontDescriptionName()
bool tesseract::PangoFontInfo::ParseFontDescriptionName |
( |
const std::string & |
name | ) |
|
◆ resolution()
int tesseract::PangoFontInfo::resolution |
( |
| ) |
const |
|
inline |
◆ set_resolution()
void tesseract::PangoFontInfo::set_resolution |
( |
const int |
resolution | ) |
|
|
inline |
◆ SoftInitFontConfig()
void tesseract::PangoFontInfo::SoftInitFontConfig |
( |
| ) |
|
|
static |
◆ ToPangoFont()
PangoFont * tesseract::PangoFontInfo::ToPangoFont |
( |
| ) |
const |
|
private |
◆ FontUtils
◆ cache_dir_
std::string tesseract::PangoFontInfo::cache_dir_ |
|
staticprivate |
◆ desc_
PangoFontDescription* tesseract::PangoFontInfo::desc_ |
|
private |
◆ family_name_
std::string tesseract::PangoFontInfo::family_name_ |
|
private |
◆ font_size_
int tesseract::PangoFontInfo::font_size_ |
|
private |
◆ font_type_
◆ fonts_dir_
std::string tesseract::PangoFontInfo::fonts_dir_ |
|
staticprivate |
◆ resolution_
int tesseract::PangoFontInfo::resolution_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/training/pango_font_info.h
- /home/stephane/src/tesseract/src/training/pango_font_info.cpp