tesseract 5.2.0
Loading...
Searching...
No Matches
tesseract::FontUtilsTest Class Reference
Inheritance diagram for tesseract::FontUtilsTest:

Protected Member Functions

void SetUp () override
 

Static Protected Member Functions

static void SetUpTestCase ()
 

Detailed Description

Definition at line 176 of file pango_font_info_test.cc.

Member Function Documentation

◆ SetUp()

void tesseract::FontUtilsTest::SetUp ( )
inlineoverrideprotected

Definition at line 178 of file pango_font_info_test.cc.

178 {
180 }
static void MakeTmpdir()
Definition: include_gunit.h:38

◆ SetUpTestCase()

static void tesseract::FontUtilsTest::SetUpTestCase ( )
inlinestaticprotected

Definition at line 183 of file pango_font_info_test.cc.

183 {
184 FLAGS_fonts_dir = TESTING_DIR;
185 FLAGS_fontconfig_tmpdir = FLAGS_test_tmpdir;
186 if (!font_map) {
187 font_map = pango_cairo_font_map_new_for_font_type(CAIRO_FONT_TYPE_FT);
188 }
189 pango_cairo_font_map_set_default(PANGO_CAIRO_FONT_MAP(font_map));
190 }

The documentation for this class was generated from the following file: