Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FOP: superscript is not converted

Status
Not open for further replies.

Vadim

Programmer
Feb 5, 2002
75
US
This is a block that I tried to convert to PDF with FOP2.0.3:
<fo:block font-size=&quot;76pt&quot;
space-before=&quot;12pt&quot; space-after=&quot;12pt&quot;
font-family=&quot;Helvetica&quot; font-weight=&quot;900&quot;
start-indent=&quot;0.2cm&quot; end-indent=&quot;5cm&quot;
text-align=&quot;center&quot; background-color=&quot;black&quot; color=&quot;rgb(255,255,255)&quot;>
$126<fo:inline font-size=&quot;45pt&quot;
baseline-shift=&quot;5pt&quot; font-weight=&quot;700&quot;>89</fo:inline>
</fo:block>

It converted, without any messages, but 89 is located on the bottom line unshifted. Is it FOP limitation or I may fixed it somehow? Please help.
 
Hi Vadim,

You probably mean you're working with version 0.20.3
As the zero indicates it isn't yet a full implementation of the w3c recommendation.

You can find the supported elements and properties here:

The property baseline-shift isn't mentioned in the supported properties list, so I suppose it isn't implemented yet.

Take a look at the XSL-Formatter from Antenna House ( It isn't free but it supports much more than FOP.

Good luck!

Jordi Reineman
Cap Gemini Ernst & Young
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top