Re: any plans of an FOP 2.2 release any time soon

2016-11-29 Thread Pascal Sancho
Hi, FOP active team is quite little, so having a release plan will not help. As FOP is open source, volunteers are welcome to help. 2016-11-29 11:11 GMT+01:00 Mark Gibson : > For some of us, it’s not appropriate to take the development branch. > However, we are

Re: fo file to pdf conversion run much slower on server than on local and command line

2016-10-31 Thread Pascal Sancho
Hi, many things can cause such latency: URL resolution (like dtd refs), LDAP auth, proxy resol, etc. You should monitor your network communications. 2016-10-26 18:44 GMT+02:00 aluan : > I am facing a strange issue where apache fop convert fo file to pdf runs very > slow on

Re: fop.xconf and AWT renderer

2016-07-29 Thread Pascal Sancho
Hi, AFAIK, AWT uses system fonts only. If you want to add 'custom fonts', you have to add them to your system. 2016-07-28 22:40 GMT+02:00 Stefan Radermacher : > I'd like to use custom fonts with an AWT renderer, but I can't find in > documentation what I need to set as

Re: How to change apache fop encoding from configuration? (Default is İdentity -h)

2016-05-06 Thread Pascal Sancho
Hi, I don't understand what you mean by "fop encoding". Do you mean pdf version, or whatever pdf option? What FOP version do you use? I remember some copy/paste problems on very old version (FOP 0.20.x), or with some exotic font files. You should at least provide a couple of files: - shortened

Re: font-base is ignored in 2.1

2016-03-22 Thread Pascal Sancho
Hi, Please, can you file in a JIRA ticket to keep this in in mind. 2016-03-21 17:09 GMT+01:00 Adam Retter : > Thanks for getting back to me Chris, > > Okay that makes sense to me then, and I was able to work with custom > resolvers to get around the issue I have. > >

Re: Usage of Tables in Apache FOP

2016-03-10 Thread Pascal Sancho
Hi, you should not use keep-together, witch is a composite property: .within-page + .within-column + .within-line You should use keep-together.within-column instead 2016-03-10 10:00 GMT+01:00 Sireesha Boddapati : > Hi, > > Attache id the sample FO file that we

Re: Usage of Tables in Apache FOP

2016-03-10 Thread Pascal Sancho
hi, please, provide a simple xsl-fo file that allows to reproduce what you get. You will get quicker help. 2016-03-10 7:19 GMT+01:00 Sireesha Boddapati : > Hi Team, > > We have different page-sets with different widths of region-body. The page > content is dynamic

Re: keep-together question

2016-02-26 Thread Pascal Sancho
Thu, Feb 25, 2016 at 09:41:20AM +0100, Pascal Sancho wrote: >> That can be achieved using an integer value rather than 'always'. >> See [1] (compliance page) & [2] (XSL-FO rec v1.1) for further info. >> >> NOTE: keep-together should be considered as a shorthand

Re: keep-together question

2016-02-25 Thread Pascal Sancho
Hi, That can be achieved using an integer value rather than 'always'. See [1] (compliance page) & [2] (XSL-FO rec v1.1) for further info. NOTE: keep-together should be considered as a shorthand for *.within-line, *.within-column, and *.within-page It's a good practice to set only the desired

Re: Upgrading from 0.20.5 to FOP 2.1

2016-02-05 Thread Pascal Sancho
Hi, you should start reading [1]. Globally, FOP 2.x is more compliant and less buggy than FOP 0.x: - better and stricter conformance to XSL recommendation v1.1 - better spacing, alignment, etc. computations that make result more as expected In short, you probably will have to rewrite all your

Re: Table text is overflowing on to the right margin

2016-01-29 Thread Pascal Sancho
Hi, ah, FOP 0.20.x... very old version that is not maintained any more. What I'll say here has not been tested on FOP 0.20.x, but is perfect valid with newer versions. The issue is caused by the property keep-together set on fo:table-row This property should be considered as a combination of 3

Re: Table text is overflowing on to the right margin

2016-01-28 Thread Pascal Sancho
Hi, Please, attach a full XSL-FO example, as short as possible (not XSLT), this will help to reproduce the issue, then help you. 2016-01-28 6:50 GMT+01:00 Sireesha Boddapati : > Hi > > I have a pdf file defined with 2 page masters. > First page with total width of

Re: Ampersand in FOP

2016-01-21 Thread Pascal Sancho
Hi, your XSL-FO snippet [1] is rendered correctly by FOP: "Cat & Mouse". I suspect something being wrong in your XSLT, so you should look at it closer. More appropriate list for this is XSLT list (see [2]). [1] Cat Mouse [2] http://www.mulberrytech.com/xsl/xsl-list/ 2016-01-21 8:47 GMT+01:00

Re: table-header question

2016-01-21 Thread Pascal Sancho
Hi, AFAIK, there is no such extension with FOP like XEP has (see [1]). As a workaround, you can remove it in a middle-process, using the Intermediate Format (see [2]), and re-feed FOP with changed IF. [1] http://www.renderx.com/reference.html#Omitted_Header [2]

Re: table header omit with apache fop

2016-01-21 Thread Pascal Sancho
please, check this mailing list, you just have asked this topic 3 times today, and it has been answered. 2016-01-21 15:17 GMT+01:00 : > Hi, > > > > How to omit the initial header but keeping the subsequent page break > > headers with out using renderx in

Re: Migrating from 1.1 to 2.1 (FIXED image path)

2016-01-20 Thread Pascal Sancho
Hi, 2016-01-19 17:50 GMT+01:00 : > Thanks for the pointer! That was what I was looking for. > > So it seems that the config file MUST reside WITH the FO file, in the same > directory. But only IF base is used in the config file? No, the config file can be put in any location

Re: Migrating from 1.1 to 2.1 (FIXED image path)

2016-01-19 Thread Pascal Sancho
Hi, there is a big change between FOP 1.x and FOP 2.x regarding the base: 1.x: base defaults to FOP uri 2.x: base defaults to FO uri See https://issues.apache.org/jira/browse/FOP-2306 2016-01-19 1:21 GMT+01:00 : > All, > Thanks to Tosten who made me think hard ;-) > > It

Re: Embedding Fonts for PDF/A

2016-01-06 Thread Pascal Sancho
Hi, Simon asked for XSL-FO file (what feeds FOP), not fop.xconf 2016-01-06 13:18 GMT+01:00 Tunahan Coban : > Edit: > > > > I change the font to Arial. But it still doesn’t work. > > > > > >true > > > > > > PDF/A-1a > >

Re: Embedding Fonts for PDF/A

2016-01-06 Thread Pascal Sancho
u this as a mail-attachment. > > When you could say me what kind of mistakes you search, so can I help you.. > Because the file is too long, you will see.. :/ > > Thanks so much ! > > -- > > > -Ursprüngliche Nachricht- > Von: Pascal Sancho [mailto:psanc

Re: font question (was Re: alternate text extension not working in FOP version 2.0)

2015-10-28 Thread Pascal Sancho
Hi, You don't need metric files anymore since v0.95 (or earlier, don't remember exactly). To have both normal, extended, or condensed fonts, you have to name them differently, style attribute is only used to distinguish regular Vs italic. The main improvement in font variations, between v0.2.x

Re: Using Sections In Technical Documentation

2015-09-29 Thread Pascal Sancho
Hi, this list is not the right place for such question: this list is only about FOP usage, witch job starts with xsl-fo. You should ask on docbook mailing list; follow http://www.docbook.org/help. 2015-09-29 7:53 GMT+02:00 Ray J. : > I am hoping to use DocBook for some of my

Re: javax.xml.transform.TransformerException: java.lang.NullPointerException

2015-09-23 Thread Pascal Sancho
Hi, you should give further info to permit the audience to reproduce what you get: - FOP version - description of FOP inputs and environment - etc. 2015-09-22 21:58 GMT+02:00 Jim : > Stack trace > > javax.servlet.ServletException: > javax.xml.transform.TransformerException:

Re: rendering TIFF with FOP 2.0

2015-09-17 Thread Pascal Sancho
Hi, can you please file in a Jira entry, attaching your material (test case, patch, etc) This will ensure that nothing will be lost or omitted. 2015-09-16 16:37 GMT+02:00 johannes.katel...@t-online.de : > OK, with the help of the FOP source I figured it out

Re: how can override the start fo:page-number in xsl:fo with my number

2015-09-08 Thread Pascal Sancho
Hi, the right attribute is "initial-page-number". And from what I can read in FOP 0.20.5 doc (see [1]), this was implemented. Not sure however if it worked perfectly, since FOP redesign (starting from v0.9x), 0.20.x remains unmaintained. [1]

Re: how can read content of every rendered Page

2015-09-04 Thread Pascal Sancho
Hi, I don't understand what you mean. Please provide an example: - your input - what you expect 2015-09-03 14:21 GMT+02:00 robyp7 . : > hi > > I have a problem. I need to see the content of a page before it will be > rendered by FOP, beacuse i need to get the content data

Re: monospaced block behavior while wrapping lines

2015-09-04 Thread Pascal Sancho
Hi, I see no difference between what you expect and what you get. Please provide attached files (xsl-fo and pdf) rather than copy/paste, not sure what is rendered by my mail client is what you can see on your side. 2015-09-03 16:16 GMT+02:00 : > Hi, > > > > Iwant

Re: Fop cannot resolve local font declared in fop.conf

2015-08-27 Thread Pascal Sancho
no problem. a side note: you should not use metric files, this is deprecated unless you don't want to embed your font in PDF. for further info, see http://xmlgraphics.apache.org/fop/2.0/fonts.html#custom 2015-08-27 15:33 GMT+02:00 Christoffer Bruun cdbr...@flyingpigs.dk: As I should have

Re: FOP 2.0 Docbook XSL NullPointerException

2015-08-24 Thread Pascal Sancho
Hi, FOP uses XSL-FO as input. So, the best practice is to provide XSL-FO file on this list, not XSLT. That said, you should provide full error trace with your test case; information is not sufficient here to understand from what part the Exception is thrown. 2015-08-22 15:23 GMT+02:00 Rahman

Re: FOP2.0 taking more time format complex script documents

2015-08-14 Thread Pascal Sancho
Hi, AFAIK, there is no rules that prevent such usage. as a starting point, you can follow this: http://xmlgraphics.apache.org/fop/dev/conventions.html 2015-08-13 10:15 GMT+02:00 Klaus Malorny klaus.malo...@knipp.de: On 12.08.2015 08:38, Pascal Sancho wrote: Hi, please, can you file

Re: FOP2.0 taking more time format complex script documents

2015-08-12 Thread Pascal Sancho
Hi, please, can you file in a Jira entry, attaching all materials (test case, patch, etc.) 2015-08-11 16:36 GMT+02:00 dvineshku...@gmail.com dvineshku...@gmail.com: Hi, After analysis, found a bug in MultiByteFont::findGlyphIndex() method. In FOP2.0, MultiByteFont::findGlyphIndex() method,

Re: [FOP] Watermark does not overlay over text

2015-07-03 Thread Pascal Sancho
Hi, To do so, one solution is to output your doc in IF format, add missing watermarks on every page, and re-inject the IF to FOP, that should do the trick. Read [1] for further info. [1] http://xmlgraphics.apache.org/fop/2.0/intermediate.html#usage-if 2015-07-02 1:18 GMT+02:00 Puja Jain

Re: How to draw these arrow characters?

2015-05-15 Thread Pascal Sancho
Hi, In your SVG, the 4 missing glyphes (PI, OMEGA, LT-ARROW, LTRT-ARROW) are laid out with the Times New Roman font. Note that such font name includes font-family (Times New) plus font style (Roman, i.e. not italic). You should configure FOP to use such font, with the same family name, style,

Re: Unable to copy Hyphen from PDF generated using FOP

2015-04-03 Thread Pascal Sancho
Hi, In order to get better help, you should provide XSL-FO example rather than XSLT; FOP is fed with the former. 2015-04-02 12:04 GMT+02:00 smruthi smruthi.mohan...@arisglobal.com: Thank you for your response. The PDF is viewed using Adobe Reader X - version - 10.1.0 OS used - Windows 7

Re: Fixing the table height

2015-02-16 Thread Pascal Sancho
Hi, generally speaking, FOP prior 0.9x was widely buggy, regarding block-progression-dimension (AKA height) related things. Current FOP versions (since refactoring started with 0.9x) gives expected results. In addition, older versions didn't fully respect XSL-FO recommendations. So you'll get

Re: Fixing the table height

2015-02-16 Thread Pascal Sancho
fingers too big ... That said, I'm not sure that fixed table height will be implemented in short-term; the main question is: how distribute remaining vertical space between rows. 2015-02-17 8:47 GMT+01:00 Pascal Sancho psancho@gmail.com: Hi, generally speaking, FOP prior 0.9x was widely

Re: Fixing the table height

2015-02-16 Thread Pascal Sancho
Hi, I understand now what you want. For that, you need to set row height. This can be computed at XSLT stage: xsl:variable name=rowHeigh value=concat($availableHeight div count($myInputData/row), 'pt')/ ... fo:row height={$rowHeigh} ... /fo:row 2015-02-16 6:14 GMT+01:00 fop_ag

Re: Fixing the table height

2015-02-12 Thread Pascal Sancho
My mistake, I was talking about space-before and space-after properties, with are composite too (.minimum, .maximum, and .optimum) 2015-02-12 13:58 GMT+01:00 Pascal Sancho psancho@gmail.com: that can be achieved playing with block-progression-dimension.minimum, b-p-d.optimum, and b-p

Re: Fixing the table height

2015-02-11 Thread Pascal Sancho
Hi, link seems broken plus, the best material in this list will be a short xsl-fo (not xlst) demonstrating the issue. 2015-02-11 6:28 GMT+01:00 fop_ag nithinurs.venugopalraj...@arisglobal.com: Hi, I tried the same thing u told. Still same problem with the height. I'm attaching the snapshot

Re: Fixing the table height

2015-02-10 Thread Pascal Sancho
Hi, FOP 1.1 only accepts value auto for fo:table@height. Other values are replaced with 'auto'. If you want a frame with a fixed (or minimal) height, then embed your table in an fo:block-containter: fo:block-container border=solid red 1pt block-progression-dimension.minimum=1cm

Re: Fixing the table height

2015-02-10 Thread Pascal Sancho
Hmm, rather than use an fo:table to get a fixed height area, you should use an fo:block-container. Note that with modern FOP, such elements are handled in a better way than the (very old) FOP 0.2.x. Then, you can insert an fo:table in your fo:block-container if you lay out tabular data.

Re: Fixing the table height

2015-02-09 Thread Pascal Sancho
hi, For such question please ask on FOP-users list, FOP-dev list is for internal dev. That said, for minimum table height, you should set it on a table-row: fo:table table-layout=fixed width=100% border=solid red 1pt fo:table-column column-width=proportional-column-width(1)/ fo:table-body

Re: Barcode generation with FOP 1.1

2015-01-19 Thread Pascal Sancho
Hi, Bugzilla was replaced with Jira few years ago. *all* issues had been transferred to the latter. The cited issue can be monitored in Jira DB: follow [1]. [1] https://issues.apache.org/jira/browse/FOP-1842 2015-01-18 18:12 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com: I tested your

Re: Searching hyphenated variablenames in PDF (with Acrobat)

2015-01-15 Thread Pascal Sancho
Hi, tried on same version but win, with same result as Luis. Same result with Firefox buitin reader: I get 1 occurrence for both search words 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com: There was only one file attached Also, I was not able to reproduce the issue

Re: AW: AW: Searching hyphenated variablenames in PDF (with Acrobat)

2015-01-15 Thread Pascal Sancho
, 15 Jan 2015 09:16:29 + Hi, sorry, but the second files was demaged. For a better understanding what I want to do I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o Maybe that will help. Best regards Markus -Ursprüngliche Nachricht- Von: Pascal Sancho

Re: DITA-OT/FOP and Devanagari Scripts

2015-01-12 Thread Pascal Sancho
Hi, Theorically, FOP should support Devanagari scripts. you should provide further information: - FOP version - used fonts (for Devanagari scripts) - short FO example demonstrating the issue, - etc. That said, and IIUC, you are probably facing to the existing issue about Devanagari diacritics

Re: Different sort between FOP and XSL

2014-10-20 Thread Pascal Sancho
Hi, Sorting is only an XSLT feature, not a XSL-FO one. Note that sort implementation may differ from XSLT engines, as said in XSLT-REC (see [1]): It is possible for two conforming XSLT processors not to sort exactly the same. Note again that FOP bundle comes with Xalan as XSLT engine for

Re: Different sort between FOP and XSL

2014-10-20 Thread Pascal Sancho
with FOP? Possible? With version 1.1 I can see xercesImpl-2.7.1.jar A way to change that? Cheers JP -Message d'origine- De : Pascal Sancho [mailto:psancho@gmail.com] Envoyé : lundi 20 octobre 2014 11:17 À : fop-users@xmlgraphics.apache.org Objet : Re: Different sort between FOP

Re: FOP alignment problem between two font type

2014-10-20 Thread Pascal Sancho
Font char box seem different, and baselines are not correctly aligned As a workaround, you can use this: fo:block747 fo:inline alignment-adjust=0.3emΩ/fo:inline/fo:block 2014-10-20 13:11 GMT+02:00 Puja pujaag...@gmail.com:

Re: java.lang.IllegalStateException: fontLookup must return an array with at least one FontTriplet on the last call. Lookup: Calibri

2014-09-25 Thread Pascal Sancho
Hi, to get some help, you should provide further info, i.e.: - FOP version, - environment: - OS + version, - how FOP is invoked (embedded, commandline, ...) - short xsl-fo that demonstrates the issue, - full stack trace. 2014-09-24 22:17 GMT+02:00 mani amkanth.dondap...@gmail.com:

Re: Read html content inside XML node and render this in PDF

2014-09-18 Thread Pascal Sancho
Hi, first, this is a pure XSLT related question. You should get better answers on appropriate list (see [1]). That said, you need to parse the text node nested in the CDATA section. Basically, this is a 2 passes process: 1- make a clean XML, without CDATA markup that can be done with:

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

2014-08-21 Thread Pascal Sancho
Hi, embedding-mode is a new feature recently added in FOP trunk (see [1]). FOP v1.1 doesn't implement it (see [2]). [1] http://xmlgraphics.apache.org/fop/trunk/fonts.html#register [2] http://xmlgraphics.apache.org/fop/1.1/fonts.html#register 2014-08-20 19:13 GMT+02:00 MartinKl

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

2014-08-21 Thread Pascal Sancho
://xmlgraphics.apache.org/fop/1.1/fonts.html#embedding I'm using FOP 1.1 and embedding works well with PDF format. Bye, Szeak 2014-08-21 08:56 keltezéssel, Pascal Sancho írta: Hi, embedding-mode is a new feature recently added in FOP trunk (see [1]). FOP v1.1 doesn't implement it (see [2]). [1

Re: Formating issue with fop

2014-08-11 Thread Pascal Sancho
Hi, Your XSL-FO snippet is not very usefull, since truncated. FOP job comes after the XSLT transformation. You should pay attention on the XSLT process. As you used XEP before, you may take the XSL-FO sent to XEP and feed directly FOP with it. Note: the FOP package comes with Xalan, but this is

Re: Report Header issue when migrating from XEP to FOP

2014-08-06 Thread Pascal Sancho
Hi, In addition to expected/issued output, please, you should provide further information: - short XSL-FO (resulting from xml+xslt transformation). Without this material, help you will be difficult. - FOP version Both FOP and XEP provide extensions that do not have same scope or do not work in

Re: Loading fonts problem

2014-08-04 Thread Pascal Sancho
Hi, To prevent FOP from using font cache, you can configure FOP to deactivate it: just add this in your configuration file: use-cachefalse/use-cache Notes: Metric files are deprecated since FOP 1.0. With FOP 0.94 et 0.95, such files were usefull only if you wanted to only reference fonts, not

Re: SingleByteFont Patch

2014-07-01 Thread Pascal Sancho
Hi, can you file in entries in Jira, please? see our HowTo [1] submitting patches. [1] http://xmlgraphics.apache.org/fop/dev/#patches 2014-07-01 12:36 GMT+02:00 Kai Hofmann powers...@web.de: Dear all, looks like there is another bug based on the before mentioned problem: FOPGVTGlyphVector:

Re: NPE from GraphicsUtil.getAlphaRaster

2014-06-20 Thread Pascal Sancho
Hi, You should provide a test case (short xsl-fo + image causing NPE). Did you test against FOP 1.1 or FOP trunk? For submitting a Patch, please open a dedicated issue in Jira (see [1] for further details). Note: I'm not sure getAlphaRaster() may return null. If true, your patch should be

Re: NPE from GraphicsUtil.getAlphaRaster

2014-06-20 Thread Pascal Sancho
I'm speaking about GraphicsUtil.getAlphaRaster(), of course. 2014-06-20 10:36 GMT+02:00 Pascal Sancho psancho@gmail.com: Note: I'm not sure getAlphaRaster() may return null. If true, your patch should be against xmlgraphics rather than fop. -- pascal

Re: Misleading Error Message When Image Exceeds Viewport

2014-06-19 Thread Pascal Sancho
Hi, to prevent such warning, you should use *-progression-dimension.maximum properties. on i-p-d axis, this is trivial (100% is usable), but on b-p-d axis, you have to compute the maximum size by yourself: fo:external-graphic src=woman_navy_1918.jpg inline-progression-dimension.maximum=100%

Re: Misleading Error Message When Image Exceeds Viewport

2014-06-19 Thread Pascal Sancho
regarding the warning message, I can't reproduce the wrong page number. 2014-06-18 18:58 GMT+02:00 bob swanson bobswans...@gmail.com: I was working on a large (530+ pages) PDF creation and was receiving an error that the viewport was being exceeded. I finally figured out that an image was

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

2014-06-18 Thread Pascal Sancho
Hi, When the dpi values (pixel width and hight) are explicitely specified in the image, so it's easy to compute the actual size (IOW natural size). Many API or tools can read such values. When those values are not available, FOP uses its own pixel size, witch defaults to 1/72in. 2014-06-17

Re: xsl fo 1.1 pdf duplex printing

2014-06-18 Thread Pascal Sancho
Hi, 2014-06-17 17:23 GMT+02:00 Vijaya Raghavan.R vijayaraghava...@solartis.net: Need some clarifications in xsl fo 1.1 version. - Is it possible set duplex (back to back ) printing setup in xsl design? There is nothing in XSL-FO 1.1 for that. Such directives are for PDF reader. IMHO

Re: how to find page numbers while merging more than one PDF

2014-06-18 Thread Pascal Sancho
Hi, Did you tried the external-document FOP extension [1]? It's incomplete but could do the trick (not tried, yet). Other alternative is to post process with third tool like iText [2]. [1] http://xmlgraphics.apache.org/fop/1.1/extensions.html#external-document [2]

Re: Migrating FOP and XSL FO to 1.1

2014-06-17 Thread Pascal Sancho
Hi, FOP 0.93 is quite old (released on 9 January 2007), so many improvments, bugfixes, new features, etc. were added since that version (see [1]). performance is not ommited: - less memory consuption - faster - producing smaller files - etc. To upgrade, read 1st the uprgrading page at [2].

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

2014-06-17 Thread Pascal Sancho
Hi, px unit defaults to 1/72 in, but you can specify other size: either in conf file with source-resolution, or in logic with fopFactory.setSourceResolution() Note that px is device dependant. You should use absolute unit instead. 2014-06-17 10:46 GMT+02:00 Dridi Seifeddine

Re: FOnt config

2014-06-05 Thread Pascal Sancho
Hi, Fop 0.20.x was an old design where font features were quite different from current Fop releases: IIRC, regarding this old version: - no support for auto-detect - no support for directory - metric-files required - etc. Fop 0.20.x doc can be found in archives, at [1]. I strongly encourage

Re: Quality of included image degrades when png rendering is used

2014-06-05 Thread Pascal Sancho
Hi, I'm afraid that this issue still remain open. Note that now our issue database is on Jira: https://issues.apache.org/jira/browse/FOP-1663 2014-06-05 13:26 GMT+02:00 rushabh rushabh.ajm...@igate.com: Hi , Can anyone tell me that wheather this issue with PNG, is solved or not .?? I

Re: Adobe TextLayout Problem

2014-06-03 Thread Pascal Sancho
Hi, you need 1st some background in both: - xslt (Xml transformation) (see [1]), - xsl-fo (see [2]) Then the process looks like this: - stage 0: develop your own xslt - stage 1: transform your xml, using your xslt, into xsl-fo - stage 2: feed fop with your xsl-fo and get pdf. Note that

Re: preserving a trailing space in inline

2014-05-20 Thread Pascal Sancho
Hi, I've done further checks with your snippet. The behaviour is definitively an issue when a fo:page-number-citation-last (PNCL) comes after a fo:inline element and no content comes after the PNCL. Please, can you file in a bug entry in Jira, attaching short FO snippet (the one I've extended

Re: Drastic Performance Improvement by dropping xerces and xalan

2014-05-19 Thread Pascal Sancho
Hi, -xsl and -xml command line parameters are there for convenience. FOP delegates XSLT transformation to Xalan before do its own job: render pdf (or whatever supported format). You can do the XSLT transformation by yourself, using whatever XSLT processor you want, and feed FOP with resulting

Re: Greek Characters in Postscript Output

2014-05-19 Thread Pascal Sancho
Hi, metric files are depreca 2014-05-19 11:01 GMT+02:00 Normen n.ruh...@alphasoft.biz: iam testing with FOP 1.0 and tested with Arial and verdana True Type Fonts and the POSTSCRIPT renderer; created Metrics for it and put it into the configuration file like shown further down in this post,

Re: Greek Characters in Postscript Output

2014-05-19 Thread Pascal Sancho
also provide short XSL-FO that demonstrates the issue. You will get quicker help from list. 2014-05-19 11:53 GMT+02:00 Pascal Sancho psancho@gmail.com: Hi, metric files are depreca 2014-05-19 11:01 GMT+02:00 Normen n.ruh...@alphasoft.biz: iam testing with FOP 1.0 and tested with Arial

Re: Greek Characters in Postscript Output

2014-05-19 Thread Pascal Sancho
Hi, Did you get any error or warning message? Regarding the config file: both base and font-base value should start with file:/// 2014-05-19 12:56 GMT+02:00 Normen n.ruh...@alphasoft.biz: Hey Pascal and others, i have now uploaded the XML, XSL and the config file iam using (with several

Re: FOP can not create a special table?

2014-04-14 Thread Pascal Sancho
Hi, 1st, for FOP usage questions, please ask on fop-users list, fop-dev is for fop internal questions. That said, IIUC, you need writing-mode tb-rl for asian characters, right? Unfortunately, FOP implements only horizontal left-to-right and right-to-left modes. As a workaround, you may use the

Re: Alternating background-color for table rows, but always restart on page break

2014-03-28 Thread Pascal Sancho
Hi, That can only be done after XSL-FO processing. Fortunately, FOP provides XML intermediate formats (see [1]) that feed renderers. You can modify such intermediate format as you want. [1] http://xmlgraphics.apache.org/fop/1.1/intermediate.html 2014-03-27 15:15 GMT+01:00 Frank Hirsch

Re: How to create 3D pdf with FOP 1.1

2014-03-28 Thread Pascal Sancho
Hi, are you speaking about 3D artwork? AFAIK, there is no such extension against latest FOP release. Also, note that this feature is part of PDF 1.6 spec (see [1] §9.5, p 746). FOP v1.1 produces PDF 1.4 by default, but implements some PDF 1.5 features. (target PDF version can be changed up to

Re: symbol font, versus symbolMT

2014-02-19 Thread Pascal Sancho
Hi, The Symbol font is not a Unicode one: In a Unicode font, you have 2 glyphes that can be used: - MICRO SIGN = U+00B (#xb5; as XML entity) (the one got from keybord). - GREEK SMALL LETTER MU = U+03BC (#x03bc; as XML entity). In Symbol font, the code for the corresponding glyph is 0x6d

Re: page break at pdf file

2014-02-17 Thread Pascal Sancho
Hi, You should give more relevant details (at least, FOP version, with short XSL-FO attached). That said, if you have a page-break after your last table, you probably have some content (not visible) after it. You should analyse what you get AFTER XSLT processing. 2014-02-13 22:43 GMT+01:00

Re: Placing Copyright notice on SigPlan without using float?

2014-02-11 Thread Pascal Sancho
Hi, Internal FOP unit is millipoint, AKA mpt To compute the right value, you just need to convert the desired one to mpt: 1pt = 1000mpt 1in = 72000mpt 1mm = 2835mpt (72000/25.4 rounded to integer) 2014-02-11 4:33 GMT+01:00 Aaron W. Hsu arcf...@sacrideo.us: Pascal Sancho psancho@gmail.com

Re: Set metadata to hint the PDF viewer not to scale the content when printing

2014-02-07 Thread Pascal Sancho
Hi, AFAICK, there is no such feature in FOP. Currently, you can post-process your PDF with iText for that (see [1]) Also, you can open a Jira ticket to suggest this feature as Enhancement. [1]

Re: problem with layout

2014-02-07 Thread Pascal Sancho
Hi, There is a quite old FOP branch that aims to implement fo:float (see [1]) IIRC, it was based on FOP-1196 patch (see [2]). This issue is still open, but there is no plan to merge it to trunk. [1] https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Floats [2]

Re: Placing Copyright notice on SigPlan without using float?

2014-02-06 Thread Pascal Sancho
Hi, For such questions, you should ask on DocBook List (follow [1]). [1] http://www.docbook.org/help 2014-02-06 Aaron W. Hsu arcf...@sacrideo.us: I'm not an FO expert, and I've only tweaked a few things in the DocBook XSL to do things like put the authors in a table instead of listing them

Re: Placing Copyright notice on SigPlan without using float?

2014-02-05 Thread Pascal Sancho
Hi, IIUC, you want to have the copyright block only at the bottom of the 1st column of the 1st page. AFAIK, there is no FO solution for that; in one page, all columns will have same height (at least regarding XSL-FO REC 1.1). That said, you can easily change the 1st page body, , and put your

Re: SVG - embedded CMYK bitmaps

2014-01-29 Thread Pascal Sancho
Hi, Batik provides SVG REC 1.1 support. Unfortunately, CMYK is introduced in SVG 1.2 WD (see [1]). [1] http://www.w3.org/TR/SVGColor12/#icc-colors 2014-01-28 Matthias Reischenbacher matthias8...@gmx.at: Hi, I've noticed that JPEGs with DeviceCMYK color space, embedded in SVGs, are converted

Re: FOP - features I miss

2013-12-10 Thread Pascal Sancho
Hi Jan, see below... 2013/12/9 Jan Tosovsky j.tosov...@email.cz: Dear All, I like the idea of FOP, i.e. open-source implementation of XSL-FO processor, but I have to admit it is still not mature enough for my projects. A) For automated production of product documentation I miss mainly: 1.

Re: Problem with FOP, Barcode4J and AreaTreeModel

2013-12-04 Thread Pascal Sancho
Hi, did you ask on Saxon mailing list at [1]? That should be the right place for such question. The NPE is thrown during Saxon stage. Then FOP stage runs after the Saxon one (as it takes XSL-FO as input). [1] https://lists.sourceforge.net/lists/listinfo/saxon-help 2013/12/3 Michael Mest

Re: Block displacement

2013-11-20 Thread Pascal Sancho
Hi, You should ask a more precise question, many properties affect the fo:block sizing/positionning, like *-indent, margin, padding, space-*, etc., if this is what you are talking about. If your concern is about XSL-FO knowledge, there are some relevant sites. see:

Re: Content overflows the viewport

2013-11-19 Thread Pascal Sancho
Hi, This is a pure fop-users_list topic, you don't need to post such thread on fop-dev_list. That said, the first stage of the debug process is to isolate the FO snippet that cause the warning. So, you should get first the resulting XSL-FO; then you should feed FOP with that input. etc...

Re: Transforming Incompatible Stylesheets over to FOP Apache

2013-10-31 Thread Pascal Sancho
Hi, FOP doesn't handle directly XSLT, but resulting XSL-FO. If an XSLT produces an XSL-FO that is not handled correctly by FOP, that be caused by, either... - not implemented feature (see FOP Compliance page [1]) (for example, in your XSLT *FIGURE*.xsl, I've found the fo:change-bar-begin

Re: force-page-count=even dropping data

2013-10-11 Thread Pascal Sancho
Hi, This seems to be related to open issue [1]. From what I read in comments, there is a lake of test file, so your xsl-fo should help. [1] https://issues.apache.org/jira/browse/FOP-1976 2013/10/9 Rob Sargent rsarg...@xmission.com: Running the attached, admittedly rather large, fo through fop

Re: force-page-count=even dropping data

2013-10-11 Thread Pascal Sancho
AM, Pascal Sancho wrote: Hi, This seems to be related to open issue [1]. From what I read in comments, there is a lake of test file, so your xsl-fo should help. [1] https://issues.apache.org/jira/browse/FOP-1976 2013/10/9 Rob Sargent rsarg...@xmission.com: Running the attached

Re: force-page-count=even dropping data

2013-10-11 Thread Pascal Sancho
the cited issue will remain on todo list if still open, while this list is archived, so adding comment to issue is better, if relevant. 2013/10/11 Pascal Sancho psancho@gmail.com: Yes, all comment is welcome. if you can provide (attach to the issue) a reduced test file, that should help

Re: max-width ignored inside a table-cell?

2013-09-20 Thread Pascal Sancho
Hi, max-width property doesn't apply to fo:external-graphic; see REC XSL-FO § 6.6.5 at [1] but... block-progression-dimension does; so you can use: block-progression-dimension.maximum=100%, that should do the trick. [1] http://www.w3.org/TR/xsl/#fo_external-graphic 2013/9/19 Robert Gurol

Re: html content in xml input file.

2013-09-06 Thread Pascal Sancho
Hi, This is not a FOP related question, but an XML/XSLT one. That said, unless you have a strict DTD that prevent to add alternate namespace xml in your xml source, you don't need to put your FO snippet in a CDATA section. then, in your XSLT, you just need to use a xsl:copy-of rather than a

Re: FW: Print renderer does not render body region

2013-09-06 Thread Pascal Sancho
Hi, there are known issues when using -print option on windows. Perhaps you are facing to one; see [1] for further information. [1] http://xmlgraphics.apache.org/fop/1.1/output.html#print 2013/9/6 Arkady Leyner ark...@islandpacific.com: Dear fop users, I use FOP 1.1 on Windows XP, JRE 1.7,

Re: SVG Graphics in FOP

2013-09-05 Thread Pascal Sancho
Hi, a good practice is to use the (viewBox, height, width) attribute set on svg element; you can leave all your size values without unit (defaulting to px or pt, I don't remember). ... And explicitly add your preferred unit on both svg/@width and svg/@height. Another option is to use FO

Re: SVG Graphics in FOP

2013-09-05 Thread Pascal Sancho
would have mixed results on differing installations Thanks! Martin On 05/09/2013, at 7:04 PM, Pascal Sancho psancho@gmail.com wrote: Hi, a good practice is to use the (viewBox, height, width) attribute set on svg element; you can leave all your size values without unit (defaulting to px

Re: Special Character

2013-09-03 Thread Pascal Sancho
://xmlgraphics.apache.org/fop/1.1/upgrading.html 2013/9/3 Daniele Palladino pa...@wedjaa.net Thanks. I have only one problem, I must use the Dejavu font, but I have fop v 0.20. I can change the fop version. Can I do something? Thanks On Wed, Aug 28, 2013 at 4:01 PM, Pascal Sancho psancho

Re: Embed base14

2013-08-30 Thread Pascal Sancho
Hi, 1/ upgrade fop 0.95 to 0.95 ??? why do you not plan to directly upgrade to v1.1 ? since v0.91, FOP is stable enough to permit such jump. speaking about embedding base 14 fonts, you have to get them by yourself (they are not free). Then, you can embed them in the same way than other fonts.

Re: Does fop-1.1 block-container respect top attribute?

2013-08-28 Thread Pascal Sancho
Hi, top is one of the relative position properties, when applied to the fo:block (see [1] [2]). Currently, FOP doesn't implement such properties (see [2]). I see 2 workaround alternatives: As Glenn said, you should use absolute ones that come with fo:block-container: fo:block-container

  1   2   3   4   5   6   7   >