Fixing antialias conflation includes line width

This commit is contained in:
Jindra Petřík
2025-04-21 08:42:43 +02:00
parent 209e49503a
commit b854b7b7b5
4 changed files with 7 additions and 3 deletions

View File

@@ -421,6 +421,10 @@ public class BitmapExporter extends ShapeExporterBase {
if (thickness * unzoom < 1 * SWF.unitDivisor) {
thickness = 1 * SWF.unitDivisor / unzoom;
}
if (Configuration.fixAntialiasConflation.get()) {
thickness += 1 * SWF.unitDivisor / unzoom;
}
if (joinStyle == BasicStroke.JOIN_MITER) {
//lineStroke = new BasicStroke((float) thickness, capStyle, joinStyle, miterLimit);