Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1730

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

    Details

    • Type: 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.

        Attachments

        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

              People

              • Assignee:
                fop-dev@xmlgraphics.apache.org fop-dev
                Reporter:
                vanukuri.venkat@googlemail.com Venkat Reddy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: