Searched refs:x_gap_before (Results 1 – 4 of 4) sorted by relevance
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/ |
H A D | fontinfo.h | 54 int16_t x_gap_before; member 113 *spacing = prev_fsi->x_gap_after + fsi->x_gap_before; in get_spacing()
|
H A D | fontinfo.cpp | 175 if (!f->DeSerialize(&fs->x_gap_before) || !f->DeSerialize(&fs->x_gap_after) || in read_spacing_info() 209 if (!tesseract::Serialize(f, &fs->x_gap_before) || in write_spacing_info()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/training/ |
H A D | text2image.cpp | 202 SpacingProperties() : x_gap_before(0), x_gap_after(0) {} in SpacingProperties() 203 SpacingProperties(int b, int a) : x_gap_before(b), x_gap_after(a) {} in SpacingProperties() 206 int x_gap_before; // horizontal x bearing member 305 xgap != (spacing_map_it0->second.x_gap_after + spacing_map_it1->second.x_gap_before)) { in ExtractFontProperties() 320 spacing_map_it->second.x_gap_before, spacing_map_it->second.x_gap_after, in ExtractFontProperties()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/training/common/ |
H A D | mastertrainer.cpp | 482 int x_gap, x_gap_before, x_gap_after, num_kerned; in AddSpacingInfo() local 488 if (tfscanf(fontinfo_file, "%s %d %d %d", uch, &x_gap_before, &x_gap_after, in AddSpacingInfo() 497 spacing->x_gap_before = static_cast<int16_t>(x_gap_before * scale); in AddSpacingInfo()
|