OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: PDF Output with Oxygen and Custom XSL Stylesheet: One color is defined but when transforming to Pdf two colors appear


I use a different tool chain but came across a similar issue where the same color defined in multiple places looked different in the final PDF. It turned out to be specific to the PDF reader. If I recall correctly, Adobe Reader was the offender, and when I opened the file directly in Google Chrome (which can display PDFs natively), the color appeared the same in both places. So it seemed like it was defined correctly in the PDF, but somehow the rendering on the screen was inaccurate.

 

 

From: daniel.keyes@finaris.de [mailto:daniel.keyes@finaris.de]
Sent: Thursday, February 02, 2012 04:02
To: docbook-apps@lists.oasis-open.org
Subject: PDF Output with Oxygen and Custom XSL Stylesheet: One color is defined but when transforming to Pdf two colors appear

 

Hello,

a new problem occured whil generating PDFs with our custom XSL stylesheet.
For our user manual we have designed an example box, designed for specific code examples etc., It is basically a text box with a dark green border and a light-green background:

    <xsl:template match="d:example_box">
        <fo:block start-indent="3.25cm" border-width="2px" border-color="green" border-style="solid" background-color="#98FB98" >
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

The problem is that its appearance varies, depending if inserted in a chapter or section ( in this case it was sect1).
The example box seems waymore darker if applied in a chapter compared to an example box in section 1, even though there is only one definition.

Any clues what the problem might be and how we can solve it?

Greetings,

Daniel


=======================================================
Disclaimer
The information contained in this e - mail and any attachments
( together the "message") is intended for the addressee only and may
contain confidential and/or privileged information. If you have received
the message by mistake please delete it and notify the sender and do
not copy or distribute it or disclose its contents to anyone.

FINARIS Financial Software Partner GmbH
Sömmerringstr. 23, 60322 Frankfurt/Main, Germany
Registered at Frankfurt/Main, HRB 52873

Managing Directors:
Dipl. Inf. Hermann Friebel, Dipl. Ing. Kai Bächle, Dipl. Inf. Werner Märkl
=======================================================



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]