mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
fix redefinition in stringrenderer.cpp (stringrenderer.h)
This commit is contained in:
parent
9b7f2527f1
commit
6a998ec5d0
@ -140,14 +140,6 @@ void StringRenderer::set_resolution(const int resolution) {
|
||||
font_.set_resolution(resolution);
|
||||
}
|
||||
|
||||
void StringRenderer::set_underline_start_prob(const double frac) {
|
||||
underline_start_prob_ = min(max(frac, 0.0), 1.0);
|
||||
}
|
||||
|
||||
void StringRenderer::set_underline_continuation_prob(const double frac) {
|
||||
underline_continuation_prob_ = min(max(frac, 0.0), 1.0);
|
||||
}
|
||||
|
||||
StringRenderer::~StringRenderer() {
|
||||
ClearBoxes();
|
||||
FreePangoCairo();
|
||||
|
Loading…
Reference in New Issue
Block a user