alex elsholz wrote:

when i use the 0.20.5 fop i get a nullpointer when i use the txtrenderer
when the
renderer tries to use the member options (because it isnt initialized) in
line 1607.

i think its a bug, he should use the default utf-8 encoding in this case.
Ok, fixed in cvs, could you please verify?

but how can i set the variable?

i tried Configuration.put(txt.encoding", "....."), but without success.
From command line:
fop.bat test.fo -txt test.txt -txt.encoding ISO8859-5
Embedding:
Renderer renderer = new TXTRenderer();
Map options = new HashMap();
options.put("txt.encoding", "ISO8859-5");
renderer.setOptions(options);
driver.setRenderer(renderer);

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to