RED-7012: changed writeGStateChanges with writeElement in method processPath to resolve BASF error when ocring special file

This commit is contained in:
Ali Oezyetimoglu 2023-07-17 17:53:29 +02:00
parent a27f90e1dd
commit 5d5040f9c1

View File

@ -238,7 +238,7 @@ public class InvisibleElementRemovalService {
PathData pathData = pathElement.getPathData();
if (pathData.getOperators().length == 0 && pathData.getPoints().length == 0 || pathElement.getBBox() == null) {
writer.writeGStateChanges(pathElement);
writer.writeElement(pathElement);
return;
}