RE: Performance tuning.
Nothing is not yet submitted, due to circumstances at work. I think I can send a part of it next week that gives aboute 30% faster fop. Henrik Venu Reddy [EMAIL PROTECTED] 2002-10-24 20:28 Please respond to fop-dev To:[EMAIL PROTECTED] cc: Subject:RE: Performance tuning. Hi, What is the current status of this performance tuning. Have the code changes been submitted and performance benefits verified. I really could use some speed improvements with fop, I have some very large reports 400/500 pages that are taking 5+ minutes to run. Thanks, Venu Reddy P.S: I am willing to apply the code changes to my version of fop(0.20.4), test it and submit the results on my large fo files. -Original Message- From: Martin Poeschl [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 17, 2002 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Performance tuning. Henrik Olsson wrote: Hi. I have runned several performance tests on the FOP and and I have found out several bottle necks (especially in the PropertyListBuilder). Most things is about reducing gc and some others about not so well written code. The result of this tunings gives me a speed of 3 time faster than the original FOP. WOW!!! So what do I do to get the code in to the fop-project (the problems are both in the fop 0.20.4 and in the DEV 1.0). I have also figured out some more thing but they are not so general but it makes the FOP as fast as a comersial tool written in C++ (StreamServe). could you make your patched version available somewhere??? if you don't have a server, just send it to my private mail and i'll put it in my home_dir at the apache server ;-) martin Henrik. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 13968] New: - FontConfig appends null to current dir with version 2.04
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=13968. 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=13968 FontConfig appends null to current dir with version 2.04 Summary: FontConfig appends null to current dir with version 2.04 Product: Fop Version: 0.20.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] After switching from version 2.03 to version 2.04 I get the error that it did not find the font file (see full error below). The reason for this is that the string null was appended to the current directory string. The workaround is to append null to the name of the font directory. Works like a charm, but looks so so. Full error: [ERROR] Failed to read font metrics file nullFonts\VerdanaBold.xml : U:\dev\quote\nullFonts\VerdanaBold.xml (The system cannot find the path specified) Exception in thread main java.lang.NullPointerException at org.apache.fop.render.pdf.fonts.LazyFont.getAscender(Unknown Source) at org.apache.fop.layout.FontState.getAscender(Unknown Source) at org.apache.fop.layout.LineArea.init(Unknown Source) at org.apache.fop.layout.BlockArea.start(Unknown Source) at org.apache.fop.fo.flow.Block.layout(Unknown Source) at org.apache.fop.fo.flow.Flow.layout(Unknown Source) at org.apache.fop.fo.flow.Flow.layout(Unknown Source) at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source) at org.apache.fop.apps.StreamRenderer.render(Unknown Source) at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.endElement (AbstractSAXParser.java:559) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement (XMLNamespaceBinder.java:853) at org.apache.xerces.impl.XMLNamespaceBinder.endElement (XMLNamespaceBinder.java:643) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement (XMLDTDValidator.java:2978) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement (XMLDTDValidator.java:918) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement (XMLDocumentFragmentScannerImpl.java:11 45) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement (XMLDocumentFragmentScannerImpl.java:988) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher. dispatch(XMLDocumentFragmentS cannerImpl.java:1446) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (XMLDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.StandardParserConfiguration.parse (StandardParserConfiguration.java:529) at org.apache.xerces.parsers.StandardParserConfiguration.parse (StandardParserConfiguration.java:585) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) at org.apache.xerces.parsers.AbstractSAXParser.parse (AbstractSAXParser.java:1148) at org.apache.fop.apps.Driver.render(Unknown Source) at org.apache.fop.apps.Driver.run(Unknown Source) at nl.tarq.xml.XML2PDF.transform(XML2PDF.java:149) at nl.tarq.xml.XML2PDF.main(XML2PDF.java:34) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 13699] - PDF-Renderer Not Threadsafe
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=13699. 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=13699 PDF-Renderer Not Threadsafe --- Additional Comments From [EMAIL PROTECTED] 2002-10-25 12:51 --- There are other parts, where 'synchronized' should be appended: public static FopImage Make(String href) in class FopImageFactory. This method searchs the url href in private static Hashtable m_urlMap = new Hashtable(); ... // check if already created FopImage imageObject = (FopImage)m_urlMap.get(href); if (imageObject != null) // Concurrently testing threads begin // work in following lines return imageObject; ... // following lines I tried to find the reason for exceptions in GifImage in line *) below: // Should take care of the ColorSpace and bitsPerPixel if (this.m_width == 0) System.err.println (this.m_width: 0 !); if (this.m_height == 0) System.err.println (this.m_height: 0 !); // On Exception we didn't get a message this.m_bitmapsSize = this.m_width * this.m_height * 3; if (this.m_bitmapsSize == 0) System.err.println (this.m_bitmapsSize: 0 !); this.m_bitmaps = new byte[this.m_bitmapsSize]; int p=0; try { for (int i = 0; i this.m_height; i++) { for (int j = 0; j this.m_width; j++) { p = tmpMap[i * this.m_width + j]; int r = (p 16) 0xFF; int g = (p 8) 0xFF; int b = (p) 0xFF; this.m_bitmaps[3 * (i * this.m_width + j)] = (byte)(r 0xFF); // *) this.m_bitmaps[3 * (i * this.m_width + j) + 1] = (byte)(g 0xFF); this.m_bitmaps[3 * (i * this.m_width + j) + 2] = (byte)(b 0xFF); } } } catch (Exception e) { System.err.println (Bytes: + this.m_bitmapsSize); System.err.println (p: + p); System.err.println (width: + this.m_width); System.err.println (height: + this.m_height); e.printStackTrace (); } Output: Bytes:0 :-(( p:-1 width:314 height:109 Could that be? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
location of docs
Where will the docs be located. I am writing/updating some docs for fop development and was wondering where I could put the docs. maybe docs/xml-docs as the base? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: problem with EURO symbol
Use: #x20AC; for the Euro and #x0022; for the (you can use #x201C; and #x201D; if you want left and right double quotes) Matthew L. Avizinis mailto:mla;gleim.com Gleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606 (352)-375-0772 www.gleim.com http://www.gleim.com -Original Message- From: Sergio Hernández [mailto:shernand;ipsoluciones.com] Sent: Friday, October 25, 2002 9:44 AM To: [EMAIL PROTECTED] Subject: problem with EURO symbol Hí, sorry for my English. I'm rendering from XSLFO (using data from SqlServer database) to PDF dinamicaly. The problem is that some characters, like EUR (Euro), or , are into the DataBase, are not seen correctly. At the position of this characters are replaced by ? or # symbol. Can anyone help me? Thanks, Sergio. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Problem
I seem to be having a problem creating my PDF from a FO document. I'm using a Windows 2000 machine (under the DOS command prompt). Can somebody please help me figure out what's wrong? Here's the output below: C:\TEMP\FOPjava -cp build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -d test\story.fo test\story.pdf [DEBUG] Input mode: [DEBUG] FO [DEBUG] fo input file: test\story.fo [DEBUG] Output mode: [DEBUG] pdf [DEBUG] output file: test\story.pdf [DEBUG] OPTIONS [DEBUG] no user configuration file is used [default] [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [DEBUG] base directory: file:/C:/TEMP/FOP/test/ [INFO] FOP 0.20.4 [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [DEBUG] setting up fonts [ERROR] null org.apache.fop.apps.FOPException at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) at org.apache.fop.apps.Fop.main(Unknown Source) - java.lang.NullPointerException at org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(Unknown Source) at org.apache.fop.fo.pagination.PageSequence.makePage(Unknown Source) at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source) at org.apache.fop.apps.StreamRenderer.render(Unknown Source) at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java, Compiled Code) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java, Compiled Code) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java, Compiled Code) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:918) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java, Compiled Code) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java, Compiled Code) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java, Compiled Code) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148) at org.apache.fop.apps.Driver.render(Unknown Source) at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) at org.apache.fop.apps.Fop.main(Unknown Source) Get 25MB of email storage with Lycos Mail Plus! Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: location of docs
Keiron Liddle wrote: Where will the docs be located. I am writing/updating some docs for fop development and was wondering where I could put the docs. maybe docs/xml-docs as the base? Joerg is probably the key person to answer this, but I would like to throw in 2 cents worth. First, AFAIK, all of our current documentation flows out of XML files. If this is not totally true (and it may not be), then it probably should be (I think they call it eating your own dog food). So, docs/xml-docs seems redundant. Perhaps a concept of sources and output would be helpful here. Second, one of my goals with the doc is to explicitly delineate between user doc and developer doc, so that we can generate manuals and web-site areas that are appropriate for each -- specifically to keep developer issues out of the user doc. I have been treating the documents in docs/xml-docs/design as being developer doc, although there are a few documents in the docs/xml-docs/fop directory that are developer-oriented as well. I think it would be helpful to have our source XML documents organized around that concept as well. My recommended structure for the docs directory is as follows: source source/dev See note 1 source/user buildSee note 2 build/pdf build/html transient (or temp) See note 3 stylesheet (the other directories there now are ok -- graphics, examples, etc.) Note 1 -- for stuff currently in design + the documents you are asking about and the other developer documents. In my mind design is a subset of dev. It might be useful to have design as a subdirectory under dev. Note 2 -- perhaps this should be in xml-fop/build/docs instead. It is important to have this be in a build or output directory so that no one is tempted to, for example, edit the html files directly Note 3 -- for transient transforms when doing builds, including the fo file. The build could probably delete the contents, but sometimes it is nice to be able to see the intermediate results. All of this, of course, is contingent on Forrest requirements. Sorry -- you asked a pretty simple question that was probably directed at Joerg. I have been trying to document (and fix where possible) these annoyances as they come up, hoping to use my still-mostly-newbie perspective to lower the cost of bringing new newbies (??) on board. It will require someone with commit abilities to do all of this, but, if approved, I'll be glad to do the fixes and cleanup of the builds to match the new structure. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Problem
Well it looks like if your base directory is C:/TEMP/FOP/test/ and you're attempting to compile test\story.fo FOP won't find anything there. Try just story.fo and story.pdf Matthew L. Avizinis mailto:mla;gleim.com Gleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606 (352)-375-0772 www.gleim.com http://www.gleim.com -Original Message- From: Curtis A. Weyant [mailto:dylan38;angelfire.com] Sent: Friday, October 25, 2002 10:48 AM To: [EMAIL PROTECTED] Subject: Problem I seem to be having a problem creating my PDF from a FO document. I'm using a Windows 2000 machine (under the DOS command prompt). Can somebody please help me figure out what's wrong? Here's the output below: C:\TEMP\FOPjava -cp build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0 .1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\ logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -d test\story.fo test\story.pdf [DEBUG] Input mode: [DEBUG] FO [DEBUG] fo input file: test\story.fo [DEBUG] Output mode: [DEBUG] pdf [DEBUG] output file: test\story.pdf [DEBUG] OPTIONS [DEBUG] no user configuration file is used [default] [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [DEBUG] base directory: file:/C:/TEMP/FOP/test/ [INFO] FOP 0.20.4 [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [DEBUG] setting up fonts [ERROR] null org.apache.fop.apps.FOPException at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) at org.apache.fop.apps.Fop.main(Unknown Source) - java.lang.NullPointerException at org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(Unknow n Source) at org.apache.fop.fo.pagination.PageSequence.makePage(Unknown Source) at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source) at org.apache.fop.apps.StreamRenderer.render(Unknown Source) at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAX Parser.java, Compiled Code) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLName spaceBinder.java, Compiled Code) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceB inder.java:643) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTD Validator.java, Compiled Code) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValida tor.java:918) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndEle ment(XMLDocumentFragmentScannerImpl.java, Compiled Code) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEleme nt(XMLDocumentFragmentScannerImpl.java:988) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont entDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java, Compiled Code) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (XMLDocumentFragmentScannerImpl.java, Compiled Code) at org.apache.xerces.parsers.StandardParserConfiguration.parse(Standa rdParserConfiguration.java:529) at org.apache.xerces.parsers.StandardParserConfiguration.parse(Standa rdParserConfiguration.java:585) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParse r.java:1148) at org.apache.fop.apps.Driver.render(Unknown Source) at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) at org.apache.fop.apps.Fop.main(Unknown Source) Get 25MB of email storage with Lycos Mail Plus! Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Problem
Curtis A. Weyant wrote: I seem to be having a problem creating my PDF from a FO document. I'm using a Windows 2000 machine (under the DOS command prompt). Can somebody please help me figure out what's wrong? Here's the output below: C:\TEMP\FOPjava -cp build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0 .1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\ logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -d test\story.fo test\story.pdf ... [ERROR] null ... java.lang.NullPointerException at I think you need to designate the filetypes on the commandline: ... org.apache.fop.apps.Fop -d -fo test\story.fo -pdf test\story.pdf BTW, check out the links on the FOP web page for information on subscribing to the fop-user mailing list, which will be more suitable for questions of this type. Most of the developers work that list as well, so you don't lose anything, but you have the added benefit of having a much larger pool of people who can help, and often more timely than the developers. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: problem with EURO symbol
This is not the solution, because the data isstored in the database with the euro symbol, and I'm not going to search for all the DB to change this strange characters ... There's not any special tag that can escape this characters ? [CDATA[]] not runs ... Matthew L. Avizinis wrote: [EMAIL PROTECTED]"> Use: #x20AC; for the Euro and #x0022; for the " (you can use #x201C;and #x201D; if you want left and right double quotes) Matthew L. Avizinis mailto:[EMAIL PROTECTED]Gleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606(352)-375-0772 www.gleim.com http://www.gleim.com -Original Message-From: Sergio Hernndez [mailto:[EMAIL PROTECTED]]Sent: Friday, October 25, 2002 9:44 AMTo: [EMAIL PROTECTED]Subject: problem with EURO symbolH, sorry for my English.I'm rendering from XSLFO (using data from SqlServer database) to PDFdinamicaly.The problem is that some characters, like EUR (Euro), or " , are intothe DataBase, are not seen correctly. At the position of this charactersare replaced by ? or # symbol.Can anyone help me?Thanks,Sergio.-To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, email: [EMAIL PROTECTED]
Wondering about CVS branches
I've recently started working with FOP, and I gather from this list that there are multiple CVS branches of code, in particular for the new design and for the upcoming 0.20.5. I gather from the fop-cvs messages that at least one of these is called FOP_0-20-0_Alt-Design. How can I find out about all of the branch names? Which branch is the default trunk? The upcoming 0.20.5 maintenance release? Thank you. Patrick Rusk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Wondering about CVS branches
Patrick, There are three: HEAD is the top of the trunk, of course, and is the mainline redesign. fop-0_20_2-maintain is the line of development of the current working version. All of the releases since, let's say, 0.20.2, have been off this branch. If you want to do any work on the current version, you need to checkout this tag. cvs status -v in one of the directories should expose the tags that have been applied as the various releases have been made. FOP_0-20-0_Alt-Design is an Alt(ernative new)-Design. That's what I've been working on. It is focussed on a re-working of properties handling, so far. Peter Patrick Dean Rusk wrote: I've recently started working with FOP, and I gather from this list that there are multiple CVS branches of code, in particular for the new design and for the upcoming 0.20.5. I gather from the fop-cvs messages that at least one of these is called FOP_0-20-0_Alt-Design. How can I find out about all of the branch names? Which branch is the default trunk? The upcoming 0.20.5 maintenance release? -- Peter B. West [EMAIL PROTECTED] http://www.powerup.com.au/~pbwest/ Lord, to whom shall we go? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: problem with EURO symbol
You could use a template to exchange the Euro character in your database for the Unicode number. Here's one I use that works for escaping apostrophe's when for data I insert to MySQL databases. This template borrows heavily from one in Mike Kay's XSLT Reference 2nd ed. You could probably modify it for your particular requirement for multiple characters. Then you wouldn't have to change the data source. xsl:template name=TextOut xsl:param name=text/ xsl:variable name=aposapos;/xsl:variable xsl:variable name=ntext select=$text/ xsl:choose xsl:when test=contains($text,$apos) xsl:variable name=first select=substring-before($ntext,$apos)/ xsl:variable name=rest-of-it select=substring-after($ntext,$apos)/ xsl:value-of select=concat($first,'\',$apos)/ xsl:if test=$rest-of-it xsl:call-template name=TextOutxsl:with-param name=text select=$rest-of-it//xsl:call-template /xsl:if /xsl:when xsl:otherwise xsl:value-of select=$text/ /xsl:otherwise /xsl:choose /xsl:template hth, matthew l. avizinis -Original Message- From: Sergio Hernández [mailto:shernand;ipsoluciones.com] Sent: Friday, October 25, 2002 11:20 AM To: [EMAIL PROTECTED] Subject: Re: problem with EURO symbol This is not the solution, because the data is stored in the database with the euro symbol, and I'm not going to search for all the DB to change this strange characters ... There's not any special tag that can escape this characters ? [CDATA[]] not runs ... Matthew L. Avizinis wrote: Use: #x20AC; for the Euro and #x0022; for the (you can use #x201C;and #x201D; if you want left and right double quotes) Matthew L. Avizinis mailto:mla;gleim.comGleim Publications, Inc. 4201 NW 95th Blvd. Gainesville, FL 32606(352)-375-0772 www.gleim.com http://www.gleim.com -Original Message-From: Sergio Hernández [mailto:shernand;ipsoluciones.com]Sent: Friday, October 25, 2002 9:44 AMTo: [EMAIL PROTECTED]: problem with EURO symbolHí, sorry for my English.I'm rendering from XSLFO (using data from SqlServer database) to PDFdinamicaly.The problem is that some characters, like EUR (Euro), or , are intothe DataBase, are not seen correctly. At the position of this charactersare replaced by ? or # symbol.Can anyone help me?Thanks,Sergio.--- --To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -To unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
fo properties: glyph-orientation-vertical
I realize XSL:FO has an enormous number of properties and glyph-orientation is probably low on the priority list. But does anyone know if there is a schedule for implementing this property? craig adamski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Double-spaced source?
Do I have a line-ending problem? A lot of the FOP source files seem to be double-spaced. Is that normal? Patrick Rusk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: fo properties: glyph-orientation-vertical
Craig Adamski wrote: I realize XSL:FO has an enormous number of properties and glyph-orientation is probably low on the priority list. But does anyone know if there is a schedule for implementing this property? Not scheduled yet. You can implement it yourself, though. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Problem
Curtis A. Weyant wrote: java.lang.NullPointerException at org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(Unknown Source) You have a page master reference, probably a fo:conditional-page-master-reference, which does not have a master-reference property which points to an existing simple page master. If you have a master-name property, rename it to master-reference (ssee FOP release notes), or check for spelling errors. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Double-spaced source?
Patrick Dean Rusk wrote: Do I have a line-ending problem? A lot of the FOP source files seem to be double-spaced. Is that normal? No. Load a file into a hex editor and check whether it has the line end characters for your platform. The distribution was created with Unix line endings (LF only). Some unpack programs try to be smart and convert it for you to the platform specific form. However, no development platform worth its money should have problems with either form. If you got the source from CVS, check you CVS client setup. There has been some files checked in with wrong line endings, but the checkout should correct for this if properly configured. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]