Re: Croatian characters in fop created pdf
Hi, I'll try to clarify the FAQ entry. The short answer is that you need to configure it to embed the required font and/or use the correct encoding for the characters in the XML. The default pdf fonts only have a certain set of characters. I don't know anything about croatian characters so I might need some more help from you. btw this is more of a user question. Keiron. On Thu, 2002-12-12 at 08:46, Adis Katkic wrote: Hi I have created I java class that takes xml file and xsl file and creates pdf. Now my xml has croatian character and those are showen as #. I read documentation and it says that fonts must be avaliable on the platform. Now I don't understand this since I have croatina locale set and I can view pdf files that have croatian characters. I have tried to use different font familises for fo:block tag. (Arial, Symbol etc ...) What should I do to make it work. If you can explain it to me step by step I would be very thankful. My method is - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Redesign issues
Keiron Liddle wrote: A very rough start at some tasks for FOP here: http://codeconsult.ch/wiki/index.php/FopTasks I'm new to this wiki stuff, so see what happens. Keiron, can you place the link somewhere in the dev docs for memory, please? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Disable save button in acrobat reader
Gorka Echevarría wrote: Anybody knows how can I disable the save button on Acrobat Reader? Ask this question in a PDF forum! The next question will be: is FOP able to output PDF documents with the required properties? I guess AcroScripts will do the job. Hansuli Anderegg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Today's the day...
Peter B. West wrote: Today (it's Thursday, my time) we hear what Tony Graham has been up to. I don't suppose anyone is in Baltimore? Probably not. Eliot has a presentation tomorrow there, so I'm sure he'll attend Sun presentation. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/documentation/content/xdocs/fo size.fo
keiron 2002/12/12 02:59:33 Modified:src/documentation/content/xdocs faq.xml fonts.xml output.xml src/documentation/content/xdocs/dev book.xml faq.xml src/documentation/content/xdocs/fo size.fo Log: some font faq clarifications removed or fixed empty links added wiki link Revision ChangesPath 1.6 +31 -30xml-fop/src/documentation/content/xdocs/faq.xml Index: faq.xml === RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/faq.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- faq.xml 9 Dec 2002 19:37:44 - 1.5 +++ faq.xml 12 Dec 2002 10:59:33 - 1.6 @@ -113,8 +113,8 @@ questionHow can I contribute?/question answer p - There is always plenty of things to do. See linklimitations/link - and linkbugzilla/link. + There is always plenty of things to do. See + link href=involved.htmlgetting involved/link. /p /answer /faq @@ -139,7 +139,7 @@ master definitions. /p p - See also linkrelease notes/link. + See also link href=relnotes.htmlrelease notes/link. /p /answer /faq @@ -150,14 +150,14 @@ The Jimi image library, which is used for processing images in PNG and other formats, was removed from the distribution for licensing reasons. You have to fork href=http://java.sun.com;download/fork - and linkinstall/link it by yourself. + and install it by yourself. /p /answer /faq faq questionI get a NoClassDefFound exception./question answer -pThis is typically a problem with your linkclasspath/link./p +pThis is typically a problem with your classpath./p pIf you are running FOP from the command line:/p ul li @@ -207,11 +207,11 @@ /p ul li -Avoid forward linkreferences/link. Forward references cause all +Avoid forward references. Forward references cause all pages from the page with the reference on to be held in memory until the page with the referenced element is encountered. Common forward references are table of contents at the beginning of the document -and the linkpage N of TOTAL/link in footers. Forward +and the link href=#pagenumpage N of TOTAL/link in footers. Forward references may be required by the task, however, if you are getting a memory overflow you should at least check whether this is really as necessary as claimed. A TOC, for example, could often be placed @@ -233,7 +233,7 @@ possibly be freed after the page sequence has been rendered. /li li -Increase linkmemory settings of the JVM/link. Be aware that it +Increase memory settings of the JVM. Be aware that it is usually unwise to increase the memory allocated to the JVM beyond the amount of physical RAM, it will significantly slow down. YMMV. /li @@ -248,13 +248,14 @@ /p p Reducing memory consumption in general and squishing bugs is an - ongoing effort, partially addressed in the linkredesign/link. + ongoing effort, partially addressed in the link href=dev/index.htmlredesign/link. /p /answer /faq faq questionI get a MalformedURLException./question answer +anchor id=MalformedURL/ p What you probably think of as file names are usually URLs, in particular the src attribute of fo:external-graphic. @@ -277,12 +278,12 @@ codepath/file.ext/code or code../file.ext/code. The string codefile:path/file.ext/code is emnot/em a relative URL, in fact, it isn't a valid URL at all. A relative URL is subject to a - linkresolving process/link, which transforms it into an absolute + resolving process, which transforms it into an absolute URL. /p p - See linkUnderstanding URIs and URLs/link and linkUnderstanding - URL resolving/link. + See Understanding URIs and URLs and Understanding + URL resolving. /p /answer /faq @@ -367,13 +368,13 @@ Relative URLs are resolved against the baseDir property of FOP. For the command line FOP application, the baseDir is the directory of the input file, either the FO file or the XML source. If FOP is used - embedded in a
Re: Redesign issues
On Thu, 2002-12-12 at 11:37, Oleg Tkachenko wrote: Keiron, can you place the link somewhere in the dev docs for memory, please? Sure. Done. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Fop and batik
Hi and sorry for cross-posting as I know this is a user question. I am newbie with FOP on Websphere 4.0.3. Batik has some DOM classes, which are present in Xerces as well, with different implementations. This leads to a number of problems, the latest being the stacktrace below. I am creating the input DOM tree at runtime based on user input and transforming it using XSLTransform.transform(xmlDOM,inStream,foDom); And then generating the PDF using Driver driver = new Driver(insource, bytePDF); driver.setRenderer(Driver.RENDER_PDF); driver.run(); has anyone faced this problem of same class-multiple implementations in the two libraries (if that is the problem). Can anyone help? Sid java.lang.reflect.InvocationTargetException: java.lang.LinkageError: Class org/w3c/dom/Node violates loader constraints: definition mismatch between parent and child loaders at org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:87) at java.lang.reflect.Method.invoke(Native Method) at org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:76) at org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:63) at com.fidelity.qdro.common.util.PDFGeneratorImpl.getPDF(PDFGeneratorImpl.java: 98) at com.fidelity.qdro.common.business.QDROProcessorImpl.saveQDRO(QDROProcessorIm pl.java:475) at com.fidelity.qdro.formgen.controllers.FormGenFinal.doProcess(FormGenFinal.ja va:67) at com.fidelity.qdro.formgen.controllers.InternetBaseController.doPost(Internet BaseController.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager .java:827) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl eServlet.java:167) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle t.java:297) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle Servlet.java:110) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47 2) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan ager.java:1012) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag er.java:913) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W ebAppRequestDispatcher.java:665) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest Dispatcher.java:331) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD ispatcher.java:117) at com.ibm.servlet.engine.webapp.InvokerServlet.service(InvokerServlet.java:267 ) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager .java:827) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl eServlet.java:167) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle t.java:297) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle Servlet.java:110) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47 2) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan ager.java:1012) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag er.java:913) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W ebAppRequestDispatcher.java:665) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest Dispatcher.java:331) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD ispatcher.java:117) at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:124) at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker. java:218) at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn vocation.java:67) at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ estProcessor.java:122) at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener .java:315) at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja va:60) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Comp iled Code)) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.CachedThread.run(ThreadPool.java:137) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Fop and batik
On Thu, 2002-12-12 at 15:30, Sharma, Siddharth wrote: Hi and sorry for cross-posting as I know this is a user question. I am newbie with FOP on Websphere 4.0.3. Batik has some DOM classes, which are present in Xerces as well, with different implementations. This leads to a number of problems, the latest being the stacktrace below. I am creating the input DOM tree at runtime based on user input and transforming it using XSLTransform.transform(xmlDOM,inStream,foDom); And then generating the PDF using Driver driver = new Driver(insource, bytePDF); driver.setRenderer(Driver.RENDER_PDF); driver.run(); has anyone faced this problem of same class-multiple implementations in the two libraries (if that is the problem). Can anyone help? This is one of the reasons that the xml-apis.jar is being used. The current version of FOP uses this and the next version of Batik will also. It is possible that you also have some other versions of the DOM classes in the classpath. I suggest you find out exactly what you have in the classpath and try the latest Fop release with cvs batik. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: dtd catalog (was: src/documentation/README)
Victor Mote wrote: It seems to me, on reflection, that I had this completely wrong. They can't get out of sync *while they have a PUBLIC identifier.* I am still naive about such things, but doesn't the assignment of a PUBLIC ID ammount to a contract that the document so named will never change? If you want to change it, you must assign another PUBLIC id, because people all over the net are relying on the constancy of the association between the original PUBLIC id and the actual document. I don't know that there is any contract per se. I think the contract does exist, at least IMO the essence of Public Id is to be globally *unique* name of an entity [1]. Excactly one didtinct entity, usually specific version of a dtd. I would think of it more as a naming convention, a reserved /name/. You I could have the same XML document on our local machines, and have catalogs pointing to local DTDs that were radically different. That's violation of the contract as Public Id should uniquely name the resource. e.g. -//OASIS//DTD DocBook XML V4.1.2//EN now and forever refers to the XML version of DocBook V4.1.2. To my knowledge, there is no universal way to translate a PUBLIC id into a real file (either local or on the net). Without that, there is no file, and therefore no assurance of anything resembling synchronization. In other words, to use PUBLIC ids, it seems to me that you have to have some totally external convention for making the actual DTD file available to the user of the DTD, and some external way of updating them as well. (By external, I mean outside of XML -- for example, somebody has to send an email that says the actual file is at That's why Public Id'd must be globally unique, e.g. when a dtd is modified its Public Id must be changed and this way all are notified automatically. [1] http://wwws.sun.com/software/xml/developers/resolver/article/#d0e229 -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Ant-based local doc valiation
On Thu, 2002-12-12 at 16:16, Jeff Turner wrote: Yes. There is nothing wrong with FOP grabbing the latest DTDs from Forrest and including them locally. That is effectively what users of Forrest binary distributions do; they're using an old snapshot of the DTDs. The problems at the moment I think are with versioning and what might happen in the future. This would require updating with external changes rather than relying on the external directly. How stable etc. are things? Including the DTDs would IMO be a good idea. They are only 57k. The question is, what catalog-aware validation tool would you use? I would suggest upgrading the version of Ant bundled with FOP to 1.6-dev from CVS. This includes xmlcatalog support for multiple external catalogs. So after editing xdocs, developers could type 'build validate', and if everything passes, they can safely commit the xdocs. Then check on http://forrestbot.cocoondev.org if the changes look okay.. and one day, trigger an xml-site commit from that site too. Tada.. Forrest is no longer required for daily edits :) That sounds like a good idea once things settle down. Especially for small patches. What do others think? I have a question. Why does the compliance.html work for the forrestbot but not on my machine. I get the error: Failed to create InputSource: file://valid_path/xml-fop/src/documentation/resources/schema/dtd/compliance-v10.dtd The file exists in that location (yes I have checked). So why can it not find the dtd. Is there a / missing or something like that. The file:/ prepends a valid unix path. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 9864] - fo:list-item-label at the end of line
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9864. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9864 fo:list-item-label at the end of line --- Additional Comments From [EMAIL PROTECTED] 2002-12-12 17:31 --- Hi! Comment out line 54 ( labelEnd.computeValue() ) in class org.apache.fop.fo.expr.LabelEndFunktion solve the bug Happy Christmas Sascha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 15344] New: - FOP configuration file in CVS is not a valid XML file
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15344. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15344 FOP configuration file in CVS is not a valid XML file Summary: FOP configuration file in CVS is not a valid XML file Product: Fop Version: 0.15 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The file conf/fop.xconf that is currently on CVS is not a valid XML file. The element fop is not properly closed. To fix this error edit line 107 and replace fop with /fop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Croatian characters in fop created pdf
Hi, croatian characters are of type ISO-8859-2 (latin 2) The unusual characters are: è æ ð . Thanks Keiron but I'm still stack with my problem. From: Keiron Liddle [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: FOP [EMAIL PROTECTED] Subject: Re: Croatian characters in fop created pdf Date: 12 Dec 2002 11:17:35 +0100 The default pdf fonts only have a certain set of characters. I just found on this page: http://partners.adobe.com/asn/developer/technotes/fonts.html the CMAPS of the core fonts (down the bottom). Does anyone know if they correspond (with data) to our xml font files. Also is there anywhere that shows a list of the glyphs for these fonts, preferably with a picture. So that it is easier to find if a font has the characters needed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]