diff options
Diffstat (limited to 'core/fpdfapi/render/cpdf_renderstatus.cpp')
-rw-r--r-- | core/fpdfapi/render/cpdf_renderstatus.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_renderstatus.cpp b/core/fpdfapi/render/cpdf_renderstatus.cpp index 8b58295ab4..29a30157df 100644 --- a/core/fpdfapi/render/cpdf_renderstatus.cpp +++ b/core/fpdfapi/render/cpdf_renderstatus.cpp @@ -2638,8 +2638,10 @@ FX_ARGB CPDF_RenderStatus::GetBackColor(const CPDF_Dictionary* pSMaskDict, return kDefaultColor; int family = pCS->GetFamily(); - if (family == PDFCS_LAB || family == PDFCS_ICCBASED || pCS->IsSpecial()) + if (family == PDFCS_LAB || pCS->IsSpecial() || + (family == PDFCS_ICCBASED && !pCS->IsNormal())) { return kDefaultColor; + } // Store Color Space Family to use in CPDF_RenderStatus::Initialize(). *pCSFamily = family; |