RE: Performance improvement suggestions

2013-01-17 Thread nels
Thanks again. I have used the Unix method of redirecting output now. The
process will be run from the application and the messages are meaningless to
the end user hence my question.



-
just starting out with FOP - don't hurt me!
--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Performance-improvement-suggestions-tp37754p37775.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Performance improvement suggestions

2013-01-17 Thread Glenn Adams
If you want to use strict mode using the command line interface, then you
need to use the FOP configuration file to specify strict validation mode.
See http://xmlgraphics.apache.org/fop/1.1/configuration.html. In other
words, insert

strict-validationtrue/strict-validation

into your fop.xconf file at the appropriate level.

On Thu, Jan 17, 2013 at 12:45 AM, John Brown johnbrown...@hotmail.comwrote:

 Nels wrote:
 
  Thanks John, doing that I now get this error:
 
  Exception in thread main java.lang.NoClassDefFoundError:
 snip/
  Could not find the main class: fopFactory.setStrictValidation(false).
  Program will exit.
 

 I was not really paying atention to what you were trying to do.
 The previous instruction was just to get the shell to accept
 brackets. However, FOP_OPTS is for specifying parameters to java,
 for example -Xms64m to set the initial size of the heap to 64 MB.
 You cannot insert a function call there.

 Regards,
 John Brown.
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




Fwd: FOP 1.1 - Unable to copy/paste text is not working

2013-01-17 Thread Neeraj
Hi,

I am using FOP 1.1 and through command line; trying to create PDF in
Arabic language. Now when i copy Arabic text from PDF to UTF-8 editor.
it not shows some Arabic chars, instead of shows box.

Please help me to resolve this issue. I have attached corresponding files.

command line:

fop -c fop.xconf -fo arabic.fo -pdf out.pdf


fop.xconf
Description: Binary data


arabic.fo
Description: Binary data


out.pdf
Description: Adobe PDF document

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: Performance improvement suggestions

2013-01-17 Thread nels
Glenn Adams-2 wrote
 If you want to use strict mode using the command line interface, then you
 need to use the FOP configuration file to specify strict validation mode.
 See http://xmlgraphics.apache.org/fop/1.1/configuration.html. In other
 words, insert
 strict-validation
 true
 /strict-validation
 into your fop.xconf file at the appropriate level.

Thanks Glenn. I just tried running (1.1) FOP with the issued xconf file and
it complained:
fop[58]: 0403-057 Syntax error at line 2 : `newline or ;' is not expected.

The first few lines look like this:
?xml version=1.0?





fop version=1.0

  
  base./base

Do I need to edit it first?



-
just starting out with FOP - don't hurt me!
--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Performance-improvement-suggestions-tp37754p37781.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fwd: FOP 1.1 - Unable to copy/paste text is not working

2013-01-17 Thread Luis Bernardo
does your editor know about the font you are using? if you highlight the 
text in the editor and set the font to Arial do you see any glyph?


I tried your example but with Arial, copied and pasted to OpenOffice and 
I am able to see the glyphs.


now, not that this makes a difference for your problem, are you sure the 
output file you sent was generated with the fop.xconf you sent? in your 
conf file you have embedding mode full but in the output file it is 
being subset.


On 1/17/13 1:58 PM, Neeraj wrote:

Hi,

I am using FOP 1.1 and through command line; trying to create PDF in
Arabic language. Now when i copy Arabic text from PDF to UTF-8 editor.
it not shows some Arabic chars, instead of shows box.

Please help me to resolve this issue. I have attached corresponding files.

command line:

fop -c fop.xconf -fo arabic.fo -pdf out.pdf


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org