Merge branch 'RED-7012-361' into 'release/1.14.x'

RED-7012: changed writeGStateChanges with writeElement in method processPath...

See merge request redactmanager/ocr-service!12
This commit is contained in:
Ali Oezyetimoglu 2023-07-18 08:21:36 +02:00
commit be14edfcb1

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;
}