cvs commit: xml-fop/src/documentation/content/xdocs/fo - New directory
keiron 2002/11/08 00:33:48 xml-fop/src/documentation/content/xdocs/fo - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop/src/documentation/resources/images fop.jpg
keiron 2002/11/08 01:25:34 Modified:src/documentation sitemap.xmap src/documentation/content/xdocs/design book.xml extending.xml src/documentation/content/xdocs/dev book.xml examples.xml Added: src/documentation/content/xdocs/fo align.fo align2.fo size.fo src/documentation/resources/images fop.jpg Log: added some image examples some minor fixes Revision ChangesPath 1.7 +9 -2 xml-fop/src/documentation/sitemap.xmap Index: sitemap.xmap === RCS file: /home/cvs/xml-fop/src/documentation/sitemap.xmap,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- sitemap.xmap 5 Nov 2002 11:38:03 - 1.6 +++ sitemap.xmap 8 Nov 2002 09:25:33 - 1.7 @@ -352,10 +352,17 @@ map:serialize type=svg2pdf/ /map:match - map:match pattern=*/fo/*.fo + map:match pattern=fo/*.fo +map:read src=content/xdocs/fo/{1}.fo mime-type=text/xml/ + /map:match + map:match pattern=fo/*.fo.pdf +map:generate src=content/xdocs/fo/{1}.fo/ +map:serialize type=fo2pdf/ + /map:match + map:match pattern=**/fo/*.fo map:read src=content/xdocs/{1}/fo/{2}.fo mime-type=text/xml/ /map:match - map:match pattern=*/fo/*.fo.pdf + map:match pattern=**/fo/*.fo.pdf map:generate src=content/xdocs/{1}/fo/{2}.fo/ map:serialize type=fo2pdf/ /map:match 1.2 +4 -1 xml-fop/src/documentation/content/xdocs/design/book.xml Index: book.xml === RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/design/book.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- book.xml 7 Nov 2002 08:15:01 - 1.1 +++ book.xml 8 Nov 2002 09:25:33 - 1.2 @@ -6,6 +6,9 @@ copyright=@year@ The Apache Software Foundation xmlns:xlink=http://www.w3.org/1999/xlink; +menu label=Index + menu-item label=FOP Home href=../index.html/ +/menu menu label=About menu-item label=Index href=index.html/ /menu @@ -14,7 +17,7 @@ /menu menu label=Sections menu-item label=FO Tree href=fotree.html/ - menu-item label=Propterties href=properties.html/ + menu-item label=Properties href=properties.html/ menu-item label=Layout href=layout.html/ menu-item label=Area Tree href=areas.html/ menu-item label=Renderers href=renderers.html/ 1.2 +3 -1 xml-fop/src/documentation/content/xdocs/design/extending.xml Index: extending.xml === RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/design/extending.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- extending.xml 7 Nov 2002 08:15:01 - 1.1 +++ extending.xml 8 Nov 2002 09:25:33 - 1.2 @@ -85,7 +85,9 @@ /p p eg. -source![CDATA[my:script-link script=app.execMenuItem('AcroSrch:Query');Search/my:script-link]]/source +source![CDATA[my:script-link script=app.execMenuItem('AcroSrch:Query'); +Search +/my:script-link]]/source to result in a text box referencing the following PDF action: source![CDATA[ /S /JavaScript /JS (app.execMenuItem(AcroSrch:Query);) ]]/source 1.4 +3 -1 xml-fop/src/documentation/content/xdocs/dev/book.xml Index: book.xml === RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/dev/book.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- book.xml 7 Nov 2002 08:15:01 - 1.3 +++ book.xml 8 Nov 2002 09:25:33 - 1.4 @@ -13,11 +13,13 @@ menu-item label=Index href=index.html/ menu-item label=FAQs href=faq.html/ menu-item label=Examples href=examples.html/ - menu-item label=SVG href=svg.html/ /menu menu label=Using menu-item label=Extensions href=extensions.html/ menu-item label=Configuration href=configuration.html/ +/menu +menu label=Extras + menu-item label=SVG href=svg.html/ /menu menu label=Developers menu-item label=Design href=../design/index.html/ 1.2 +39 -9 xml-fop/src/documentation/content/xdocs/dev/examples.xml Index: examples.xml === RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/dev/examples.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- examples.xml 28 Oct 2002 08:41:00 - 1.1 +++ examples.xml 8 Nov
Re: [VOTE] Oleg for committer
Congratulations Oleg! I believe we have the votes. So I'll send a message to see if we can get things moving. Any preferences for user name? Keiron. On Thu, 2002-11-07 at 21:54, J.Pietschmann wrote: Keiron Liddle wrote: I suggest we have a vote for Oleg to be a committer. If Oleg accepts then he can get on with making FOP great! Here's my vote: +1 Me too! +1 J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/tools URLBuilder.java
jeremias2002/11/08 02:00:30 Added: src/org/apache/fop/tools Tag: fop-0_20_2-maintain URLBuilder.java Log: Little helper class with static methods to build a URL from a string which can be a URL or a filename. Revision ChangesPath No revision No revision 1.1.2.1 +64 -0 xml-fop/src/org/apache/fop/tools/Attic/URLBuilder.java - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Oleg for committer
Keiron Liddle wrote: Congratulations Oleg! Thanks! I believe we have the votes. So I'll send a message to see if we can get things moving. Any preferences for user name? olegt, please. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/image/analyser ImageReaderFactory.java
jeremias2002/11/08 02:05:29 Modified:src/org/apache/fop/image/analyser Tag: fop-0_20_2-maintain ImageReaderFactory.java Log: Improved registration of ImageReader implementations. line ending correction ArrayList -- List Revision ChangesPath No revision No revision 1.6.2.3 +97 -64 xml-fop/src/org/apache/fop/image/analyser/ImageReaderFactory.java Index: ImageReaderFactory.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/analyser/ImageReaderFactory.java,v retrieving revision 1.6.2.2 retrieving revision 1.6.2.3 diff -u -r1.6.2.2 -r1.6.2.3 --- ImageReaderFactory.java 2 Aug 2002 20:28:52 - 1.6.2.2 +++ ImageReaderFactory.java 8 Nov 2002 10:05:29 - 1.6.2.3 @@ -1,64 +1,97 @@ -/* - * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. - * For details on use and redistribution please refer to the - * LICENSE file included with these sources. - */ - -package org.apache.fop.image.analyser; - -// Java -import java.io.InputStream; -import java.io.BufferedInputStream; -import java.io.IOException; -import java.util.ArrayList; - -// FOP -import org.apache.fop.image.FopImageException; - -/** - * Factory for ImageReader objects. - * @author Pankaj Narula - * @version 1.0 - */ -public class ImageReaderFactory { -static protected ArrayList formats = null; - -/** - * ImageReader maker. - * @param in image input stream - * @return ImageReader object - * @exception FopImageException an error occured during creation or - * image type is not supported - */ -static public ImageReader Make(String uri, - InputStream in) throws FopImageException { - -// need to use a config file and remove static methods -formats = new ArrayList(); -formats.add(new JPEGReader()); -formats.add(new BMPReader()); -formats.add(new GIFReader()); -formats.add(new PNGReader()); -formats.add(new TIFFReader()); -formats.add(new EPSReader()); -formats.add(new SVGReader()); -// - -ImageReader reader; -BufferedInputStream bis = new BufferedInputStream(in); -try { -for (int i = 0; i formats.size(); i++) { -reader = (ImageReader)formats.get(i); -if (reader.verifySignature(uri, bis)) { -return reader; -} -} -} catch (IOException ex) { -throw new FopImageException(ex.getMessage()); -} -return null; -} - -} - +/* + * $Id$ + * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved. + * For details on use and redistribution please refer to the + * LICENSE file included with these sources. + */ + +package org.apache.fop.image.analyser; + +// Java +import java.io.InputStream; +import java.io.BufferedInputStream; +import java.io.IOException; +import java.util.List; + +// FOP +import org.apache.fop.image.FopImageException; + +/** + * Factory for ImageReader objects. + * @author Pankaj Narula + */ +public class ImageReaderFactory { +static protected List formats = null; + +static { +/**@todo make configurable one day...*/ +formats = new java.util.Vector(); +try { +registerImageReader(org.apache.fop.image.analyser.JPEGReader); +registerImageReader(org.apache.fop.image.analyser.BMPReader); +registerImageReader(org.apache.fop.image.analyser.GIFReader); +registerImageReader(org.apache.fop.image.analyser.PNGReader); +registerImageReader(org.apache.fop.image.analyser.TIFFReader); +registerImageReader(org.apache.fop.image.analyser.EPSReader); +registerImageReader(org.apache.fop.image.analyser.SVGReader); +} catch (ClassNotFoundException cnfe) { +throw new RuntimeException(One of the default ImageReader implementations is not available: +cnfe.getMessage()); +} +} + +/** + * Registers a new ImageReader implementation. + * + * @param classname The fully qualified classname + * @throws ClassNotFoundException In case the given class cannot be found + */ +public static void registerImageReader(String classname) throws ClassNotFoundException { +Class clazz = Class.forName(classname); +registerImageReader(clazz); +} + + +/** + * Registers a new ImageReader implementation. + * + * @param clazz The
cvs commit: xml-fop/src/org/apache/fop/image GifImage.java FopImageFactory.java AbstractFopImage.java
jeremias2002/11/08 02:11:06 Modified:src/org/apache/fop/image Tag: fop-0_20_2-maintain GifImage.java FopImageFactory.java AbstractFopImage.java Log: Fixed multi-threading bugs (NPEs) Submitted by: Joachim Unger [EMAIL PROTECTED] line ending correction ArrayList -- List, HashMap -- Map Revision ChangesPath No revision No revision 1.1.2.1 +2 -1 xml-fop/src/org/apache/fop/image/GifImage.java Index: GifImage.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/GifImage.java,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 --- GifImage.java 18 Sep 2001 08:17:07 - 1.1 +++ GifImage.java 8 Nov 2002 10:11:06 - 1.1.2.1 @@ -36,6 +36,7 @@ } protected void loadImage() throws FopImageException { + //org.apache.fop.messaging.MessageHandler.debug(getClass().getName()+.loadImage(): +this.m_href); int[] tmpMap = null; try { ImageProducer ip = (ImageProducer)this.m_href.getContent(); 1.25.2.5 +205 -207 xml-fop/src/org/apache/fop/image/Attic/FopImageFactory.java Index: FopImageFactory.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/Attic/FopImageFactory.java,v retrieving revision 1.25.2.4 retrieving revision 1.25.2.5 diff -u -r1.25.2.4 -r1.25.2.5 --- FopImageFactory.java 17 Sep 2002 20:19:29 - 1.25.2.4 +++ FopImageFactory.java 8 Nov 2002 10:11:06 - 1.25.2.5 @@ -1,207 +1,205 @@ -/* - * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. - * For details on use and redistribution please refer to the - * LICENSE file included with these sources. - */ - -package org.apache.fop.image; - -// FOP -import org.apache.fop.image.analyser.ImageReaderFactory; -import org.apache.fop.image.analyser.ImageReader; -import org.apache.fop.configuration.Configuration; - -// Java -import java.io.IOException; -import java.io.InputStream; -import java.io.File; -import java.net.URL; -import java.net.MalformedURLException; -import java.lang.reflect.Constructor; -import java.util.HashMap; - -/** - * create FopImage objects (with a configuration file - not yet implemented). - * @author Eric SCHAEFFER - */ -public class FopImageFactory { - -private static HashMap m_urlMap = new HashMap(); - -/** - * create an FopImage objects. - * @param href image URL as a String - * @return a new FopImage object - * @exception java.net.MalformedURLException bad URL - * @exception FopImageException an error occured during construction - */ -public static synchronized FopImage Make(String href) -throws MalformedURLException, FopImageException { - -/* - * According to section 5.11 a uri-specification is: - * url( + URI + ) - * according to 7.28.7 a uri-specification is: - * URI - * So handle both. - */ -// Get the absolute URL -URL absoluteURL = null; -InputStream imgIS = null; -href = href.trim(); -if(href.startsWith(url() (href.indexOf()) != -1)) { -href = href.substring(4, href.indexOf())).trim(); -if(href.startsWith(') href.endsWith(')) { -href = href.substring(1, href.length() - 1); -} else if(href.startsWith(\) href.endsWith(\)) { -href = href.substring(1, href.length() - 1); -} -} - -// check if already created -FopImage imageObject = (FopImage)m_urlMap.get(href); -if (imageObject != null) -return imageObject; - -try { -// try url as complete first, this can cause -// a problem with relative uri's if there is an -// image relative to where fop is run and relative -// to the base dir of the document -try { -absoluteURL = new URL(href); -} catch (MalformedURLException mue) { -// if the href contains onl a path then file is assumed -absoluteURL = new URL(file: + href); -} -imgIS = absoluteURL.openStream(); -} catch (MalformedURLException e_context) { -throw new FopImageException(Error with image URL: -+ e_context.getMessage()); -} catch (Exception e) { -// maybe relative -URL context_url = null;
DO NOT REPLY [Bug 13699] - [PATCH] 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 [PATCH] PDF-Renderer Not Threadsafe [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2002-11-08 10:19 --- I've just committed your work to the maintenance branch in CVS. I've created a testbed on my dev machine to run multiple FOPs at the same time. I was able to reproduce the NPEs almost always. After applying the changes, they went away. The image caching code is still somewhat suspect in multiple ways, but it seems to work now. I'll close the bug but please reopen it, if you still experience problems. I'm especially unsure about your last entry (the close() method). I still don't know how this should really be done. I'd like to delegate a solution to this to the redesign. I hope this works for you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/lib buildtools.jar
jeremias2002/11/08 02:28:07 Modified:lib Tag: fop-0_20_2-maintain buildtools.jar Log: I got serialization errors during build so I rebuilt buildtools.jar. Revision ChangesPath No revision No revision 1.10.2.2 +138 -129 xml-fop/lib/buildtools.jar Binary file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop build.xml
jeremias2002/11/08 02:29:24 Modified:.Tag: fop-0_20_2-maintain build.xml Log: Enabled debug info because we're in development here. IMO debug info should only (if at all) be disabled in a final release. Revision ChangesPath No revision No revision 1.44.2.25 +2 -2 xml-fop/build.xml Index: build.xml === RCS file: /home/cvs/xml-fop/build.xml,v retrieving revision 1.44.2.24 retrieving revision 1.44.2.25 diff -u -r1.44.2.24 -r1.44.2.25 --- build.xml 12 Sep 2002 20:38:26 - 1.44.2.24 +++ build.xml 8 Nov 2002 10:29:24 - 1.44.2.25 @@ -190,8 +190,8 @@ echo message=--- ${Name} ${version} [${year}] / property name=build.compiler value=classic/ -property name=debug value=off/ -property name=optimize value=on/ +property name=debug value=on/ +property name=optimize value=off/ property name=deprecation value=off/ property name=textfontencoding value=WinAnsiEncoding/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 13079] - PDFXObject made a very bad FOPImage.close() call
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=13079. 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=13079 PDFXObject made a very bad FOPImage.close() call [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2002-11-08 10:45 --- It depends and I'm not sure if we should really change that. Deleting the line results in a change in behaviour. See our discussion on fop-dev during the last few days. At least, the multi-threading issue should now be fixed. This is a link to the discussion about this topic: http://marc.theaimsgroup.com/?t=10365731085r=1w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/svg PDFGraphics2D.java
keiron 2002/11/08 02:48:01 Modified:src/org/apache/fop/fo FOUserAgent.java src/org/apache/fop/image AbstractFopImage.java BmpImage.java EPSImage.java FopImage.java FopImageConsumer.java GifImage.java ImageFactory.java JAIImage.java JimiImage.java JpegImage.java XMLImage.java src/org/apache/fop/image/analyser BMPReader.java EPSReader.java GIFReader.java ImageReader.java ImageReaderFactory.java JPEGReader.java PNGReader.java SVGReader.java TIFFReader.java XMLReader.java src/org/apache/fop/svg PDFGraphics2D.java Log: handle image stream better, try to make sure only opened once and properly closed gif image broken until it can be loaded from a stream Revision ChangesPath 1.11 +12 -3 xml-fop/src/org/apache/fop/fo/FOUserAgent.java Index: FOUserAgent.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/FOUserAgent.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- FOUserAgent.java 2 Sep 2002 14:47:28 - 1.10 +++ FOUserAgent.java 8 Nov 2002 10:47:58 - 1.11 @@ -13,9 +13,10 @@ import org.apache.avalon.framework.logger.LogEnabled; import org.apache.avalon.framework.logger.Logger; -import org.w3c.dom.*; - import java.util.HashMap; +import java.io.InputStream; + +import org.w3c.dom.Document; /** * The User Agent for fo. @@ -52,6 +53,14 @@ public String getBaseURL() { return base; +} + +/** + * Get an input stream for a reference. + * Temporary solution until API better. + */ +public InputStream getStream(String uri) { +return null; } public float getPixelUnitToMillimeter() { 1.14 +10 -14xml-fop/src/org/apache/fop/image/AbstractFopImage.java Index: AbstractFopImage.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/AbstractFopImage.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- AbstractFopImage.java 25 Oct 2002 09:29:44 - 1.13 +++ AbstractFopImage.java 8 Nov 2002 10:47:58 - 1.14 @@ -11,6 +11,7 @@ import java.net.URL; import java.awt.color.ColorSpace; import java.awt.color.ICC_Profile; +import java.io.InputStream; // FOP import org.apache.fop.pdf.PDFColor; @@ -38,9 +39,9 @@ protected int m_height = 0; /** - * Image URL. + * Image input stream. */ -protected URL m_href = null; +protected InputStream inputStream = null; /** * ImageReader object (to obtain image header informations). @@ -85,12 +86,12 @@ * LIimage height * /UL * The image data isn't kept in memory. - * @param href image URL + * @param input input stream * imgReader ImageReader object * @return a new FopImage object */ -public AbstractFopImage(URL href, FopImage.ImageInfo info) { -this.m_href = href; +public AbstractFopImage(FopImage.ImageInfo info) { +this.inputStream = info.inputStream; this.imageInfo = info; if(this.imageInfo.width != -1) { m_width = imageInfo.width; @@ -147,14 +148,6 @@ } /** - * Return the image URL. - * @return the image URL (as String) - */ -public String getURL() { -return this.m_href.toString(); -} - -/** * Return the image width. * @return the image width */ @@ -178,6 +171,9 @@ return this.m_colorSpace; } +/** + * Get ICC profile for this image. + */ public ICC_Profile getICCProfile() { return null; } 1.8 +12 -13xml-fop/src/org/apache/fop/image/BmpImage.java Index: BmpImage.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/BmpImage.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- BmpImage.java 25 Oct 2002 09:29:44 - 1.7 +++ BmpImage.java 8 Nov 2002 10:47:59 - 1.8 @@ -25,8 +25,8 @@ import org.apache.fop.fo.FOUserAgent; public class BmpImage extends AbstractFopImage { -public BmpImage(URL href, FopImage.ImageInfo imgReader) { -super(href, imgReader); +public BmpImage(FopImage.ImageInfo imgReader) { +super(imgReader); } protected boolean loadBitmap(FOUserAgent ua) { @@ -34,13 +34,11 @@ int hpos = 22; // offset positioning for w
CVS commit: Diff was too big for ezlm
I've just got an error from ezlm which didn't accept my CVS commit message because the diff was bigger than 1 MB (because of the line ending corrections). Here's the header. If someone wants the diff, tell me or do a date based diff in CVS. I hope my refactoring of the base dir stuff fixes some problems that have bubbled up lately. It solved mine. I also dimly remembered someone proposing a separate base dir for fonts (fontBaseDir instead of baseDir). I've done that but I haven't found the mail. Anyway, if fontBaseDir isn't set, baseDir is used. No compatibility problems there, I think. jeremias2002/11/08 02:25:30 Modified:src/org/apache/fop/configuration Tag: fop-0_20_2-maintain Configuration.java ConfigurationParser.java FontInfo.java src/org/apache/fop/fonts Tag: fop-0_20_2-maintain FontFileReader.java TTFSubSetFile.java src/org/apache/fop/layout Tag: fop-0_20_2-maintain FontDescriptor.java FontState.java src/org/apache/fop/pdf Tag: fop-0_20_2-maintain PDFDocument.java PDFFunction.java PDFPattern.java PDFResources.java PDFShading.java PDFStream.java PDFXObject.java src/org/apache/fop/render Tag: fop-0_20_2-maintain AbstractRenderer.java Renderer.java src/org/apache/fop/render/awt Tag: fop-0_20_2-maintain AWTFontMetrics.java AWTRenderer.java FontMetricsMapper.java FontSetup.java src/org/apache/fop/render/mif Tag: fop-0_20_2-maintain MIFRenderer.java src/org/apache/fop/render/pcl Tag: fop-0_20_2-maintain PCLRenderer.java src/org/apache/fop/render/pdf Tag: fop-0_20_2-maintain FontReader.java FontSetup.java PDFRenderer.java src/org/apache/fop/render/pdf/fonts Tag: fop-0_20_2-maintain LazyFont.java MultiByteFont.java SingleByteFont.java src/org/apache/fop/render/ps Tag: fop-0_20_2-maintain PSRenderer.java src/org/apache/fop/render/svg Tag: fop-0_20_2-maintain SVGRenderer.java src/org/apache/fop/render/txt Tag: fop-0_20_2-maintain TXTRenderer.java src/org/apache/fop/render/xml Tag: fop-0_20_2-maintain XMLRenderer.java src/org/apache/fop/svg Tag: fop-0_20_2-maintain PDFGraphics2D.java Log: Configuration now has two static getter methods returning a baseURL and a fontBaseURL. Those two values can be a filename or a URL. I've changed quite a few places where Strings were used to reference a file to URLs. The whole stuff should now be more consistent and less error prone. It uses the URLBuilder class I've submitted earlier. line ending corrections ArrayList -- List, HashMap -- Map Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/fo/flow FoBasicLink.java FoBidiOverride.java FoBlockContainer.java FoBlock.java FoCharacter.java FoExternalGraphic.java FoFloat.java FoFootnoteBody.java FoFootnote.java FoInitialPropertySet.java FoInlineContainer.java FoInline.java FoInstreamForeignObject.java FoLeader.java FoListBlock.java FoListItemBody.java FoListItem.java FoListItemLabel.java FoMarker.java FoMultiCase.java FoMultiProperties.java FoMultiPropertySet.java FoMultiSwitch.java FoMultiToggle.java FoNoFo.java FoPageNumberCitation.java FoPageNumber.java FoRetrieveMarker.java FoTableAndCaption.java FoTableBody.java FoTableCaption.java FoTableCell.java FoTableColumn.java FoTableFooter.java FoTableHeader.java FoTable.java FoTableRow.java FoWrapper.java
pbwest 2002/11/08 03:33:48 Added: src/org/apache/fop/fo/flow Tag: FOP_0-20-0_Alt-Design FoBasicLink.java FoBidiOverride.java FoBlockContainer.java FoBlock.java FoCharacter.java FoExternalGraphic.java FoFloat.java FoFootnoteBody.java FoFootnote.java FoInitialPropertySet.java FoInlineContainer.java FoInline.java FoInstreamForeignObject.java FoLeader.java FoListBlock.java FoListItemBody.java FoListItem.java FoListItemLabel.java FoMarker.java FoMultiCase.java FoMultiProperties.java FoMultiPropertySet.java FoMultiSwitch.java FoMultiToggle.java FoNoFo.java FoPageNumberCitation.java FoPageNumber.java FoRetrieveMarker.java FoTableAndCaption.java FoTableBody.java FoTableCaption.java FoTableCell.java FoTableColumn.java FoTableFooter.java FoTableHeader.java FoTable.java FoTableRow.java FoWrapper.java Log: Initial FOs as holders for properties. Revision ChangesPath No revision No revision 1.1.2.1 +115 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoBasicLink.java 1.1.2.1 +102 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoBidiOverride.java 1.1.2.1 +114 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlockContainer.java 1.1.2.1 +128 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlock.java 1.1.2.1 +122 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoCharacter.java 1.1.2.1 +120 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoExternalGraphic.java 1.1.2.1 +93 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoFloat.java 1.1.2.1 +92 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoFootnoteBody.java 1.1.2.1 +92 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoFootnote.java 1.1.2.1 +107 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoInitialPropertySet.java 1.1.2.1 +114 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoInlineContainer.java 1.1.2.1 +117 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoInline.java 1.1.2.1 +119 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoInstreamForeignObject.java 1.1.2.1 +120 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoLeader.java 1.1.2.1 +107 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoListBlock.java 1.1.2.1 +94 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoListItemBody.java 1.1.2.1 +106 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoListItem.java 1.1.2.1 +94 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoListItemLabel.java 1.1.2.1 +85 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoMarker.java 1.1.2.1 +96 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoMultiCase.java 1.1.2.1 +93 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoMultiProperties.java 1.1.2.1 +93 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoMultiPropertySet.java 1.1.2.1 +94 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoMultiSwitch.java 1.1.2.1 +94 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoMultiToggle.java 1.1.2.1 +85 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoNoFo.java 1.1.2.1 +119 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoPageNumberCitation.java 1.1.2.1 +118 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoPageNumber.java 1.1.2.1 +94 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoRetrieveMarker.java 1.1.2.1 +107 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableAndCaption.java 1.1.2.1 +102 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableBody.java 1.1.2.1 +104 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableCaption.java 1.1.2.1 +114 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableCell.java 1.1.2.1 +102 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableColumn.java 1.1.2.1 +102 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableFooter.java 1.1.2.1 +102 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableHeader.java 1.1.2.1 +119 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTable.java 1.1.2.1 +109 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoTableRow.java 1.1.2.1 +85 -0 xml-fop/src/org/apache/fop/fo/flow/Attic/FoWrapper.java
Pb building FOP on with JimiImage
Hello everybody, I am newbie on building FOP and I got some problem to build FOP 0.20.4 I get the sources from apache.org and try to compile them using JDK1.3 on a Linux box. When I try to generate a PDF file I got some errors like : [ERROR] Error while creating area : Error creating FopImage object (Error creating FopImage object (file:/home/oim/img/toto.png) : org.apache.fop.image.JimiImage When I use the FOP 0.20.4 binary version, everything works fine ... An idea ? Thanks, Olivier
cvs commit: xml-fop/src/org/apache/fop/fo FOPropSets.java
pbwest 2002/11/08 03:35:34 Modified:src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design FOPropSets.java Log: All property sets transferred to FOs. Revision ChangesPath No revision No revision 1.1.2.5 +3 -617xml-fop/src/org/apache/fop/fo/Attic/FOPropSets.java Index: FOPropSets.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FOPropSets.java,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -r1.1.2.4 -r1.1.2.5 --- FOPropSets.java 7 Nov 2002 23:54:46 - 1.1.2.4 +++ FOPropSets.java 8 Nov 2002 11:35:33 - 1.1.2.5 @@ -55,155 +55,15 @@ static { foPropertyLists = new ROBitSet[FObjectNames.LAST_FO + 1]; -BitSet no_fo = new BitSet(); -no_fo.set(PropNames.NO_PROPERTY); -foPropertyLists[FObjectNames.NO_FO] = new ROBitSet(no_fo); - //basic-link -BitSet basic_link = new BitSet(); -basic_link.or(PropertySets.accessibilitySet); -basic_link.or(PropertySets.auralSet); -basic_link.or(PropertySets.backgroundSet); -basic_link.or(PropertySets.borderSet); -basic_link.or(PropertySets.paddingSet); -basic_link.or(PropertySets.marginInlineSet); -basic_link.or(PropertySets.relativePositionSet); -basic_link.set(PropNames.ALIGNMENT_ADJUST); -basic_link.set(PropNames.ALIGNMENT_BASELINE); -basic_link.set(PropNames.BASELINE_SHIFT); -basic_link.set(PropNames.DESTINATION_PLACEMENT_OFFSET); -basic_link.set(PropNames.DOMINANT_BASELINE); -basic_link.set(PropNames.EXTERNAL_DESTINATION); -basic_link.set(PropNames.ID); -basic_link.set(PropNames.INDICATE_DESTINATION); -basic_link.set(PropNames.INTERNAL_DESTINATION); -basic_link.set(PropNames.KEEP_TOGETHER); -basic_link.set(PropNames.KEEP_WITH_NEXT); -basic_link.set(PropNames.KEEP_WITH_PREVIOUS); -basic_link.set(PropNames.LINE_HEIGHT); -basic_link.set(PropNames.SHOW_DESTINATION); -basic_link.set(PropNames.TARGET_PROCESSING_CONTEXT); -basic_link.set(PropNames.TARGET_PRESENTATION_CONTEXT); -basic_link.set(PropNames.TARGET_STYLESHEET); -foPropertyLists[FObjectNames.BASIC_LINK] = new ROBitSet(basic_link); //bidi-override -BitSet bidi_override = new BitSet(); -bidi_override.or(PropertySets.relativePositionSet); -bidi_override.or(PropertySets.auralSet); -bidi_override.or(PropertySets.fontSet); -bidi_override.set(PropNames.COLOR); -bidi_override.set(PropNames.DIRECTION); -bidi_override.set(PropNames.ID); -bidi_override.set(PropNames.LETTER_SPACING); -bidi_override.set(PropNames.LINE_HEIGHT); -bidi_override.set(PropNames.SCORE_SPACES); -bidi_override.set(PropNames.UNICODE_BIDI); -bidi_override.set(PropNames.WORD_SPACING); -foPropertyLists[FObjectNames.BIDI_OVERRIDE] = new ROBitSet(bidi_override); //block -BitSet block = new BitSet(); -block.or(PropertySets.accessibilitySet); -block.or(PropertySets.auralSet); -block.or(PropertySets.backgroundSet); -block.or(PropertySets.borderSet); -block.or(PropertySets.fontSet); -block.or(PropertySets.hyphenationSet); -block.or(PropertySets.marginBlockSet); -block.or(PropertySets.paddingSet); -block.or(PropertySets.relativePositionSet); -block.set(PropNames.BREAK_AFTER); -block.set(PropNames.BREAK_BEFORE); -block.set(PropNames.COLOR); -block.set(PropNames.TEXT_DEPTH); -block.set(PropNames.TEXT_ALTITUDE); -block.set(PropNames.HYPHENATION_KEEP); -block.set(PropNames.HYPHENATION_LADDER_COUNT); -block.set(PropNames.ID); -block.set(PropNames.INTRUSION_DISPLACE); -block.set(PropNames.KEEP_TOGETHER); -block.set(PropNames.KEEP_WITH_NEXT); -block.set(PropNames.KEEP_WITH_PREVIOUS); -block.set(PropNames.LAST_LINE_END_INDENT); -block.set(PropNames.LINEFEED_TREATMENT); -block.set(PropNames.LINE_HEIGHT); -block.set(PropNames.LINE_HEIGHT_SHIFT_ADJUSTMENT); -block.set(PropNames.LINE_STACKING_STRATEGY); -block.set(PropNames.ORPHANS); -block.set(PropNames.WHITE_SPACE_TREATMENT); -block.set(PropNames.SPAN); -block.set(PropNames.TEXT_ALIGN); -block.set(PropNames.TEXT_ALIGN_LAST); -block.set(PropNames.TEXT_INDENT); -block.set(PropNames.VISIBILITY); -block.set(PropNames.USAGE_CONTEXT_OF_SUPPRESS_AT_LINE_BREAK); -
cvs commit: xml-fop/src/org/apache/fop/fo FOPropSets.java
pbwest 2002/11/08 03:36:12 Removed: src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design FOPropSets.java Log: No longer needed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pb building FOP on with JimiImage
As pointed out on this page: http://xml.apache.org/fop/relnotes.html you need to download jimi yourself and build with that in the lib/ dir. On Fri, 2002-11-08 at 12:35, Olivier IMBERT wrote: Hello everybody, I am newbie on building FOP and I got some problem to build FOP 0.20.4 I get the sources from apache.org and try to compile them using JDK1.3 on a Linux box. When I try to generate a PDF file I got some errors like : [ERROR] Error while creating area : Error creating FopImage object (Error creating FopImage object (file:/home/oim/img/toto.png) : org.apache.fop.image.JimiImage When I use the FOP 0.20.4 binary version, everything works fine ... An idea ? Thanks, Olivier - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Pb building FOP on with JimiImage
Hi! You need the jimi-xxx.jar file. Copy it to the lib directory and build FOP again. -- Morten Isaksen [EMAIL PROTECTED]- http://www.aub.dk/~misak -Original Message- From: Olivier IMBERT [mailto:[EMAIL PROTECTED]] Sent: 8. november 2002 12:35 To: [EMAIL PROTECTED] Subject: Pb building FOP on with JimiImage Hello everybody, I am newbie on building FOP and I got some problem to build FOP 0.20.4 I get the sources from apache.org and try to compile them using JDK1.3 on a Linux box. When I try to generate a PDF file I got some errors like : [ERROR] Error while creating area : Error creating FopImage object (Error creating FopImage object (file:/home/oim/img/toto.png) : org.apache.fop.image.JimiImage When I use the FOP 0.20.4 binary version, everything works fine ... An idea ? Thanks, Olivier
DO NOT REPLY [Bug 14387] New: - illegal char value under unix, using ttf fonts
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=14387. 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=14387 illegal char value under unix, using ttf fonts Summary: illegal char value under unix, using ttf fonts Product: Fop Version: 0.20.4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: pdf renderer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hello, I'm Jan Vinter from Slovakia and I use FOP under MSWindows. I use .ttf fonts (and fonts metrics file .xml maked by TTFReader class) and it works OK. But under Unix is does not! The errors seems like follow: illegal char value -12 I am sure that paths of config file, xml and xsl files are OK, my config.xml file is OK (including font tags). What I do bad? Jan Vinter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/fo/flow FoBasicLink.java FoBidiOverride.java FoBlockContainer.java FoBlock.java FoCharacter.java FoExternalGraphic.java FoFloat.java FoFootnoteBody.java FoFootnote.java FoInitialPropertySet.java FoInlineContainer.java FoInline.java FoInstreamForeignObject.java FoLeader.java FoListBlock.java FoListItemBody.java FoListItem.java FoListItemLabel.java FoMarker.java FoMultiCase.java FoMultiProperties.java FoMultiPropertySet.java FoMultiSwitch.java FoMultiToggle.java FoNoFo.java FoPageNumberCitation.java FoPageNumber.java FoRetrieveMarker.java FoTableAndCaption.java FoTableBody.java FoTableCaption.java FoTableCell.java FoTableColumn.java FoTableFooter.java FoTableHeader.java FoTable.java FoTableRow.java FoWrapper.java
pbwest 2002/11/08 05:39:24 Modified:src/org/apache/fop/fo/flow Tag: FOP_0-20-0_Alt-Design FoBasicLink.java FoBidiOverride.java FoBlockContainer.java FoBlock.java FoCharacter.java FoExternalGraphic.java FoFloat.java FoFootnoteBody.java FoFootnote.java FoInitialPropertySet.java FoInlineContainer.java FoInline.java FoInstreamForeignObject.java FoLeader.java FoListBlock.java FoListItemBody.java FoListItem.java FoListItemLabel.java FoMarker.java FoMultiCase.java FoMultiProperties.java FoMultiPropertySet.java FoMultiSwitch.java FoMultiToggle.java FoNoFo.java FoPageNumberCitation.java FoPageNumber.java FoRetrieveMarker.java FoTableAndCaption.java FoTableBody.java FoTableCaption.java FoTableCell.java FoTableColumn.java FoTableFooter.java FoTableHeader.java FoTable.java FoTableRow.java FoWrapper.java Log: Javadoc class comment fix. Revision ChangesPath No revision No revision 1.1.2.2 +3 -3 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBasicLink.java Index: FoBasicLink.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBasicLink.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- FoBasicLink.java 8 Nov 2002 11:33:46 - 1.1.2.1 +++ FoBasicLink.java 8 Nov 2002 13:39:22 - 1.1.2.2 @@ -27,7 +27,7 @@ import java.util.BitSet; /** - * Implements the fo:simple-page-master flow object + * Implements the fo:basic-link flow object. */ public class FoBasicLink extends FONode { 1.1.2.2 +3 -3 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBidiOverride.java Index: FoBidiOverride.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBidiOverride.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- FoBidiOverride.java 8 Nov 2002 11:33:46 - 1.1.2.1 +++ FoBidiOverride.java 8 Nov 2002 13:39:22 - 1.1.2.2 @@ -27,7 +27,7 @@ import java.util.BitSet; /** - * Implements the fo:simple-page-master flow object + * Implements the fo:bidi-override flow object. */ public class FoBidiOverride extends FONode { 1.1.2.2 +3 -3 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlockContainer.java Index: FoBlockContainer.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlockContainer.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- FoBlockContainer.java 8 Nov 2002 11:33:46 - 1.1.2.1 +++ FoBlockContainer.java 8 Nov 2002 13:39:22 - 1.1.2.2 @@ -27,7 +27,7 @@ import java.util.BitSet; /** - * Implements the fo:simple-page-master flow object + * Implements the fo:block-container flow object. */ public class FoBlockContainer extends FONode { 1.1.2.2 +3 -3 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlock.java Index: FoBlock.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlock.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- FoBlock.java 8 Nov 2002 11:33:46 - 1.1.2.1 +++ FoBlock.java 8 Nov 2002 13:39:22 - 1.1.2.2 @@ -27,7 +27,7 @@ import java.util.BitSet; /** - * Implements the fo:simple-page-master flow object + * Implements the fo:block flow object. */ public class FoBlock extends FONode { 1.1.2.2 +3 -3 xml-fop/src/org/apache/fop/fo/flow/Attic/FoCharacter.java Index: FoCharacter.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoCharacter.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- FoCharacter.java 8 Nov 2002 11:33:46 - 1.1.2.1 +++ FoCharacter.java 8 Nov 2002 13:39:22 - 1.1.2.2 @@ -27,7 +27,7 @@ import java.util.BitSet; /** - * Implements the fo:simple-page-master flow object + * Implements the fo:character flow object. */ public class FoCharacter extends FONode { 1.1.2.2 +3 -3
cvs commit: xml-fop/src/org/apache/fop/fo/flow FoBasicLink.java FoBidiOverride.java FoBlockContainer.java FoBlock.java FoCharacter.java FoExternalGraphic.java FoFloat.java FoFootnoteBody.java FoFootnote.java FoInitialPropertySet.java FoInlineContainer.java FoInline.java FoInstreamForeignObject.java FoLeader.java FoListBlock.java FoListItemBody.java FoListItem.java FoListItemLabel.java FoMarker.java FoMultiCase.java FoMultiProperties.java FoMultiPropertySet.java FoMultiSwitch.java FoMultiToggle.java FoNoFo.java FoPageNumberCitation.java FoPageNumber.java FoRetrieveMarker.java FoTableAndCaption.java FoTableBody.java FoTableCaption.java FoTableCell.java FoTableColumn.java FoTableFooter.java FoTableHeader.java FoTable.java FoTableRow.java FoWrapper.java
pbwest 2002/11/08 06:18:25 Modified:src/org/apache/fop/fo/flow Tag: FOP_0-20-0_Alt-Design FoBasicLink.java FoBidiOverride.java FoBlockContainer.java FoBlock.java FoCharacter.java FoExternalGraphic.java FoFloat.java FoFootnoteBody.java FoFootnote.java FoInitialPropertySet.java FoInlineContainer.java FoInline.java FoInstreamForeignObject.java FoLeader.java FoListBlock.java FoListItemBody.java FoListItem.java FoListItemLabel.java FoMarker.java FoMultiCase.java FoMultiProperties.java FoMultiPropertySet.java FoMultiSwitch.java FoMultiToggle.java FoNoFo.java FoPageNumberCitation.java FoPageNumber.java FoRetrieveMarker.java FoTableAndCaption.java FoTableBody.java FoTableCaption.java FoTableCell.java FoTableColumn.java FoTableFooter.java FoTableHeader.java FoTable.java FoTableRow.java FoWrapper.java Log: Added @param attrSet to constructor Javadoc comment. Revision ChangesPath No revision No revision 1.1.2.3 +3 -2 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBasicLink.java Index: FoBasicLink.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBasicLink.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- FoBasicLink.java 8 Nov 2002 13:39:22 - 1.1.2.2 +++ FoBasicLink.java 8 Nov 2002 14:18:24 - 1.1.2.3 @@ -99,6 +99,7 @@ * @param parent the parent FONode of this node * @param event the ttFoXMLEvent/tt that triggered the creation of * this node + * @param attrSet the index of the attribute set applying to the node. */ public FoBasicLink (FOTree foTree, FONode parent, FoXMLEvent event, int attrSet) 1.1.2.3 +3 -2 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBidiOverride.java Index: FoBidiOverride.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBidiOverride.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- FoBidiOverride.java 8 Nov 2002 13:39:22 - 1.1.2.2 +++ FoBidiOverride.java 8 Nov 2002 14:18:24 - 1.1.2.3 @@ -86,6 +86,7 @@ * @param parent the parent FONode of this node * @param event the ttFoXMLEvent/tt that triggered the creation of * this node + * @param attrSet the index of the attribute set applying to the node. */ public FoBidiOverride (FOTree foTree, FONode parent, FoXMLEvent event, int attrSet) 1.1.2.3 +3 -2 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlockContainer.java Index: FoBlockContainer.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlockContainer.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- FoBlockContainer.java 8 Nov 2002 13:39:22 - 1.1.2.2 +++ FoBlockContainer.java 8 Nov 2002 14:18:24 - 1.1.2.3 @@ -98,6 +98,7 @@ * @param parent the parent FONode of this node * @param event the ttFoXMLEvent/tt that triggered the creation of * this node + * @param attrSet the index of the attribute set applying to the node. */ public FoBlockContainer (FOTree foTree, FONode parent, FoXMLEvent event, int attrSet) 1.1.2.3 +3 -2 xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlock.java Index: FoBlock.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Attic/FoBlock.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- FoBlock.java 8 Nov 2002 13:39:22 - 1.1.2.2 +++ FoBlock.java 8 Nov 2002 14:18:24 - 1.1.2.3 @@ -112,6 +112,7 @@ * @param parent the parent FONode of this node * @param event the ttFoXMLEvent/tt that triggered the creation of * this node + * @param attrSet the index of the attribute set applying to the node. */ public FoBlock (FOTree foTree, FONode parent, FoXMLEvent event, int attrSet) 1.1.2.3 +3 -2 xml-fop/src/org/apache/fop/fo/flow/Attic/FoCharacter.java Index: FoCharacter.java
DO NOT REPLY [Bug 11277] - illegal char value nnn in FO PDF driver.run()
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=11277. 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=11277 illegal char value nnn in FO PDF driver.run() [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2002-11-08 15:42 --- *** Bug 13927 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 14387] - illegal char value under unix, using ttf fonts
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=14387. 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=14387 illegal char value under unix, using ttf fonts [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2002-11-08 15:43 --- This looks like a known bug in the IBM JVM. *** This bug has been marked as a duplicate of 11277 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 11277] - illegal char value nnn in FO PDF driver.run()
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=11277. 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=11277 illegal char value nnn in FO PDF driver.run() [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2002-11-08 15:43 --- *** Bug 14387 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/fo/flow FoPcdata.java
pbwest 2002/11/08 07:47:29 Added: src/org/apache/fop/fo/flow Tag: FOP_0-20-0_Alt-Design FoPcdata.java Log: Handle #PCDATA in flow objects. Revision ChangesPath No revision No revision 1.1.2.1 +127 -0xml-fop/src/org/apache/fop/fo/flow/Attic/FoPcdata.java - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/fo FOPropertySets.java
pbwest 2002/11/08 07:48:40 Modified:src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design FOPropertySets.java Log: Added fo:title set. Revision ChangesPath No revision No revision 1.1.2.6 +18 -4 xml-fop/src/org/apache/fop/fo/Attic/FOPropertySets.java Index: FOPropertySets.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FOPropertySets.java,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -r1.1.2.5 -r1.1.2.6 --- FOPropertySets.java 30 Oct 2002 14:45:00 - 1.1.2.5 +++ FOPropertySets.java 8 Nov 2002 15:48:40 - 1.1.2.6 @@ -54,7 +54,8 @@ ,PAGESEQ_SET = 5 ,FLOW_SET = 6 ,STATIC_SET = 7 - ,MARKER_SET = 8 + ,TITLE_SET = 8 + ,MARKER_SET = 9 ,LAST_SET = MARKER_SET ; @@ -75,6 +76,8 @@ return FLOW; case STATIC_SET: return STATIC; +case TITLE_SET: +return TITLE; case MARKER_SET: return MARKER; } @@ -99,6 +102,8 @@ return flowAllSet; case STATIC_SET: return staticAllSet; +case TITLE_SET: +return titleAllSet; case MARKER_SET: return markerAllSet; } @@ -222,6 +227,12 @@ */ public static final ROBitSet staticAllSet; +/** + * set of all properties which are + * usable within the fo:title subtree. + */ +public static final ROBitSet titleAllSet; + static { // fill the BitSet of all properties @@ -341,6 +352,9 @@ markerallset.clear(PropNames.MARKER_CLASS_NAME); markerAllSet = new ROBitSet(markerallset); + +// markers are not allowed within fo:title +titleAllSet = markerAllSet; } /** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/fo FObjectNames.java
pbwest 2002/11/08 07:50:33 Modified:src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design FObjectNames.java Log: Fixed package name of fo: objects. Added pcdata. Revision ChangesPath No revision No revision 1.1.2.7 +46 -44xml-fop/src/org/apache/fop/fo/Attic/FObjectNames.java Index: FObjectNames.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FObjectNames.java,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -r1.1.2.6 -r1.1.2.7 --- FObjectNames.java 30 Oct 2002 14:43:08 - 1.1.2.6 +++ FObjectNames.java 8 Nov 2002 15:50:33 - 1.1.2.7 @@ -86,8 +86,9 @@ TABLE_ROW = 54, TITLE = 55, WRAPPER = 56, + PCDATA = 57, -LAST_FO = WRAPPER; +LAST_FO = PCDATA; /** Index of FO names in foLocalNames array. */ private static final int NAMEX = 0; @@ -105,38 +106,38 @@ */ public static final String[][] foLocalNames = { { no-fo, } //0 - ,{ basic-link, fo.sequences} //1 -,{ bidi-override, fo.sequences} //2 -,{ block, fo.sequences} //3 - ,{ block-container, fo.sequences} //4 -,{ character, fo.sequences} //5 + ,{ basic-link, fo.flow } //1 +,{ bidi-override, fo.flow } //2 +,{ block, fo.flow } //3 + ,{ block-container, fo.flow } //4 +,{ character, fo.flow } //5 ,{ color-profile, fo.declarations } //6 ,{ conditional-page-master-reference, fo.pagination } //7 ,{ declarations, fo.declarations } //8 - ,{ external-graphic, fo.sequences} //9 -,{ float, fo.sequences} //10 - ,{ flow, fo.sequences} //11 - ,{ footnote, fo.sequences} //12 -,{ footnote-body, fo.sequences} //13 - ,{ initial-property-set, fo.sequences} //14 - ,{ inline, fo.sequences} //15 - ,{ inline-container, fo.sequences} //16 - ,{ instream-foreign-object, fo.sequences} //17 + ,{ external-graphic, fo.flow } //9 +,{ float, fo.flow } //10 + ,{ flow, fo.flow } //11 + ,{ footnote, fo.flow } //12 +,{ footnote-body, fo.flow } //13 + ,{ initial-property-set, fo.flow } //14 + ,{ inline, fo.flow } //15 + ,{ inline-container, fo.flow } //16 + ,{ instream-foreign-object, fo.flow } //17 ,{ layout-master-set, fo.pagination } //18 - ,{ leader, fo.sequences} //19 - ,{ list-block, fo.sequences} //20 -,{ list-item, fo.sequences} //21 - ,{ list-item-body, fo.sequences} //22 - ,{ list-item-label, fo.sequences} //23 - ,{ marker, fo.sequences} //24 - ,{ multi-case, fo.sequences} //25 - ,{ multi-properties, fo.sequences} //26 - ,{ multi-property-set, fo.sequences} //27 - ,{ multi-switch, fo.sequences} //28 - ,{ multi-toggle, fo.sequences} //29 - ,{ page-number, fo.sequences} //30 - ,{ page-number-citation, fo.sequences} //31 -,{ page-sequence, fo.sequences} //32 + ,{ leader, fo.flow } //19 + ,{ list-block, fo.flow } //20 +,{ list-item, fo.flow } //21 + ,{ list-item-body, fo.flow } //22 + ,{ list-item-label, fo.flow } //23 + ,{ marker, fo.flow } //24 + ,{ multi-case, fo.flow
AW: [RT] Proprietary extension to fo:external-graphic
Considering PDF only, I see prefabricated image XObjects as a very powerful feature. Extracting image XObjects from PDF files and storing them for use by the renderer brings two advantages: a) saves CPU and memory at a maximum b) the user controls image representation/handling in PDFs. Writing an extract program and progamming the renderer is straightforward, caching is solved for PDF. Remains to tell FOP how to handle these external-graphics. Hansuli Anderegg Sample image XObject to be inserted into PDF file by PDF renderer 21 0 obj === adjust PDF object ID /Type /XObject /Subtype /Image /Name /Im6 /Length 89957 === original PNG file is 56KB /Width 256 === in pixels /Height 256 === in pixels /BitsPerComponent 8 /ColorSpace /DeviceRGB /Filter [ /ASCII85Decode /FlateDecode ] stream GarT@BuGTQ2\N - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: plan for 0.20.5 release
I still think it's critical that we put some time into working on the infinite looping that seems to be happening with certain layouts. Yeah...they're often unrenderable, but an infinite loop can mean a restart of Tomcat or jBoss or a similar large server environment. I have a bug related to infinite looping assigned to me, and as soon as I'm done taking the GRE tomorrow (wishes of luck appreciated), I'll have the time to devote to it. By the way, I keep saying this, but I never get a response- I cannot find downloadable CVS snapshots of the maintenance branch on the FOP website, and the 0.20.4 src package didn't have any .java files in it the last time I tried downloading it. I could just be nuts, though. Has anyone noticed this? I can't do CVS checkouts from work. -Original Message- From: Christian Geisert [mailto:christian.geisert;isu-gmbh.de] Sent: Friday, November 08, 2002 4:35 PM To: [EMAIL PROTECTED] Subject: plan for 0.20.5 release [Thanks for the gratulations and now back to FOP (with permission from my wife ;-)] OK, I'm planing to do the following things for the next maintenance release Fix for bug #7587 (color problems with jpeg images and acrobat reader 5, patch seems to work, just needs a little testing) Update the following jars: Batik to 1.5beta4, Xalan to 2.4.1 and Xerces to 2.2.0 Problem with basedir and fonts metrics seems to be fixed (thanks Jeremias) Work through the patch queue. If someone wants to help here please assign the bug to yourself. Documentation: Copying the new forrest docs from trunk to the maintenance branch (and integrate into the build) sounds like the best approach. The CHANGES files needs to be updated. Best thing would be if everybody documents his own changes, if not I'll try to do it from the cvs-commit messages And, as Oleg already suggested, it would be nice to clean up bugzilla (181 bugs at the moment). Any volunteers? Anybody else (Joerg/Rhett?) working on something with should go into this last maintenance release? Anything else which should be done? Christian - 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: plan for 0.20.5 release
Christian Geisert wrote: Anybody else (Joerg/Rhett?) working on something with should go into this last maintenance release? - update ant.jar, with ant-optional.jar (for style task), or do something else. - get rid of buildtools.jar Simply move the hyph taskdef to the target and use the class from the build tree. same for the FOPtask. Delete everything else from the tools dir. I'm on vacancy from tomorrow on for a bit more than three weeks, so I can't do this myself. Who will take care of the unanswered questions while I'm offline? Oleg? J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: plan for 0.20.5 release
J.Pietschmann wrote: Christian Geisert wrote: Anybody else (Joerg/Rhett?) working on something with should go into this last maintenance release? - update ant.jar, with ant-optional.jar (for style task), or do something else. Why? Who will take care of the unanswered questions while I'm offline? Oleg? That's why he became a committer ;-) Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: plan for 0.20.5 release
Rhett Aultman wrote: ... as soon as I'm done taking the GRE tomorrow (wishes of luck appreciated)... Consider them wished. Peter -- 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: plan for 0.20.5 release
Joerg, If you haven't already left, which questions did you have in mind? Is it your practise to monitor dev-user for questions which nobody else picks up? Is that the role you want someone else to take over? Enjoy the holiday. Very sensible of you to stay off-line. Peter J.Pietschmann wrote: I'm on vacancy from tomorrow on for a bit more than three weeks, so I can't do this myself. Who will take care of the unanswered questions while I'm offline? Oleg? -- 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: plan for 0.20.5 release
J.Pietschmann wrote: I'm on vacancy from tomorrow on for a bit more than three weeks, so I can't do this myself. Who will take care of the unanswered questions while I'm offline? Oleg? Sure. Have a nice time on the vacation! -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]