Andreas,

Kind of you to take the time to try this.

I am on Preview Version 4.1 (469.4) on MacOs 10.5.6

FO is as simple as it gets I think

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
      <fo:simple-page-master master-name="pm" page-height="25cm"
                    page-width="20cm" margin-top="1cm"
                    margin-bottom="1cm" margin-left="1.5cm"
margin-right="1.5cm">
        <fo:region-body/>
      </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="pm">
      <fo:flow flow-name="xsl-region-body">
        <fo:block-container absolute-position="fixed" top="4cm" left="4cm" >
          <fo:block >
            <fo:inline>This is text</fo:inline>
          </fo:block>
        </fo:block-container>
    </fo:flow>
  </fo:page-sequence>
</fo:root>


Attached the pdf with fop 0.95...if it makes it through the list server.
Rendered it with 
 fop -u -noprint -nocopy -fo t2.fo -pdf t2.pdf


It opens in Acrobat reader without further ado, but I get the password input
screen of Preview

Adding a password makes Acrobat ask for it and then open the file. Preview
refuses to open it even if the password is entered.

Thanks!

peter

> From: Andreas Delmelle <[email protected]>
> Reply-To: <[email protected]>
> Date: Thu, 29 Jan 2009 00:12:23 +0100
> To: <[email protected]>
> Subject: Re: FOP Encrypted files can not be opened with Mac's Preview?
> 
> On 28 Jan 2009, at 23:31, Peter Coppens wrote:
> 
> Hi Peter
> 
>> We are currently using, on customer request, fop¹s encryption
>> features to disallow e.g. copying of text.
>> 
>> Works fine when the pdf is opened in Acrobat but does not work in
>> MacOs¹s Preview (10.5.something)
> 
> I cannot immediately reproduce that over here (10.5.6) with a
> relatively simple FO producing a single page. Tested "-noprint -nocopy
> -u test", and encountered no issues opening the file in Preview.
> 
> Anything special about the FO and/or PDF that could be causing this?
> 
> 
> Andreas
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Attachment: t2.pdf
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to