FOP
  1. FOP
  2. FOP-1730

[PATCH] CMYK colors converted to RGB when not provided <fo:declarations> tag

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None
    • Environment:
      Operating System: Windows Vista
      Platform: PC
    • External issue ID:
      48167

      Description

      When using uncalibrated CMYK colors in FO file without a declarations tag (no
      need to provide the declaration tag for the uncalibrated CMYK colors, as the
      color profile source is not a necessary) like....

      <fo:block color="rgb-icc(0, 255, 0, #CMYK, 1, 0, 1, 0)">GREEN TEXT</fo:block>
      <fo:block color="rgb-icc(0, 255, 255, #CMYK, 1, 0, 0, 0)">CYAN TEXT</fo:block>

      When trying to generate a AFP output, and the AFP renderer is using RGB color
      space instead of CMYK color space..

      When declarations tag is used, it is generating AFP output with CMYK color
      space.

      Please find the input file and output attached to this bug.

      1. CMYK_AFPExplorer.jpg
        114 kB
        Venkat Reddy
      2. CMYKDeclarations.001.patch.txt
        0.6 kB
        Harald G. Henne
      3. CMYKDeclarations.patch
        1.0 kB
        Venkat Reddy
      4. cmyk-test.fo
        2 kB
        Venkat Reddy
      5. cmyk-test.fo
        2 kB
        Venkat Reddy
      6. screenshot.pdf
        84 kB
        Harald G. Henne

        Issue Links

          Activity

          Venkat Reddy created issue -
          Glenn Adams made changes -
          Field Original Value New Value
          Affects Version/s trunk [ 12323672 ]
          Affects Version/s all [ 12323671 ]
          Gavin made changes -
          Link This issue depends on FOP-1733 [ FOP-1733 ]
          Gavin made changes -
          Link This issue depends upon FOP-1733 [ FOP-1733 ]

            People

            • Assignee:
              fop-dev
              Reporter:
              Venkat Reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development