[EMAIL PROTECTED]
Help unsubscribe! I've sent a mail to this address: [EMAIL PROTECTED] several times without success... From: Jeremias Maerki [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Subject: Re: PDF Encrption problem Date: Fri, 30 Jun 2006 10:10:55 +0100 On 30.06.2006 09:00:55 Chris Bowditch wrote: Singhal, Ramneek (Exchange) wrote: Hi I am able to create PDF with encryption. I think it was policy file problem. I installed RC4 providers as extension and it worked fine. Now I have another problem. I am embedding Time New Roman and Ariel fonts in generated PDF. If I create PDF with -noprint switch while open the generated PDF in Acrobet it complains that its not able to extract embedded fonts and all the text becomes garbage. Whereas without -noprint switch everthing works fine. I seem to remember that FOP 0.20.5 had a bug which mean encryption didn't work with custom fonts. This issue is fixed in 0.92beta, so why not upgrade? Nonono, the problem is still not fixed. ToUnicode tables are still missing. Patch available in Bugzilla but it is code snatched from FOray. To apply that proper licensing has to be established. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem creating TTF metrics file - TTFReader FileNotFoundException
I'm using the 1.4.2 sdk. From: Jeffery PinterParsons [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Subject: Re: Problem creating TTF metrics file - TTFReader FileNotFoundException Date: Tue, 14 Jun 2005 18:33:36 -0400 What version of Java are you using? FOP only supports 1.4.x. tony schmidt wrote: Thanks, Jeremias. I've tried every combination of absolute, relative and no paths for libraries, input and output files. No luck. From: Jeremias Maerki [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Subject: Re: Problem creating TTF metrics file - TTFReader FileNotFoundException Date: Tue, 14 Jun 2005 08:24:07 +0200 Interestingly, the same problem happened to another guy lately. Try not to specify a path for the output file, just the filename. That may help. But don't ask me why. I haven't investigated. On 13.06.2005 18:45:29 tony schmidt wrote: I have seen this topic mentioned elsewhere in the list, but have not found a satisfactory solution to the problem. I am trying to create a TTF metrics file according to the instructions at: http://xml.apache.org/fop/fonts.html , but have not had any luck on either Windows XP or Linux operating systems. Both produce the following error: BEGIN ERROR MESSAGE TTF Reader v1.1.1 Reading Garamond.ttf... Number of glyphs in font: 662 Creating xml font file... Creating CID encoded metrics Writing xml font file garamond.xml... javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/mnt/hda4/apps/fop-0.20.5/garamond.xml (No such file or directory) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:263) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:296) at org.apache.fop.fonts.apps.TTFReader.writeFontXML(TTFReader.java:242) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:196) Caused by: java.io.FileNotFoundException: file:/mnt/hda4/apps/fop-0.20.5/garamond.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(Unknown Source) at java.io.FileOutputStream.init(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:253) ... 3 more- java.io.FileNotFoundException: file:/mnt/hda4/apps/fop-0.20.5/garamond.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(Unknown Source) at java.io.FileOutputStream.init(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:253) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:296) at org.apache.fop.fonts.apps.TTFReader.writeFontXML(TTFReader.java:242) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:196) This font contains no embedding license restrictions --- END ERROR MESSAGE -- I am using the following command with fop-0.20.5 and j2sdk1.4.2_08: --- BEGIN COMMAND - java -cp build/fop.jar:lib/avalon-framework-cvs-20020806.jar:lib/xml-apis.jar:lib/xercesImpl-2.2.1.jar:lib/xalan-2.4.1.jar org.apache.fop.fonts.apps.TTFReader Garamond.ttf garamond.xml -- END COMMAND --- Any help would be greatly appreciated. Tony Schmidt Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem creating TTF metrics file - TTFReader FileNotFoundException
Thanks, Jeremias. I've tried every combination of absolute, relative and no paths for libraries, input and output files. No luck. From: Jeremias Maerki [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Subject: Re: Problem creating TTF metrics file - TTFReader FileNotFoundException Date: Tue, 14 Jun 2005 08:24:07 +0200 Interestingly, the same problem happened to another guy lately. Try not to specify a path for the output file, just the filename. That may help. But don't ask me why. I haven't investigated. On 13.06.2005 18:45:29 tony schmidt wrote: I have seen this topic mentioned elsewhere in the list, but have not found a satisfactory solution to the problem. I am trying to create a TTF metrics file according to the instructions at: http://xml.apache.org/fop/fonts.html , but have not had any luck on either Windows XP or Linux operating systems. Both produce the following error: BEGIN ERROR MESSAGE TTF Reader v1.1.1 Reading Garamond.ttf... Number of glyphs in font: 662 Creating xml font file... Creating CID encoded metrics Writing xml font file garamond.xml... javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/mnt/hda4/apps/fop-0.20.5/garamond.xml (No such file or directory) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:263) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:296) at org.apache.fop.fonts.apps.TTFReader.writeFontXML(TTFReader.java:242) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:196) Caused by: java.io.FileNotFoundException: file:/mnt/hda4/apps/fop-0.20.5/garamond.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(Unknown Source) at java.io.FileOutputStream.init(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:253) ... 3 more- java.io.FileNotFoundException: file:/mnt/hda4/apps/fop-0.20.5/garamond.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(Unknown Source) at java.io.FileOutputStream.init(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:253) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:296) at org.apache.fop.fonts.apps.TTFReader.writeFontXML(TTFReader.java:242) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:196) This font contains no embedding license restrictions --- END ERROR MESSAGE -- I am using the following command with fop-0.20.5 and j2sdk1.4.2_08: --- BEGIN COMMAND - java -cp build/fop.jar:lib/avalon-framework-cvs-20020806.jar:lib/xml-apis.jar:lib/xercesImpl-2.2.1.jar:lib/xalan-2.4.1.jar org.apache.fop.fonts.apps.TTFReader Garamond.ttf garamond.xml -- END COMMAND --- Any help would be greatly appreciated. Tony Schmidt Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]