SubstituteFonts true/false propertie in fop config ?

2012-06-22 Thread Christian Pestel
Hi, We use Fop on a workstation to design and view pdf document (after Fop transform) After that, documents are rendered on a production server. Sometimes, the production server don’t contain fonts necessary for theses documents and Fop subtitute missing fonts. Maybe SubstituteFonts true/false

Re: SubstituteFonts true/false propertie in fop config ?

2012-06-22 Thread Marc
Youcan embedded fonts in the pdf file. to do that you have to modify the fop configuration file and dispose of the metrics file for the fonts you use. Marc Le vendredi 22 juin 2012 14:58:43, Christian Pestel a écrit : Hi, We use Fop on a workstation to design and view pdf document (after Fop

RE: SubstituteFonts true/false propertie in fop config ?

2012-06-22 Thread Robert Meyer
Hi, After reading the documentation and looking in the code, it would appear as you say that there is currently no facility to provide the option to fail if a font is not present. I would therefore recommend you log a new Fop issue on bugzilla [1] so that should someone have time in the

Re: SubstituteFonts true/false propertie in fop config ?

2012-06-22 Thread Christian Pestel
Thank you Marc. Christian Pestel christian.pes...@orange.fr -Message d'origine- From: Marc Sent: Friday, June 22, 2012 3:32 PM To: fop-users@xmlgraphics.apache.org Subject: Re: SubstituteFonts true/false propertie in fop config ? Youcan embedded fonts in the pdf file. to do that

Re: SubstituteFonts true/false propertie in fop config ?

2012-06-22 Thread Christian Pestel
ok. I log an issue. Thank you Robert. Christian Pestel christian.pes...@orange.fr From: Robert Meyer Sent: Friday, June 22, 2012 3:58 PM To: fop-users@xmlgraphics.apache.org Subject: RE: SubstituteFonts true/false propertie in fop config ? Hi, After reading the documentation and looking

Re: SubstituteFonts true/false propertie in fop config ?

2012-06-22 Thread Pascal Sancho
Hi, metric files are deprecated. The only usage for these metric files is when you don't want to embed font files, witch is not used today. 2012/6/22 Marc marc.li...@free.fr: Youcan embedded fonts in the pdf file. to do that you have to modify the fop configuration file and dispose of the

Table continuation headers

2012-06-22 Thread Stefan Hinz
A colleague of mine is working to implement company standards for tables. In PDF, those standards require table continuation headers, by repeating the table title followed by the string (Continued) at the top of the page. XEP supports this, but FOP doesn't. Does anyone know of plans to

Re: Table continuation headers

2012-06-22 Thread Glenn Adams
Perhaps you could describe what language features/extensions that XEP uses to do this? On Fri, Jun 22, 2012 at 8:59 AM, Stefan Hinz stefan.h...@oracle.com wrote: A colleague of mine is working to implement company standards for tables. In PDF, those standards require table continuation

White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Hello. In my xsl:fo stylesheet I'm using wrap-option=wrap on a fo:cell level. I'm printing a hash (#) sign before an xml element if a cetain condition is met. So, my element has, for example, a value of 28 and if the condition is met I want to print #28. The problem is that I get # 28. A space

Re: White Space Added but Not Needed

2012-06-22 Thread Glenn Adams
this is a problem with your XSL style sheet, not with FOP processing; you should review the XSL-FO output from the XSLT process to see what the real input to FOP is On Fri, Jun 22, 2012 at 11:57 AM, Rita Greenberg rgreenb...@medata.comwrote: Hello. In my xsl:fo stylesheet I'm using

RE: White Space Added but Not Needed

2012-06-22 Thread Amick, Eric
But you *do* ask for whitespace-the newline after the # sign and the spaces at the start of the following line do that. Use xsl:text#/xsl:text instead. Eric Amick Systems Engineer II Legislative Computer Systems -Original Message- From: Rita Greenberg [mailto:rgreenb...@medata.com]

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Amick, Eric Eric.Amick at mail.house.gov writes: But you *do* ask for whitespace-the newline after the # sign and the spaces at the start of the following line do that. Use xsl:text#/xsl:text instead. Eric Amick Systems Engineer II Legislative Computer Systems Thanks Eric for your

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Glenn Adams glenn at skynav.com writes: this is a problem with your XSL style sheet, not with FOP processing; you should review the XSL-FO output from the XSLT process to see what the real input to FOP is Thanks Glen. I need to figure out how to review the XSL-FO output.

RE: White Space Added but Not Needed

2012-06-22 Thread Thomas Morrison
Rita, There are a couple of different techniques you can use better to control the whitespace. First, you could use an xsl:choose which would allow you to construct an if-then-else so you can specify completely either a 28 or #28 without dealing with the whitespace problem. Second, the

RE: White Space Added but Not Needed

2012-06-22 Thread Thomas Morrison
Hit send too early. If you create a variable which contains the #, then you can use concat and normalize-space to create the string you want. xsl:variable name=aHashxsl:if test=RC[.!=''] and RCOVERRIDE[.!='Y'] xsl:if test=RCMODIFIED[.='Y']#/xsl:if /xsl:if /xsl:variable Then in the code:

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Thanks Thomas. I tried that and the space disappeared but the wrapping was gone also! - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail:

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Thanks Thomas! This time I got it to work correctly. I used: [code] xsl:if test=RC[.!=''] and RCOVERRIDE[.!='Y'] and RCMODIFIED[.='Y'] xsl:variable name=aHash#/xsl:variable xsl:value-of select=concat($aHash, RC) / fo:inline font-size=4pt#160;/fo:inline /xsl:if Much appreciated!

Re: White Space Added but Not Needed

2012-06-22 Thread Rita Greenberg
Oops - I thought it worked but no - it's not! - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org