From 7f3c6a927f2062eaa795caed6e502972ced9a7d3 Mon Sep 17 00:00:00 2001 From: Maxim Date: Tue, 24 Sep 2024 21:50:03 +0300 Subject: [PATCH] Update color calculation of non-isolated transparency group --- .../java/org/verapdf/gf/model/impl/pd/images/GFPDXForm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/images/GFPDXForm.java b/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/images/GFPDXForm.java index bd0ef39f8..4b8fda652 100644 --- a/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/images/GFPDXForm.java +++ b/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/images/GFPDXForm.java @@ -115,7 +115,7 @@ private List getGroup() { public PDColorSpace getBlendingColorSpace() { org.verapdf.pd.PDGroup group = ((org.verapdf.pd.images.PDXForm) this.simplePDObject).getGroup(); - if (group == null || !ASAtom.TRANSPARENCY.equals(group.getSubtype())) { + if (group == null || !ASAtom.TRANSPARENCY.equals(group.getSubtype()) || !group.isIsolated()) { return null; } PDColorSpace colorSpace = group.getColorSpace();