diff --git a/training/stringrenderer.cpp b/training/stringrenderer.cpp index a4f1994b4d..43c3d7efae 100644 --- a/training/stringrenderer.cpp +++ b/training/stringrenderer.cpp @@ -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();