diff --git a/src/servers/app/drawing/Painter/font_support/AGGTextRenderer.cpp b/src/servers/app/drawing/Painter/font_support/AGGTextRenderer.cpp index 95ce3c89ca..3316e0b120 100644 --- a/src/servers/app/drawing/Painter/font_support/AGGTextRenderer.cpp +++ b/src/servers/app/drawing/Painter/font_support/AGGTextRenderer.cpp @@ -29,7 +29,7 @@ #define FLIP_Y false -#define SHOW_GLYPH_BOUNDS 1 +#define SHOW_GLYPH_BOUNDS 0 #if SHOW_GLYPH_BOUNDS # include @@ -184,7 +184,6 @@ AGGTextRenderer::RenderString(const char* string, fCurves.approximation_scale(transform.scale()); -#if 0 // use a transformation behind the curves // (only if glyph->data_type == agg::glyph_data_outline) // in the pipeline for the rasterizer @@ -195,7 +194,6 @@ AGGTextRenderer::RenderString(const char* string, typedef agg::conv_transform conv_font_contour_trans_type; conv_font_contour_trans_type transformedContourOutline(fContour, transform); -#endif float falseBoldWidth = fContour.width(); double x = 0.0; @@ -299,13 +297,11 @@ AGGTextRenderer::RenderString(const char* string, // TODO: this currently falls into an endless loop - this is a quick fix to keep the // app_server running - instead of the characters, their bounding boxes will be shown -#if 0 if (fContour.width() == 0.0) { fRasterizer.add_path(transformedOutline); } else { fRasterizer.add_path(transformedContourOutline); } -#endif #if SHOW_GLYPH_BOUNDS agg::path_storage p; p.move_to(glyphBounds.left + 0.5, glyphBounds.top + 0.5);