You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "A.R. (Tom) Peters" <tp...@xs4all.nl> on 2004/02/20 21:57:24 UTC

no sub-, super-script in PS from .fo

I noticed that when I generate PostScript output from FO, sub- and
super-scripts are not rendered correctly but are plainly in-line.  PDF
output from the same .fo is correctly rendered below or above the
baseline.

I did not find this problem reported in the buglist or in recent mail
archives.  Another person confirmed this problem.

What to do?

The Fo snippets are simply like:
<fo:inline vertical-align="super">+</fo:inline>

In processing, the only difference is I apply "-ps" as parameter to
Fop instead of default PDF.  Fop uses Xalan2 .

--
#>!$!%(@^%#%*(&(#@#*$^@^$##*#@&(%)@**$!(&!^(#((#&%!)%*@)(&$($$%(@#)&*!^$)^@*^@)

	Tom "thriving on chaos" Peters


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: no sub-, super-script in PS from .fo

Posted by Chris Bowditch <bo...@hotmail.com>.
A.R. (Tom) Peters wrote:

> I noticed that when I generate PostScript output from FO, sub- and
> super-scripts are not rendered correctly but are plainly in-line.  PDF
> output from the same .fo is correctly rendered below or above the
> baseline.
> 
> I did not find this problem reported in the buglist or in recent mail
> archives.  Another person confirmed this problem.
> 
> What to do?
> 
> The Fo snippets are simply like:
> <fo:inline vertical-align="super">+</fo:inline>

Well according to FOP's compliance page, vertical-align isnt even supported.

http://xml.apache.org/fop/compliance.html#fo-property-vertical-align

I will make a note to update the compliance page to say it works for 
PDF. I believe baseline-shift also works for PDF.

As for the Postscript renderer, it is not as mature as the PDF Renderer 
and so it is no surprise that sub/super scripts arent implemented there.

<snip/>

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org