Fix render issue with combining chars intersecting with the base char.

Example: text("A\u030A", font = "Arial");

The fix relies on the winding order of the polygons reported by FreeType
to be correct, so the Clipper union operation keeps that information.
master
Torsten Paul 2014-07-06 18:41:41 +02:00
parent ea21e0fbd5
commit 90ef6c95a3
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ DrawingCallback::~DrawingCallback()
void DrawingCallback::start_glyph()
{
this->polygon = new Polygon2d();
this->polygon->setSanitized(true);
}
void DrawingCallback::finish_glyph()