Skip to content

Commit b670bed

Browse files
committed
PDFBOX-5979: fix file name as suggested by Niranjan Rao, comment DRY
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924572 13f79535-47bb-0310-9956-ffa450edef68
1 parent 263cbf8 commit b670bed

File tree

1 file changed

+2
-6
lines changed
  • debugger/src/main/java/org/apache/pdfbox/debugger/streampane/tooltip

1 file changed

+2
-6
lines changed

debugger/src/main/java/org/apache/pdfbox/debugger/streampane/tooltip/KToolTip.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,8 @@ ICC_ColorSpace getICCColorSpace() throws IOException
7575

7676
ICC_Profile getICCProfile() throws IOException
7777
{
78-
// Adobe Acrobat uses "U.S. Web Coated (SWOP) v2" as the default
79-
// CMYK profile, however it is not available under an open license.
80-
// Instead, the "ISO Coated v2 300% (basICColor)" is used, which
81-
// is an open alternative to the "ISO Coated v2 300% (ECI)" profile.
82-
83-
String name = "/org/apache/pdfbox/resources/icc/ISOcoated_v2_300_bas.icc";
78+
// Use profile from PDDeviceCMYK.getICCProfile()
79+
String name = "/org/apache/pdfbox/resources/icc/CGATS001Compat-v2-micro.icc";
8480

8581
URL url = PDDeviceCMYK.class.getResource(name);
8682
if (url == null)

0 commit comments

Comments
 (0)