Re: Poor quality image scaling

2013-07-02 Thread Luis Bernardo
Can you attach the file? I am unable to download it. On Tue, Jul 2, 2013 at 3:15 PM, Lauri Kasanen c...@gmx.com wrote: Luis Bernardo lmpmbernardo at gmail.com writes: Your screen capture is not half an inch, so we don't know where the scaling comes from. Have you tried to zoom in with your

Re: Help!!! when create a tiff G3 1D fax file

2013-07-05 Thread Luis Bernardo
Start by running from the command line. If you still get a problem send us your FO file(s). On Wed, Jul 3, 2013 at 11:55 AM, cilen.deng cilend...@gmail.com wrote: /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file

Re: SVG pixel size

2013-07-08 Thread Luis Bernardo
Pixel is only for monitors. If you want a 1 pixel line you don't need to care about dpi. That only matters if you want to print. When you print a pixel becomes a dot. Attached is an example with a 1 pixel thick line. Of course, the thickness you see in the monitor depends on the zoom you

Re: SVG pixel size

2013-07-09 Thread Luis Bernardo
Lets look at the default case, that creates a 100x100 pixel image. The default target dpi is 72, so 100/72 = 1.38. If you set the target dpi to 204, then the image needs to be 283x283 pixels because 204*1.3 = 283.. Then a 1 pixel line needs to be 2.83 pixels to keep the scaling

Re: SVG pixel size

2013-07-09 Thread Luis Bernardo
. At 204 DPI that would translate into 2.125 dots. On 07/09/2013 09:33 AM, Luis Bernardo wrote: Lets look at the default case, that creates a 100x100 pixel image. The default target dpi is 72, so 100/72 = 1.38. If you set the target dpi to 204, then the image needs to be 283x283 pixels because

Re: Encryption and links

2013-07-23 Thread Luis Bernardo
Why do you need to use Bouncy Castle? And can you provide an example of your source FO file? It is possible that the problem you see is also present in trunk. Note that support for encryption in trunk has been expanded since the the 1.0 release so you may want to try trunk too. On Tue, Jul 23,

Re: Encryption and links

2013-07-25 Thread Luis Bernardo
trunk. Regarding Bouncy Castle: this is documented here: http://xmlgraphics.apache.org/fop/1.1/pdfencryption.html#install_cryptoIs this not necessary anymore with newer JDKs? Best regards, Matthias On 23.07.2013 07:57, Luis Bernardo wrote: Why do you need to use Bouncy Castle

Re: Getting a list of font names without the memory hit...‏

2013-07-30 Thread Luis Bernardo
Are you using FOP in your Desktop app (meaning you feed and FO file and output one of the supported formats) or you just want to use some classes to get the list of fonts in your system? On 7/30/13 5:42 PM, Bernard Giannetti wrote: (apologies for the double post...somehow my email got tagged

Re: Greater than or Equal to symbol Fop 1.0

2013-09-12 Thread Luis Bernardo
Try to configure a fall back font that has the glyph. Then Arial is still used everywhere but for those glyphs. On Thu, Sep 12, 2013 at 1:22 PM, Bonekrusher djs...@yahoo.com wrote: Thanks Glenn, Unfortunately my customer requires arial as the font. Is there another work-around? -- View

Re: Request for getting fop1.1 document

2013-10-07 Thread Luis Bernardo
All the documentation, even if incomplete, is online: http://xmlgraphics.apache.org/fop/1.1/. If you are having trouble getting FOP to work please provide a small sample of what you tried so far and we will help you. On 10/7/13 5:56 PM, Senthil Kumaravel wrote: Hi All, I'm working a part

Re: Is is possible to have fop abort with non-zero exit code when an image isn't found

2013-10-10 Thread Luis Bernardo
I don't think so. If you don't mind compiling the code, you can easily abort FOP if an image is missing by changing the @event.severity from ERROR to FATAL in org.apache.fop.ResourceEventProducer and building (ant clean package). But feel free to submit a feature request. On 10/9/13 9:31

Re: png vs. jpg

2013-10-16 Thread Luis Bernardo
Yes, there is a difference. By default FOP uses a native image loader for JPG but not for PNG. There is however a native image loader for PNG too, which you can enable in the configuration file. See http://wiki.apache.org/xmlgraphics-fop/HowTo/ImageLoaderRawPNG for more info. Try it and I

Re: png vs. jpg

2013-10-20 Thread Luis Bernardo
That is a good question! It seems to be some legacy configuration that copied from an existing fop.xconf that apparently is not used anymore. But I will need to investigate because I do not have an answer. On 10/17/13 10:49 AM, Bernard Giannetti wrote: Hi Luis, I went to the page you

Re: PCL renderer problem with accented characters

2013-10-20 Thread Luis Bernardo
You are in the right place! I am unable to reproduce the problem you describe. Tried with FOP-1.1, Java 1.7, Mac OS X. The output is attached (PCL, and PCL converted to PDF; note: I do not have a HP printer, so I only checked the output converted to PDF). On 10/19/13 1:45 PM, szeak33

Re: PDF images

2013-10-23 Thread Luis Bernardo
See http://xmlgraphics.apache.org/fop/fop-pdf-images.html. The provided packages work with fop-1.1. On 10/23/13 7:41 PM, honyk wrote: Dear All, taking into an account that PDF images are not supported: http://xmlgraphics.apache.org/fop/1.1/graphics.html I am still trying to investigate it

Re: Shifted image when centered

2013-10-24 Thread Luis Bernardo
What is the purpose of the absolute-position=fixed left=0mm top=0mm? The odd behavior you see is because of that, and also due to a bug in fop-1.1 that pushes images to the left of the right margin if they would overflow it (the right margin). The bug has been fixed in trunk, and didn't

Re: Transforming Incompatible Stylesheets over to FOP Apache

2013-10-31 Thread Luis Bernardo
As others pointed out, the default input for FOP is FO, not XSL and XML. Nevertheless you can use FOP to create an FO from XSL and XML: fop -xml my.xml -xsl my.xsl -foout input.fo Use that to generate a simple input.fo file and send it to this mailing list and then it will be easier to help.

Re: java.lang.NoSuchMethodError: org.apache.fontbox.cff.CFFFont.getGIDMappings()Ljava/util/ArrayList;

2013-11-16 Thread Luis Bernardo
You seem to be using Eclipse. Make sure the fontbox*.jar in the the classpath. On 11/15/13, 7:18 PM, Gonzalo Vasquez wrote: When adding a specific font that contains TrueType fonts or using the auto-detect tag in the fop (trunk version) config file, I'm getting the following exception. Any

Re: Cyrrilic font in Apache FOP 1.1

2013-11-16 Thread Luis Bernardo
On 11/16/13, 8:41 PM, Luis Bernardo wrote: With trunk use: FopFactoryBuilder builder = new FopConfParser(new File(confFile)).getFopFactoryBuilder(); FopFactory fopFactory = builder.build(); On 11/15/13, 6:23 PM, Gonzalo Vasquez wrote: H..I'm using the trunk version

Re: Cyrrilic font in Apache FOP 1.1

2013-11-16 Thread Luis Bernardo
If you don't get an error with a font file that does not exist in your configuration file, that just means the configuration file is not being used. Are you sure the config file is really being loaded? On 11/16/13, 4:06 AM, Amigo wrote: Dit not help. Same problem. :( Interesting, if i

Re: Content overflows the viewport

2013-11-19 Thread Luis Bernardo
Are you using trunk? I get this with trunk: Nov 19, 2013 11:42:05 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Content overflows the viewport of an fo:block-container in inline-progression direction by 54 millipoints. Content will be clipped. (See position 490:64)

Re: Content overflows the viewport

2013-11-20 Thread Luis Bernardo
, a las 20:45, Luis Bernardo lmpmberna...@gmail.com escribió: Are you using trunk? I get this with trunk: Nov 19, 2013 11:42:05 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Content overflows the viewport of an fo:block-container in inline-progression direction

Re: Problem with TIFF in fop trunk

2013-11-20 Thread Luis Bernardo
I am unable to reproduce the problem. I am also using Mac OS X 10.9, and same trunk revision. Can you try to place the image on the local disk (instead of retrieving it from a web server) to check whether that is causing the problem? On 11/20/13, 8:55 PM, Joe Wicentowski wrote: Hi all, I

Re: Problem with TIFF in fop trunk

2013-11-21 Thread Luis Bernardo
installed with these packages: $ brew list ant automake graphviz libksba libtool openssl python sqlite autoconf gdbm libgpg-error libpng libyaml pkg-config readline If there's any other information I can provide, I'd be happy to. Thanks again, Joe On Nov 20, 2013, at 6:34 PM, Luis Bernardo

Re: Optimizing FO template

2013-11-21 Thread Luis Bernardo
I haven't looked at your sample, but regarding your previous SVG sample, and as an example and without wanting to drastically change your FO, replace the first SVG: fo:block-container overflow=hidden position=absolute

Re: Custom fonts in Apache FOP (used with Saxon in Eclipse)

2013-12-02 Thread Luis Bernardo
Do not use auto-detect. Instead configure the fonts as shown here: http://xmlgraphics.apache.org/fop/trunk/fonts.html#register. The instructions are for trunk but this works the same in 1.1. On 11/26/13, 9:38 AM, FJMan wrote: The fop.xconf looks like this: renderers renderer

Re: External-Graphics PNG Output

2013-12-09 Thread Luis Bernardo
You need to set this in the fop.xconf file: !-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -- target-resolution600/target-resolution 600 is a suggestion, but if you don't set it, as the comment says, you get

Re: Upgrading FOP extension from 0.95 to 1.1 issues

2013-12-09 Thread Luis Bernardo
I guess the Painter classes are the ones you want to look at (PSPainter and so on). On 12/4/13, 4:02 PM, Sebastien HO wrote: Hi, I am trying to upgrade an extension that has been written on FOP V0.95 to FOP V1.1. Some classes have been deleted from one version to the other one which leads

Re: Rendering Latex Snippets using XSL-FO and FOP

2014-01-24 Thread Luis Bernardo
This is not very recent, but take a look at http://jeuclid.sourceforge.net/trunk/jeuclid-fop/index.html. On Fri, Jan 24, 2014 at 8:54 AM, Michael Wechner michael.wech...@wyona.comwrote: Hi I recently learned about http://www.mathjax.org/ which is a great library to render Latex snippets

Re: SVG - embedded CMYK bitmaps

2014-01-28 Thread Luis Bernardo
Yes, by default JPEG CMYKs are converted to sRGB if the color profile is embedded in the image (I had not tried with JPEG CMYKs embedded in SVG but I think that also there the images are processed by FOP ). The reason this is done is due to the fact that the standard Java JPEG handling

Re: Tiff image - color distortion

2014-01-28 Thread Luis Bernardo
Two questions about CMYK on the same day! The JDK JPEG image handling functions cannot handle CMYK. If the images include a color profile then FOP can convert the images to RGB. To get FOP generate a PDF with images that preserve the CMYK colors you need to use a ImageIO library like

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread Luis Bernardo
Note that the images use compression internally. If the image loader selected by FOP to process your image is the default ImageIO one (i.e., not a native FOP image loader) the image will be uncompressed. If then you turn off PDF stream compression, then yes, you should end up with a much

Re: altova stylevision fop rtf

2014-01-28 Thread Luis Bernardo
Are you using trunk or 1.1? This example does not run with 1.1 as is. On 1/28/14, 3:56 PM, edi4988 wrote: Thank you for your help. I fixed the problem. You were right . I appreciate your time and help. Now, I use this example

Re: Tiff image - color distortion

2014-01-29 Thread Luis Bernardo
for Tiff image handling (in my report I have just Tiff images), and if so, do any settings need to modified in the fop.xconf file? -- Forwarded message -- From: Luis Bernardo lmpmberna...@gmail.com Date: 2014-01-29 Subject: Re: Tiff image - color distortion To: fop-users

Re: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-29 Thread Luis Bernardo
So the basic issue is that a grayscale image appears incorrectly in pdf (it appears washed out, lower contrast, more noisy) and I don't know what the cause is, and the above were the potential reasons that came to mind. 2014-01-29 Luis Bernardo lmpmberna...@gmail.com Note that the images

Re: Tiff image - color distortion

2014-01-29 Thread Luis Bernardo
. Was there anything else that I should have done? 2014-01-29 Luis Bernardo lmpmberna...@gmail.com TIFF can use JPEG compression, so it is likely that the issue is with JPEG image handling even though it is a TIFF. But TwelveMonkeys also has an imageio-tiff component so you can try both. Get the source

Re: Tiff image - color distortion

2014-01-29 Thread Luis Bernardo
as far as I know. 2014-01-29 Luis Bernardo lmpmberna...@gmail.com If you can share the image send it to this mailing list. Otherwise you can send it to me and I can take a look. It is possible that the default image loader is still being used, or something else is at play, but we will need

Re: Fop 1.1 / fop-pdf-images / PDFBox 1.8.3/4

2014-02-04 Thread Luis Bernardo
If you are using FOP-1.1 then you should use fop-pdf-images that you can get from https://dist.apache.org/repos/dist/dev/xmlgraphics/binaries/. That includes the PDFBox jars, but they are 1.3.1 only. If you need PDFBox-1.8.3, then you should use FOP-trunk and fop-pdf-images-trunk. Note that

Re: Aw: Re: Fop 1.1 / fop-pdf-images / PDFBox 1.8.3/4

2014-02-05 Thread Luis Bernardo
PowerStat Gesendet: Dienstag, 04. Februar 2014 um 14:39 Uhr Von: Luis Bernardo lmpmberna...@gmail.com An: fop-users@xmlgraphics.apache.org fop-users@xmlgraphics.apache.org Betreff: Re: Fop 1.1 / fop-pdf-images / PDFBox 1.8.3/4 If you are using FOP-1.1 then you should use fop-pdf-images

Re: Aw: Re: Re: Fop 1.1 / fop-pdf-images / PDFBox 1.8.3/4

2014-02-05 Thread Luis Bernardo
fop-pdf-images was updated with pdfbox-1.8.4 jars. if you checkout and run ant dist you get all the jars in an archive. On 2/5/14, 11:51 AM, Kai Hofmann wrote: Dear Luis Bernardo, thanks for doing the update to pdfbox 1.8.4 in advance. I tried to apply the patches to the pdfbox trunk - where

Re: Placing Copyright notice on SigPlan without using float?

2014-02-06 Thread Luis Bernardo
I think Pascal suggestion of using intermediate format is your best bet. Goes like this: fop -fo test.fo -if application/pdf test.if.xml edit the test.if.xml and then fop -ifin test-modified.if.xml -pdf test.pdf attached is an example. you can do it better and add the copyright to a static

Re: Fop trunk / fop-pdf-images / PDFBox 1.8.4 -additional infos

2014-02-09 Thread Luis Bernardo
(TransformerIdentityImpl.java:390) Do you have an idear about this? Greetings PowerStat -- Kai Hofmann EMail: powers...@web.de Bremen/Germany Gesendet: Donnerstag, 06. Februar 2014 um 02:12 Uhr Von: Luis Bernardo lmpmberna...@gmail.com An: fop-users@xmlgraphics.apache.org Betreff

Re: Retrieve-Marker retrieve-position = all?

2014-02-17 Thread Luis Bernardo
I don't think a general solution is possible within XSL-FO. If the number of entries (titles) per page is fixed (except for the last page) then it is simple. If the number of entries per page is bounded, and there is enough real estate in the page to place the resolved markers then it can be

Re: Scaling images

2014-02-24 Thread Luis Bernardo
I think the issue is height=100%, which doesn't work the way you probably expect... When you specify 100%, you want 100% of what? Width does not suffer from the same problem because the width is constrained by the page width. Since the height is not constrained by the page height, as you maybe

Re: Scaling images

2014-02-24 Thread Luis Bernardo
/SernaPlugin/Source/draft/draft/hoch.jpg) content-height=scale-to-fit scaling=uniform/ /fo:block /fo:block-container *Von:* Luis Bernardo [mailto:lmpmberna...@gmail.com] *Gesendet:* Montag, 24. Februar 2014 14:33 *An:* fop-users@xmlgraphics.apache.org *Betreff:* Re

Re: Scaling images

2014-02-25 Thread Luis Bernardo
, Feb 24, 2014 at 2:54 PM, markus.sticker.e...@zf.com wrote: But it fails also. Is there really a support of content-height=scale-to-fit? *Von:* Luis Bernardo [mailto:lmpmberna...@gmail.com] *Gesendet:* Montag, 24. Februar 2014 15:46 *An:* fop-users@xmlgraphics.apache.org *Betreff:* Re

Re: AW: Scaling images

2014-02-25 Thread Luis Bernardo
by the apache team or should I build a workaround? *Von:*Luis Bernardo [mailto:lmpmberna...@gmail.com] *Gesendet:* Dienstag, 25. Februar 2014 14:05 *An:* fop-users@xmlgraphics.apache.org *Betreff:* Re: Scaling images Add the height attribute to the external-graphic element. Now, I was expecting

Re: FOP 1.0 Linux Arial not working

2014-02-26 Thread Luis Bernardo
Is the font configured under the renderer element of the format you want to produce? On Wed, Feb 26, 2014 at 3:32 PM, Eric Lehmann e.lehman...@gmail.com wrote: Hi I want to use Arial in my xsl stylesheet but there are several problems. FOP Version: Fop 1.0 OS : SLES 11 SP2 First I get

Re: How to Disable schema validation in FOP 1.1 (as in FOP 0.20.5)

2014-03-13 Thread Luis Bernardo
In general setting strict validation to false or passing the -r switch in the command line should do the trick. Can you send your example? On Thu, Mar 13, 2014 at 11:54 AM, zeroxff francesco.fiorava...@eng.itwrote: Hello, Is it possible to convert FO file to PDF without validating FO? I've a

Re: How to Disable schema validation in FOP 1.1 (as in FOP 0.20.5)

2014-03-13 Thread Luis Bernardo
sorry for the inconvenience. ff 2014-03-13 15:12 GMT+01:00 Luis Bernardo [via Apache FOP] [hidden email] /user/SendEmail.jtp?type=nodenode=40226i=0: In general setting strict validation to false or passing the -r switch in the command line should do the trick. Can you send your

Re: Problems with PostScript and AFP output

2014-03-17 Thread Luis Bernardo
There are no images embedded in the PostScript file you sent. Either you got an error during generation or we need the sources to see what the issue is. On 3/17/14, 9:34 PM, Gonzalo Vasquez wrote: Dear FOP Team, We are currently trying to get the same output from a single FO file. Our

Re: Problems with PostScript and AFP output

2014-03-18 Thread Luis Bernardo
/altiuz http://www.linkedin.com/company/altiuz El 17-03-2014, a las 20:07, Luis Bernardo lmpmberna...@gmail.com mailto:lmpmberna...@gmail.com escribió: There are no images embedded in the PostScript file you sent. Either you got an error during generation or we need the sources to see

Re: Missing images in PostScript output

2014-03-18 Thread Luis Bernardo
Support is better now than when that was written. Pretty much everything that works in PDF works in PostScript now with some minor limitations. When that was written SVG gradients were not supported in PostScript. That has changed and the most common gradients are supported now.

Re: why the xml and xsl files have to be in the bin folder of tomcat when I generate a application web for that the application works?

2014-03-26 Thread Luis Bernardo
See http://xmlgraphics.apache.org/fop/trunk/servlets.html. With the example servlet provided by FOP you need to specify the full path of your files (that is /path/to/my/file.fo). On 3/26/14, 9:02 PM, edi4988 wrote: Hi everyone, why the xml and xsl files have to be in the bin folder of

Re: why the xml and xsl files have to be in the bin folder of tomcat when I generate a application web for that the application works?

2014-04-03 Thread Luis Bernardo
As explained in http://xmlgraphics.apache.org/fop/trunk/servlets.html, if you use the sample servlet then you should access it as in * http://localhost:8080/fop/fop?xml=/home/path/to/xmlfile.xmlxsl=/home/path/to/xslfile.xsl Are you doing that? Can you provide the URL you use? On

Re: Greek Characters in Postscript Output

2014-05-16 Thread Luis Bernardo
You can use TrueType fonts with PostScript. Things changed a lot since 0.20.5 On 5/16/14, 12:17 PM, Normen wrote: Hello User Group, we are currently in the process of porting our 0.20.5 FOP embed up to a more actual version 1.0/1.1 and wanted to aim for Postscript Output (currently we

Re: Changing the log level

2014-06-05 Thread Luis Bernardo
See http://wiki.apache.org/xmlgraphics-fop/HowTo/SetupJDK14Logging and also take a look at the bottom of the fop script. But pretty much, a logging.properties file like this: handlers= java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.level = FINEST

Re: Changing the log level

2014-06-06 Thread Luis Bernardo
/logging.properties in it. There is one thing that concerns me slightly. When I build the document, I get this message to STDOUT: [fop] Can't set level for java.util.logging.ConsoleHandler Is this something I should worry about? And how do I fix this? On 6 June 2014 00:35, Luis Bernardo lmpmberna

Re: Issue with large words in the text block

2014-06-13 Thread Luis Bernardo
Use hyphenation: http://xmlgraphics.apache.org/fop/1.1/hyphenation.html#support On 6/12/14, 2:53 PM, byasoraama wrote: I am new user to FOP... I have an fo:block element in fo:table-cell which is in fo:table-row of a fo:table. This table has 6 columns, obviously column width is small. Now,

Re: [PDF Renderer] Why FOP scales down 300 dpi images and not maintain the intrinsic image dimension?

2014-06-17 Thread Luis Bernardo
FOP does not implicitly assume that the pixel size is 72 dpi. FOP uses the pixel size (resolution) specified in the image. Since you are using JPEG and the resolution may be specified in the EXIF segment make sure you use trunk, not 1.1. If the image has no resolution (or the resolution is in the

Re: config: interaction between font substitutions and embed-url

2014-07-16 Thread Luis Bernardo
Are you sure the fonts are found the second time, or you just say that because the message is not repeated? Font setup may be just happening once and then reused. On Wed, Jul 16, 2014 at 4:12 AM, Jason Harrop jhar...@gmail.com wrote: Hi all, I'm seeing something which seems a little strange to

Re: Formating issue with fop

2014-08-11 Thread Luis Bernardo
That file is truncated. Can you provide another copy? But the message means that for a given row you added more columns (fo;table-cell) than the number you specified before in fo:table-columns. On Mon, Aug 11, 2014 at 7:49 AM, rushabh rushabh.ajm...@igate.com wrote: Hi, I have been using

Re: How to config font in FOP 1.1

2014-10-02 Thread Luis Bernardo
Since you only use one font-family in the document and applies to the full content of the document you don't need to configure any font substitution. Just configure the font you use. Also, don't use the metrics-url. Are you running from the command line? On 10/2/14, 1:06 PM, tranhsv wrote:

Re: Encoding problem with one specific letter and postscript

2014-10-30 Thread Luis Bernardo
I do get the behavior you describe if I use the arial font file you provided but I get a different result if I use an arial font file from my system. I do still get the problem with copy and paste from PDF, but all characters are correctly displayed in the PDF (converted from PS with ps2pdf). I

Re: TIFF CMYK image with AFP

2014-12-01 Thread Luis Bernardo
Can you provide the tiff image and fop.xconf you use? On Mon, Dec 1, 2014 at 10:56 AM, Christian Pestel christian.pes...@orange.fr wrote: Hi, TIFF image with CMYK color space is not well rendered in AFP. I think that the native TIFF codec don’t implement that :

Re: SVG to PDF: rasterized image on filter effect/mask/clipping path ?

2014-12-01 Thread Luis Bernardo
Can you provide your SVG? What is the FOP transcoder version (too see that check the Producer entry in the Properties of the generated PDF)? On Mon, Dec 1, 2014 at 11:02 AM, cedric bompart cedric.bomp...@gmail.com wrote: Hi, I'm currently converting a JavaFX node graph to PDF (via a SVG

Re: TIFF CMYK image with AFP

2014-12-02 Thread Luis Bernardo
. Christian Pestel christian.pes...@orange.fr cpes...@bdoc.com *From:* Luis Bernardo lmpmberna...@gmail.com *Sent:* Monday, December 01, 2014 5:31 PM *To:* fop-users@xmlgraphics.apache.org *Subject:* Re: TIFF CMYK image with AFP I see. I do have a patch for this, something that I fixed a while

Re: SVG image cache using a URIResolver?

2014-12-07 Thread Luis Bernardo
Probably the URI is validated during the XML/XSL to FO transformation, and the validation requires a call -- you can check that by returning an invalid response. In any case, the official input for FOP is FO and the caching was implemented with that in mind. You can tweak your URIResolver

Re: TIFF CMYK image with AFP

2014-12-10 Thread Luis Bernardo
...@orange.fr mailto:cpes...@bdoc.com *From:* Luis Bernardo mailto:lmpmberna...@gmail.com *Sent:* Monday, December 01, 2014 5:31 PM *To:* fop-users@xmlgraphics.apache.org mailto:fop-users@xmlgraphics.apache.org *Subject:* Re: TIFF CMYK image with AFP I see. I do have a patch for this, something that I

Re: Searching hyphenated variablenames in PDF (with Acrobat)

2015-01-14 Thread Luis Bernardo
There was only one file attached Also, I was not able to reproduce the issue (maybe because I don't understand what you describe) -- I used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is the word you are searching for? On 1/14/15 6:26 PM, markus.sticker.e...@zf.com

Re: Barcode generation with FOP 1.1

2015-01-19 Thread Luis Bernardo
I got the jars from http://sourceforge.net/projects/barcode4j/files/. There is a fop-ext and a fop-ext-complete jar. I assume the latter includes the xgc jar, so if you use the former, as I did, I expect the xgc jar to be necessary (but I did not try to check if it is really necessary). On

Re: Barcode generation with FOP 1.1

2015-01-19 Thread Luis Bernardo
it to classpath it worked. Thank to all of you who participated and tried to help. Special thanks to Luis Bernardo. Luis: How did you know that the barcode4j-xgc.jar should be on the classpath? I've searched on the internet quite long time and the jar is not mentioned anywhere. -- View this message

Re: Barcode generation with FOP 1.1

2015-01-18 Thread Luis Bernardo
I tested your example from the command line using fop-1.1 and the the jars barcode4j-fop-ext.jar, barcode4j-xgc.jar and barcode4j.jar and it worked. So the issue is probably with your environment setup. After you run you code, in the debug perspective, right click in the execution entry and

Re: Fixing the table height

2015-02-12 Thread Luis Bernardo
a drawing of what you expect, or maybe a document generated with the older FOP version you were using? On 2/12/15 10:26 AM, fop_ag wrote: Hi Luis Bernardo, Even having block-container inside the table cell didnt give the expected result.. Still the height is growing depending on total no of rows

Re: Fixing the table height

2015-02-12 Thread Luis Bernardo
I think the desired behavior is to have rows of fixed height. Having a block-container with fixed height inside a table-cell should achieve the desired result. On 2/10/15 5:20 PM, Pascal Sancho wrote: Hi, FOP 1.1 only accepts value auto for fo:table@height. Other values are replaced with

Re: Hyphenation pattern Lincensing issues

2015-01-07 Thread Luis Bernardo
See if http://tug.org/tex-hyphen/#languages answers your question. You can also try to contact the authors of the pattern you are using or ask at tex-hyp...@tug.org. On 1/7/15 3:45 PM, jfrm.mau...@gmail.com wrote: Le 07/01/2015 14:58, Simon Steiner a écrit : Hi, Many of the hyphenation

Re: bug: fop crashes when using float and span=all

2015-03-19 Thread Luis Bernardo
Please create a bug in Jira. I think that span, like float does, may trigger a restart of the layout engine and the two restarts are not playing well together... On 3/19/15 5:01 PM, Andreas Argirakis wrote: Hi. Using fop nightly 20150319 on Windows 7. Attached are three .fo files showing

Re: page number, but only if more than one page exists

2015-03-22 Thread Luis Bernardo
Try using a mix of page masters with different page positions (see http://www.w3.org/TR/xsl/#page-position). You will need a page master with page-position=only without the page number, and a page master with page numbers when there is more than one page (i.e. when page-position=only does

Re: Unable to copy Hyphen from PDF generated using FOP

2015-04-02 Thread Luis Bernardo
Please provide the FO file you used to generate the PDF and indicate what viewer, version and OS you used. Also, and this is important, indicate what font you used and how you configured it (in fop.xconf). I have seen different copy and paste behaviors from Adobe Reader with different fonts.

Re: Apache FOP Absoulute Relative Position Issue

2015-04-22 Thread Luis Bernardo
You need to use block-container for absolute positioning. Are you trying that? On 4/22/15 11:27 AM, Paul White wrote: Hi, Would you please tell me if there is a proper way to position some fo blocks absolutely and under them on the same page to position a table which should spawn over

Re: How to draw these arrow characters?

2015-05-13 Thread Luis Bernardo
Works for me (using Mac OS X) without using a configuration file since the any font is equivalent to the New Times Roman (may even be the same) font specified in the SVG. Do not use auto-detect if you want to have better control of the fonts used. Also, supplying a bare minimum FO file that

Re: FOP Headers Footers

2015-06-03 Thread Luis Bernardo
It would be easier to answer if you were to send an example of what you get and what you would like to get instead. But it looks like you should be able to handle that with table-markers. On 6/3/15 9:44 PM, Fernando Israel wrote: Hi All, Here is the background to my question. We have been

Re: floats

2015-06-10 Thread Luis Bernardo
No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi,

Re: Apache Batik/FOP query about CVE-2015-0250

2015-06-26 Thread Luis Bernardo
See http://xmlgraphics.apache.org/security.html. On 6/26/15 5:42 PM, Chris Bowditch wrote: Hi Vincent, Yes Batik 1.8 contains the fix for CVE-2015-0250 Thanks, Chris On 26/06/2015 14:44, Vincent Timoney wrote: Hi, Thanks for your reply; Just to double-check is the new version of

Re: floats

2015-06-10 Thread Luis Bernardo
experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely

Re: floats

2015-06-11 Thread Luis Bernardo
but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely

Re: Apache Batik/FOP query about CVE-2015-0250

2015-06-26 Thread Luis Bernardo
Yes, it is (you must be using FOP-1.1 or earlier if you have the 1.7 jar). You can replace it by version 1.7.1 if you wish. Version 1.7.1 is the same as 1.7 but for the CVE-2015-0250 fix. On 6/26/15 11:04 AM, Vincent Timoney wrote: Hi, In relation to CVE-2015-0250: The Apache FOP

Re: Hyphenation Jar License Issues

2015-07-29 Thread Luis Bernardo
The licenses are the ones listed in http://tug.org/tex-hyphen/#languages. It is for you to decide whether the licenses are OK for your project. On Wed, Jul 29, 2015 at 2:21 PM, sripathi sripathi.rao...@gmail.com wrote: Hi All, In Apache FOP site mentioning like,for hyphenation,we need to

Re: Fop2, Java8, Tomcat7 and Bouncy Castle

2015-11-06 Thread Luis Bernardo
You are using PDFBox, maybe because you are using the PDF Plugin, and that is why you need BoucyCastle. FOP does not need it. On Fri, Nov 6, 2015 at 10:01 AM, Dave Thorn wrote: > Hi, > > The page at > > https://xmlgraphics.apache.org/fop/2.0/pdfencryption.html > > says "The PDF

Re: Unable to Process Large Pragraph

2015-10-19 Thread Luis Bernardo
I assume you are putting a very large string inside a fo:block. Break the string into pieces and put a in between the pieces. On Mon, Oct 19, 2015 at 4:22 PM, sripathi wrote: > Hi All, > > My document having a large paragraph(nearly 100 pages), FOP2.0 is unable > to

<    1   2