RE : Code for c accent

2004-03-31 Thread VAGNER Rodolphe
Try to install pdf fonts that contains this character code : your installed  
font don't support it ( what # means)

--  -Message d'origine-
--  De : Lucian Opris [mailto:[EMAIL PROTECTED] 
--  Envoyé : mercredi 31 mars 2004 16:44
--  À : [EMAIL PROTECTED]
--  Objet : RE: Code for c accent
--  
--  
--  
--  Hi,
--  I've tried that before and It was not working.
--  What I have in my script is ć and returns only #.
--  Thanks for any help
--  
--  
--  Lucian Opris
--  -Original Message-
--  From: Will Gilbert [mailto:[EMAIL PROTECTED] 
--  Sent: Wednesday, March 31, 2004 8:45 AM
--  To: [EMAIL PROTECTED]
--  Subject: Re: Code for c accent
--  
--  
--  On Mar 31, 2004, at 8:24 AM, Lucian Opris wrote:
--  
--  > Hi,
--  > Does anybody know the unicode code for c accent ( c )?
--  > Thanks
--  
--  
--   From the Latin Extended-A subset
--  
--  0106 - Latin Capital Letter C with acute
--  0107 - Latin Small Letter C with acute
--  
--  
--  
--  -
--  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 : hyphenation problem

2004-01-27 Thread VAGNER Rodolphe
Do you think the error below can be generated by the absence of a fr.xml 
hyphenation file in  the 0.20.5 version of FOP ? So the two problems (add 
hyphenation file and this error ) maibe the same one . 
If not, does someone know how I can fix this please : 

java.io.InvalidClassException: 
org.apache.fop.layout.hyphenation.HyphenationTree; Local class not compatible: 
stream cla
ssdesc serialVersionUID=-7784516835472871478 local class 
serialVersionUID=6956085100635965297
at java.io.ObjectStreamClass.validateLocalClass(Unknown Source)
at java.io.ObjectStreamClass.setClass(Unknown Source)
at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at 
org.apache.fop.layout.hyphenation.Hyphenator.getFopHyphenationTree(Hyphenator.java:165)
at 
org.apache.fop.layout.hyphenation.Hyphenator.getHyphenationTree(Hyphenator.java:91)
at 
org.apache.fop.layout.hyphenation.Hyphenator.hyphenate(Hyphenator.java:251)
at org.apache.fop.layout.LineArea.doHyphenation(LineArea.java:1208)
at org.apache.fop.layout.LineArea.addText(LineArea.java:857)
at org.apache.fop.fo.FOText.addRealText(FOText.java:278)
at org.apache.fop.fo.FOText.addText(FOText.java:252)
at org.apache.fop.fo.FOText.layout(FOText.java:161)
at org.apache.fop.fo.FObjMixed.layout(FObjMixed.java:139)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.TableCell.layout(TableCell.java:326)
at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:360)
at 
org.apache.fop.fo.flow.AbstractTableBody.layout(AbstractTableBody.java:236)
at org.apache.fop.fo.flow.Table.layout(Table.java:302)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
at 
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
at org.apache.fop.apps.Fop.main(Fop.java:62)





--  -Message d'origine-
--  De : Peter Menzel [mailto:[EMAIL PROTECTED] 
--  Envoyé : mardi 27 janvier 2004 10:06
--  À : [EMAIL PROTECTED]
--  Objet : Re: hyphenation problem
--  
--  
--  Hi
--  
--  If you want to include new hyphenation patterns into fop, 
--  it's not enough to zip them into the fop.jar.. You have to 
--  download the source, copy the patterns in the hyph dir and 
--  then run the build script, to compile a new jar file..
--  
--  Peter
--  
--  
--  
--  > Hy,
--  >  
--  > I upgrade from 0.20.4 to 0.20.5 and I have the following 
--  error in the 
--  > log :
--  >  
--  > "[ERROR] Couldn't find hyphenation pattern  fr_fr
--  > using general language pattern fr instead."
--  >  
--  > Even I've add to fop.jar the fr.hyp file.
--  >  
--  > Maibe it's not the right solution, but french hyphenation was not 
--  > support in the 0.20.5 I beleave.
--  >  
--  > Could someone help please.
--  >  
--  >  
--  > 
--  --
--  [EMAIL PROTECTED]
--  Institut für Medizinische Informatik, Statistik und 
--  Epidemiologie (IMISE) Universität Leipzig
--  
--  
--  -
--  To unsubscribe, e-mail: [EMAIL PROTE

RE : hyphenation problem

2004-01-27 Thread VAGNER Rodolphe
I try the rebuild method proposed  and both points of last mail are ok.
Thank you very much.

Ro

--  -Message d'origine-
--  De : Peter Menzel [mailto:[EMAIL PROTECTED] 
--  Envoyé : mardi 27 janvier 2004 10:06
--  À : [EMAIL PROTECTED]
--  Objet : Re: hyphenation problem
--  
--  
--  Hi
--  
--  If you want to include new hyphenation patterns into fop, 
--  it's not enough to zip them into the fop.jar.. You have to 
--  download the source, copy the patterns in the hyph dir and 
--  then run the build script, to compile a new jar file..
--  
--  Peter
--  
--  
--  
--  > Hy,
--  >  
--  > I upgrade from 0.20.4 to 0.20.5 and I have the following 
--  error in the 
--  > log :
--  >  
--  > "[ERROR] Couldn't find hyphenation pattern  fr_fr
--  > using general language pattern fr instead."
--  >  
--  > Even I've add to fop.jar the fr.hyp file.
--  >  
--  > Maibe it's not the right solution, but french hyphenation was not 
--  > support in the 0.20.5 I beleave.
--  >  
--  > Could someone help please.
--  >  
--  >  
--  > 
--  --
--  [EMAIL PROTECTED]
--  Institut für Medizinische Informatik, Statistik und 
--  Epidemiologie (IMISE) Universität Leipzig
--  
--  
--  -
--  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]



hyphenation problem

2004-01-26 Thread VAGNER Rodolphe
Title: Message



Hy, 

 
I upgrade from 
0.20.4 to 0.20.5 and I have the following error in the log 
:
 
"[ERROR] Couldn't 
find hyphenation pattern  fr_frusing general language pattern fr 
instead."
 
Even I've add to fop.jar the fr.hyp 
file.
 
Maibe it's not the right solution, but french 
hyphenation was not support in the 0.20.5 I 
beleave.
 
Could someone help 
please.
 
 


RE : SVG scaling issue (when rendering 2 SVGs of same height)

2003-12-05 Thread VAGNER Rodolphe
It may comes form your view box in svg documents : one is 56. width, the 
other only 16 

--  -Message d'origine-
--  De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
--  Envoyé : vendredi 5 décembre 2003 16:27
--  À : [EMAIL PROTECTED]
--  Objet : SVG scaling issue (when rendering 2 SVGs of same height)
--  
--  
--  Hello,
--  
--  I'm trying to render a pdf containing external svg graphics and I 
--  encounter a scaling problem.
--  I know this topic was already discussed, but I want to know 
--  if there's 
--  something new.
--  
--  I put two SVGs in a table, in the same row, in two cells. 
--  These SVG have 
--  the same height, but different widths. But in the pdf they have a 
--  different size.
--  These SVG are quite plain (rectangles). They were created 
--  with Adobe 
--  Illustrator, they contain a "path" element. If I use a svg 
--  containing a 
--  "rect" element, the problem disapears. If I use a bitmap 
--  graphic too.
--  
--  I've tried to change some attributes (width, height...) of the 
--  fo:external-graphic tag but it doesn't work better. 
--  
--  I've joined the two SVGs, the xsl-fo file and the resulting 
--  pdf (it's not 
--  too big).
--  
--  Any idea ?
--  
--  Thanks.
--  
--  Here's the fo tree :
--  
--  
--  http://www.w3.org/1999/XSL/Format";>
--
--  
--  
--  
--
--  
--
--  
--  
--  
--   
--
--   
--  
--  
--  
--  
--  
--   
--   
--  
--  
--  
--  
--   
--   
--   
--
--  
--  
--  
--
--  
--  
--  

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



RE : fo:inline background-color

2003-12-05 Thread VAGNER Rodolphe
All right, for me in blocks too. The matter is when used in fo:inline element.


--  -Message d'origine-
--  De : Stan Pinte [mailto:[EMAIL PROTECTED] 
--  Envoyé : vendredi 5 décembre 2003 13:38
--  À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
--  Objet : Re: fo:inline background-color
--  
--  
--  On Fri, 5 Dec 2003 11:09:35 +0100, VAGNER Rodolphe 
--  <[EMAIL PROTECTED]> wrote:
--  
--  > Hy,
--  > I'd like to highlight a text with fo:inline 
--  background-color="yellow"
--  
--  background-color works for me in block elements.
--  
--  > but it does not work.
--  > Background-color is not implemented ?
--  > I may use a bad property of the fo:inline element ?
--  > Is there a work around ?
--  > Thanks for helping
--  >
--  
--  
--  
--  -- 
--  Stan Pinte.
--  
--  
--  -
--  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]



fo:inline background-color

2003-12-05 Thread VAGNER Rodolphe
Title: Message



Hy, 

 
I'd like to 
highlight a text with fo:inline background-color="yellow" but it does not 
work.
Background-color is 
not implemented ?
I may use a bad 
property of the fo:inline element ?
Is there a work 
around ?
 
Thanks for 
helping


problem with basic links in list-block in a table

2003-11-17 Thread VAGNER Rodolphe
Title: Message



Hi,
 
I have links in a 
list block that is in a table.
The attached picture 
illustrates the following :
Image a table with 2 
columns.
The problem is that 
when the links are in second column, they seems not to be active 
link.
In fact the active 
zone for the link are in the first column, at the same 
heigth
Is there a mean to 
keep the link zone with the text of the link in this case (list-block in a 
table) ??
 
Help would be great. 
Thanks.
 
Rodolph
<>-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE : How to display bullets in PDF or RTF

2003-07-31 Thread VAGNER Rodolphe
Title: Message



You 
should use lists :
 
  provisional-label-separation="10pt">

    
    
 
   
 
    
❑
   
 
   
   
 
 
  
   


  
  -Message d'origine-De : Raghava Reddy Narapa 
  Reddy [mailto:[EMAIL PROTECTED] Envoyé : jeudi 31 
  juillet 2003 11:15À : 
  [EMAIL PROTECTED]Objet : How to display bullets in PDF 
  or RTF
  Hi 
  All
   
  I need to use 
  bullets in one of the  PDF , How can i display bullets in 
  PDF.
   
  Regards
  Raghava


pdf properties : tips and notes

2003-07-30 Thread VAGNER Rodolphe
Title: Message



Hy, 

just to know if fop 
permits to create PDF with pdf notes and/or pdf tips.
 
 
Thanks a 
lot.
 
Rodolphe


minimize the PDF size

2003-07-28 Thread VAGNER Rodolphe
Title: Message



Hy, 

I beleave some have 
already ask about it, but well.
Does FOP provides a 
way to reduce the PDF size generated ?
Is there some config 
options that could permit the PDF to be smaller than a "normal" 
transform.
 
Thanks for the 
info.
 
Rodolphe


garbage collector

2003-07-25 Thread VAGNER Rodolphe
Title: Message




Hy, I see on the site 
of FOP the following :
"Currently, the images are not automatically 
released when an OutOfMemoryError is imminent. The image cache can grow to a 
considerable size over time when a lot of different URLs are in use. Starting 
with version 0.20.5 you can call org.apache.fop.image.FopImageFactory.resetCache() to 
manually empty the cache. Image caching will be improved as part of our redesign 
effort. "
So I dont really 
understand how I can perform a GC during FOP is 
running.
Can someone tell 
me if perform a GC during fop is running is possible, and how, 
please.
Thank for 
helping.
 
Rodolphe
 


Fop : difference between batch or jsp launch

2003-07-22 Thread VAGNER Rodolphe
Hy, 
I usually use FOP client side, using a batch to launch it.
I'm to do the same on a Tomcat server so with JSP I beleave.

But the same FO is transformed with the batch process and is not with
the jsp (in tomcat) process.

I noticed this message is displayed when I launch the batch :

[DEBUG] Input mode:
[DEBUG] FO
[DEBUG] fo input file: my.fo
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: FT410 GFH T533-23.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory:
file:/C:/tropic/jakarta-tomcat-3.3.1/webapps/tropic/fop-0.20.5rc3a/
[INFO] FOP 0.20.5rc3a
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts


And I noticed the jsp display this :

[DEBUG] FO
[DEBUG] fo input file: my.fo
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: FT410_GFH_T533-23.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.crimson.parser.XMLReaderImpl as SAX2 Parser
[INFO] base directory: file:/C:/tropic/jakarta-tomcat-3.3.1/bin/
[INFO] FOP 0.20.5rc3a
[INFO] Using org.apache.crimson.parser.XMLReaderImpl as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts


The first transform is done correctly, the second is not :
(org.apache.fop.apps.FOPException: Character conversion error: 
 "Unconvertible UTF-8 character beginning with 0xaa").
The problem can be from the parser used ? (seems to be sax for the
batch, and crimson for the jsp)
The bases directories differ too. Can it be a problem ?

Any Idea ?
Help would be great.
Thanks.

Rodolphe



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



Unconvertible UTF-8 character beginning with 0xaa

2003-07-21 Thread VAGNER Rodolphe
Title: Message



Hy, I try to use fop 
0.20.5 in a jsp with tomcat.
When I transform FO 
I have this error :
 
org.apache.fop.apps.FOPException: Character conversion error:
"Unconvertible UTF-8 character beginning with 0xaa" (line number may be too 
low)
null
 
Can someone help : 
I'd like to what can be wrong ? My FO ?
Why 
?
 
Thank 
you.
 
Rodolphe
 


java extens in embeded xslt transformation

2003-07-18 Thread VAGNER Rodolphe
Title: Message



Hy,
 
I work on an XSLT 
stylesheet that uses java extens.
Launched throught a 
'.bat' it transforms well : my class directory is added to the xalan class 
path.
Launched with java, 
in a jsp, How can I add the directory of my class to Xalan. It tells 
me :
 
Erreur interne de 
servlet:javax.servlet.ServletException: For extension function, could not find method java.lang.String.modif([ExpressionContext,] #STRING).
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460)
	at jsp.transfoFOP_22._jspService(transfoFOP_22.java:155)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
	at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
	at org.apache.tomcat.core.Handler.service(Handler.java:235)
	at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
	at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
	at java.lang.Thread.run(Thread.java:484)
Raison principale:
javax.xml.transform.TransformerException: For extension function, could not find method java.lang.String.modif([ExpressionContext,] #STRING).
	at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1269)
	at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070)
	at java.lang.Thread.run(Thread.java:484)  It is the same error as when with the '.bat' I didn't specify the directory of my class, and so it does notrecognize my method (should be from ModSVG and not String)So How to specify to xalan, in a JSP , a director for a class ?Could someone help ?Thanks very much. Rodolphe  



problem with embeding FOP in JSP

2003-07-17 Thread VAGNER Rodolphe
Title: Message




Hy 
,
 
I try to embed FOP 
in a JSP server (tomcat 3.3).
 
I tried to use the 
code given in FOP site :
 
 
Driver driver = new 
Driver(new InputSource("file://../fop-0.20.5rc3a/eadsCcr.fo"),   
new 
FileOutputStream("eadsCcr.pdf"));driver.setRenderer(Driver.RENDER_PDF);driver.run();
But without succes : 
I have the following error .
 
javax.servlet.ServletException: ..at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460)at 
jsp.transfoFOP_4._jspService(transfoFOP_4.java:92)at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java)at 
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)at 
org.apache.tomcat.core.Handler.invoke(Handler.java:322)at 
org.apache.tomcat.core.Handler.service(Handler.java:235)at 
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)at 
java.lang.Thread.run(Thread.java:484)Raison 
principale:org.apache.fop.apps.FOPException: ..at 
org.apache.fop.apps.Driver.render(Driver.java:507)at 
org.apache.fop.apps.Driver.run(Driver.java:565)at 
jsp.transfoFOP_4._jspService(transfoFOP_4.java:75)at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java)at 
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)at 
org.apache.tomcat.core.Handler.invoke(Handler.java:322)at 
org.apache.tomcat.core.Handler.service(Handler.java:235)at 
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)at 
java.lang.Thread.run(Thread.java:484)I can understand if it comes from 
FOP or tomcat or something else.
Can 
someone help please ?
 
Thanks a 
lot
 
Rodolphe