xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <dev.jerem...@greenmail.ch>
Subject Re: PDF encryption and unreadable bookmarks
Date Wed, 04 Jun 2003 14:23:54 GMT
I can confirm: This is a bug. The nice thing about it is that it works
in the redesign. :-) But that won't make you happy. I've filed a bug in
BugZilla:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20480

I'll have to reactivate my brain to find out what I did in the redesign
to make it work. I'll be back.

On 03.06.2003 12:04:25 Togan Muftuoglu wrote:
> With a build of today's CVS of FOP 0.25rc3 I have a strange problem.
> First of all sorry I can not send neither a pdf nor fo source as 80 % of
> the Internet connection in Turkey is down and getting and sending emails
> is extremely difficult.
> 
> I have tested using docbook-test documents [1] using
> docbook-xsl-stylesheets 1.61.2 [2] For the sake of simplicity I used the
> book.001.xml test file with the  following stylesheet using Saxon 6.5.2 
> 
> 
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                 version="1.0">
> 
> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
> 
> <xsl:output method="xml" indent="yes"/>
> 
> <xsl:param name="use.extensions" select="'1'"/>
> <xsl:param name="saxon.extensions" select="'1'"/>
> <xsl:param name="double.sided" select="'1'"/>
> <xsl:param name="fop.extensions" select="'1'"/>
> </xsl:stylesheet>
> 
> toganm@earth:~/projects/sfnet/suse/articles> java -version
> java version "1.3.1_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
> Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
> 
> When I lookto the generated fo file everything is correct
> 
> <fox:outline xmlns:fox="http://xml.apache.org/fop/extensions"
> internal-destination="book">
>       <fox:label>Unit Test: book.001</fox:label>
>    </fox:outline>
>    <fox:outline xmlns:fox="http://xml.apache.org/fop/extensions"
> internal-destination="forward">
>       <fox:label>Foreword</fox:label>
>    </fox:outline>
>    <fox:outline xmlns:fox="http://xml.apache.org/fop/extensions"
> internal-destination="preface">
>       <fox:label>Preface</fox:label>
>    </fox:outline>
>    <fox:outline xmlns:fox="http://xml.apache.org/fop/extensions"
> internal-destination="partI">
>       <fox:label>Part I. Part One Title</fox:label>
>       <fox:outline internal-destination="pIpis1">
>          <fox:label>PartIntro Section</fox:label>
>       </fox:outline>
> 
> I have used fop with the default config
> 
> fop.sh -d -o 123 book.fo book.pdf
> 
> The generated pdf has garbage characters for the bookmarks yet everythig
> is else correct. If I don't use the encryption then bookmarks are again
> displayed properly. 
> 
> Any ideas what is going wrong, what to check or is this a feature   


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message