Re: Scaling image problem

2017-10-11 Thread Terence M. Bandoian
On 10/11/2017 10:28 AM, Beugnier, Ronny (IP) wrote: Thanks for the feedback ! But I do not know the width since it is not always the same image. I also tried scale-down-to-fit but could not get it to work. BTW: I am using fop 2.2 -Original Message- From: Terence M. Bandoian

Re: Scaling image problem

2017-10-11 Thread Terence M. Bandoian
On 10/11/2017 9:39 AM, Beugnier, Ronny (IP) wrote: Hi, I am looking for a way that an image scales to fit the page. I have tried various solutions but non worked. The image on the page is too big to fit the page so it is not shown entirely. How can I scale in fop to see the full image on

Re: Font not embedded in PDF File !

2015-04-30 Thread Terence M. Bandoian
/renderers /fop Any ideas ? *De :*Terence M. Bandoian [mailto:tere...@tmbsw.com] *Envoyé :* mercredi 29 avril 2015 16:48 *À :* fop-users@xmlgraphics.apache.org mailto:fop-users@xmlgraphics.apache.org *Objet :* Re: Font not embedded in PDF File ! Hi, Fabrice- If it's in the JAR file, I don't

Re: Font not embedded in PDF File !

2015-04-29 Thread Terence M. Bandoian
mycfg.xml is my FOP configuration file Fabrice *De :*Terence M. Bandoian [mailto:tere...@tmbsw.com] *Envoyé :* mardi 28 avril 2015 18:19 *À :* fop-users@xmlgraphics.apache.org mailto:fop-users@xmlgraphics.apache.org *Objet :* Re: Font not embedded in PDF File ! Hi, Fabrice- Are you sure

Re: Font not embedded in PDF File !

2015-04-29 Thread Terence M. Bandoian
=/bold// /font !-- détection automatique des fonts installées -- auto-detect/ /fonts /renderer /renderers /fop Any ideas ? *De :*Terence M. Bandoian [mailto:tere...@tmbsw.com] *Envoyé :* mercredi 29 avril 2015 16:48 *À :* fop-users@xmlgraphics.apache.org *Objet :* Re: Font not embedded in PDF

Re: Font not embedded in PDF File !

2015-04-28 Thread Terence M. Bandoian
Hi, Fabrice- Are you sure the application can locate the FOP configuration file when it's executed outside of Eclipse? -Terence Bandoian On 4/28/2015 9:23 AM, Fabrice MAUPIN wrote: Hi, I would like that the Calibri Font is embedded in my PDF File. This is my FOP configuration file :

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

2015-03-22 Thread Terence M. Bandoian
Good idea. Another option would be to never show the page number on the first page. -Terence Bandoian On 3/22/2015 5:21 PM, Luis Bernardo wrote: 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

Re: FOP failing to transform XSL to PDF with image when run in tomcat/osgi, but working when run in standalone

2014-11-26 Thread Terence M. Bandoian
. Matt On 24 November 2014 at 20:54, Terence M. Bandoian _terence@tmbsw.com_ mailto:tere...@tmbsw.com wrote: Hi, Iain- This may not help much but I've been able to successfully use fo:external-graphic in FOP 1.0 on Tomcat 6 and Tomcat 7. The images were JPEG and OSGI was not used

Re: Upgrading fop 0.95 to fop 1.1 because of PDF/A-1b

2014-08-21 Thread Terence M. Bandoian
On 8/21/2014 8:47 AM, MartinKl wrote: Thank you all for responses and suggestions but it does not resolve problems which I have. Patches are applicable on trunk and application on fop v1.1 is not possible since changes in code. I can not use anything under development and in general I think

Re: Upgrading fop 0.95 to fop 1.1 because of PDF/A-1b

2014-08-21 Thread Terence M. Bandoian
Hi, Martin- For metadata, I used the fo:declarations element to explicitly set necessary values. For the font, maybe someone on the list knows if version 1.0 uses CID subsets. -Terence Bandoian On 8/21/2014 10:34 AM, MartinKl wrote: Hello Terence, The first message at the top of this

Re: FOP 0.94 showing Error with opening URL...Connection Reset and fop.fo.FONode - Image Not Available

2014-06-23 Thread Terence M. Bandoian
On 6/20/2014 1:29 PM, Rwui wrote: Hi there, So I'm working on some applications, and they're using fop-0.94.jar as external library to generate the PDF based on certain XSL file. The problem that I'm having now is the downloaded PDFs from the applications are incomplete (in a high level

Re: preserving a trailing space in inline

2014-05-19 Thread Terence M. Bandoian
On 5/19/2014 8:15 PM, Jason Harrop wrote: Hi, in the following FO, I'm losing the space between the word page and page-number-citation-last. table-cell block inline font-size=8.5pt inline font-family=Calibri Page No:

Re: preserving a trailing space in inline

2014-05-19 Thread Terence M. Bandoian
On 5/19/2014 10:03 PM, Jason Harrop wrote: Hi Terence, thanks, it's good to know the simple FO works fine! Its non trivial for me to get rid of the inline elements, although I could get rid of the nested ones if it is these which are causing the problem. I'll look into that, but it would

Re: Nested Bulleted Lists Problem

2014-04-04 Thread Terence M. Bandoian
On 4/4/2014 7:49 PM, a3leggeddog wrote: Hello - I am trying to convert a nested, bulleted list in HTML to XML-FO for output as a PDF in Apache FOP. The HTML looks like this ul liItem Number1/li ul liSub-Item 1/li liSub-Item 2/li /ul /ul All of the

Re: Nested Bulleted Lists Problem

2014-04-04 Thread Terence M. Bandoian
On 4/4/2014 8:06 PM, Terence M. Bandoian wrote: On 4/4/2014 7:49 PM, a3leggeddog wrote: Hello - I am trying to convert a nested, bulleted list in HTML to XML-FO for output as a PDF in Apache FOP. The HTML looks like this ul liItem Number1/li ul liSub-Item 1/li

Re: Nested Bulleted Lists Problem

2014-04-04 Thread Terence M. Bandoian
On 4/4/2014 8:21 PM, a3leggeddog wrote: Thanks for the quick response! Yes, if you have examples, that would be great. You wouldn't happen to have an XSLT example? The one I have produces XML-FO that looks like this: fo:list-block space-before=1em space-after=1em role=html:ul

Re: Nested Bulleted Lists Problem

2014-04-04 Thread Terence M. Bandoian
On 4/4/2014 8:25 PM, a3leggeddog wrote: Hi Terence - Thank you for your quick response! I thought I tried that as well, but I will give it another shot. Do you have an XSL template that will produce the correct XML-FO from HTML for nested lists? Thanks, Seth Hi, Seth- Sorry, I don't.

Re: Extension issue

2014-03-19 Thread Terence M. Bandoian
On 3/19/2014 10:59 AM, Gonzalo Vasquez wrote: Hi there, After checking the image problems related to PostScript output, I'm trying to refactor my extension to produce an external-graphic instead of an svg document, and the first one does render properly both in PDF and PostScript, but not

Re: Extension issue

2014-03-19 Thread Terence M. Bandoian
Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com El 19-03-2014, a las 18:03, Terence M. Bandoian tere...@tmbsw.com escribió: On 3/19/2014 10:59 AM, Gonzalo Vasquez wrote

Re: right align arabic in table-cell

2014-03-19 Thread Terence M. Bandoian
Hi, Jason- This might help: http://www.w3.org/TR/xsl/#d0e9451 -Terence Bandoian On 3/19/2014 6:44 PM, Jason Harrop wrote: Hi Glenn Thanks very much for that. So the following should right align in the table cell? table-cell xmlns=http://www.w3.org/1999/XSL/Format;

Re: Improving FOP Performance

2014-03-18 Thread Terence M. Bandoian
On 3/18/2014 11:09 AM, Gonzalo Vasquez wrote: I'm into that, but I guess there might be some first parts to look before I dig thaaat deep ;) Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes -

Re: Problem with XMP-Metadata and PDF/A-Validation

2013-08-05 Thread Terence M. Bandoian
On 8/5/2013 2:24 AM, stenersen wrote: I just tried to use FOP 1.0 and it works! So i had a look at the code and found out that in the constructor of org.apache.fop.pdf.PDFRoot:75 the line setLanguage(x-unknown); overrides my property. This line is new in FOP 1.1. Is this a bug? Hi,

Re: Problem with XMP-Metadata and PDF/A-Validation

2013-08-02 Thread Terence M. Bandoian
On 8/1/2013 6:56 AM, Stenersen, Björn WI \(Fa. Kessler Beratung\) wrote: Hello, i am trying to create a pdf/a with FOP 1.1, but the validation of the generated PDF always fails due to corrupt xmp-metadata. I tried several Validators, all of them report the same error: XMP metadata: Property

Re: custom metadata

2013-07-18 Thread Terence M. Bandoian
On 7/18/2013 4:48 AM, František Comorek wrote: Hello, I wonder if it is possible to create my own metadata with apache fop library in java. I can add standard metadata using user agent: userAgent.setKeywords(interesting keywords); But havent found how to add customised metadata with key

Re: referencing fonts in pdf and embedding them in pdf-a with one fop.xconf

2013-03-22 Thread Terence M. Bandoian
On 3/22/2013 6:49 AM, Francesco Nigro wrote: Hi all, I’m trying to create one fop.xconfig so that fonts are automatically embedded in pdf-A and referenced in pdf. I defined the tag referenced-fonts and also the embed-url attribute but referenced-fonts always prevails and pdf-a generation

Re: How get fixed width for inline FO ?

2013-02-09 Thread Terence M. Bandoian
Steve Fogel | Information Architect, Oracle Database | 650.506.4914 Oracle Server Technologies Information Development 500 Oracle Parkway | M/S 4op1126 | Redwood Shores, CA 94065 -Original Message- From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Friday, February 01, 2013 3

Re: How get fixed width for inline FO ?

2013-02-09 Thread Terence M. Bandoian
/xsl:for-each If you don't want the list of tables to expand to the full width of your region-body, you need a fixed-width bounding block (likely with overflow=hidden) On 02/09/2013 04:08 PM, Terence M. Bandoian wrote: On 2/1/2013 1:44 PM, Steve Fogel wrote: Hi... Thanks for the reply

Re: How get fixed width for inline FO ?

2013-02-01 Thread Terence M. Bandoian
On 2/1/2013 2:37 AM, Steve Fogel wrote: Hi, all.. I'd like to specify a fixed width for an inline FO with FOP 1.1. It's in a List of Tables in the front matter of a book. For each table in the list, table number area should be fixed width followed by table title. I tried this (simplified):

Re: Strange fop/batik font problem with apache in webapp.

2012-09-08 Thread Terence M. Bandoian
On 9/8/2012 9:08 AM, Sergiu Dumitriu wrote: On 09/08/2012 04:10 AM, Müller, Wolfgang wrote: Hi all, I want to generate some PDF from SVG via fop/batik from inside a web application. I am using the Grails framework, BTW. Grails runs its webapps inside a tomcat. Exec summary: Something works as

Re: Strange fop/batik font problem with apache in webapp.

2012-09-08 Thread Terence M. Bandoian
, Wolfgang On Sat, Sep 8, 2012 at 5:42 PM, Terence M. Bandoian tere...@tmbsw.com mailto:tere...@tmbsw.com wrote: On 9/8/2012 9:08 AM, Sergiu Dumitriu wrote: On 09/08/2012 04:10 AM, Müller, Wolfgang wrote: Hi all, I want to generate some PDF from SVG via fop/batik

Re: external-graphic

2012-03-30 Thread Terence M. Bandoian
As Pascal recommends below, I use the content-width property to scale images. In my case, I set the content-width as specified in the XML input: fo:external-graphic xsl:attribute name=src xsl:value-of select=url / /xsl:attribute xsl:attribute name=content-width xsl:value-of select=width /

Re: Batik not loaded

2011-12-19 Thread Terence M. Bandoian
On 12/19/2011 1:28 PM, Lars Bjørndal wrote: I get the following error from fop: 19.des.2011 20:14:28 org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage WARNING: Batik not in class path Even though, I have the following CLASSPATH variable:

Re: Normal + italic fonts work; but bold appears normal

2011-10-03 Thread Terence M. Bandoian
On 10/3/2011 3:24 PM, Spyros Papantoniou wrote: font kerning=yes embed-url=file:///C:/WINDOWS/Fonts/ARIALBD.ttf font-triplet name=Arial style=bold weight=bold/ /font Should this be style=normal weight=bold? fo:block font-size=12pt *font-family=Arial* text-align=left

Re: picks wrong title language for metadata

2011-09-12 Thread Terence M. Bandoian
On 9/12/2011 6:20 AM, Glenn Adams wrote: the following would not be valid XML, so would produce an XML parsing error On Sun, Sep 11, 2011 at 3:48 PM, Terence M. Bandoian tere...@tmbsw.com mailto:tere...@tmbsw.com wrote: Does it make sense to specify something like the following

Re: picks wrong title language for metadata

2011-09-11 Thread Terence M. Bandoian
On 9/11/2011 7:31 AM, Mathieu Malaterre wrote: Dear all, I am trying to fix a bug in fop debian package (#519592). I am copying the exact bug report here (*). Does anyone knows what is going on ? Should I simply fill in a bug report with this information ? The aoif.fo attached allowed me to

Re: Memory leak in FOP

2011-09-08 Thread Terence M. Bandoian
On 9/8/2011 8:45 AM, Jonathan Levinson wrote: The reason we share a FopFactory instance between threads is speed. FopFactory creation is very expensive. I believe it involves font look ups. Perhaps we should go the private branch approach, just applying to FOP 1.0, the fixes to the

Re: Fop 1.0: resolving relative Font URLs

2011-04-14 Thread Terence M. Bandoian
the metrics files and the font files. No problems. Sorry for the confusion. -Terence Bandoian On 4/13/2011 11:26 AM, Terence M. Bandoian wrote: On 4/13/2011 10:54 AM, Andreas L. Delmelle wrote: On 13 Apr 2011, at 17:33, Ulrich Mayring wrote: Hi Ulrich All I'm doing is replace fop-0.95.jar

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Terence M. Bandoian
On 4/13/2011 10:54 AM, Andreas L. Delmelle wrote: On 13 Apr 2011, at 17:33, Ulrich Mayring wrote: Hi Ulrich All I'm doing is replace fop-0.95.jar with fop-1.0.jar and our application ceases to work. Just a thought: it might be that the font-cache has also changed slightly between the two

Re: Thread safe?

2011-03-29 Thread Terence M. Bandoian
Hi- Is FopFactory thread-safe? -Terence Bandoian On 3/29/2011 1:56 PM, Andreas L. Delmelle wrote: On 29 Mar 2011, at 21:23, Eric Douglas wrote: It's actually crashing on the first transformer. It only crashes if I run 2 of these at once. Is there something obvious I'm missing in this

Re: Thread safe?

2011-03-29 Thread Terence M. Bandoian
- From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Tuesday, March 29, 2011 5:22 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Thread safe? Hi- Is FopFactory thread-safe? -Terence Bandoian On 3/29/2011 1:56 PM, Andreas L. Delmelle wrote: On 29 Mar 2011, at 21:23, Eric Douglas