You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Felix Breuer <fe...@fbreuer.de> on 2003/07/07 20:01:39 UTC

MathML in Batik and FOP

Hello Everyone!


It would be great to have MathML support in both Batik and FOP.
Therefore I would like to begin writing a MathML rendering library that
can be used with both Batik and FOP.

I am not very familiar with Batik and FOP internals thus I have to begin
by asking a few stupid questions.

1) MathML code would be embedded in SVG by means of foreign-object
elements and in XSL:FO by means of instream-foreign-object elements. In
both cases: can MathML embedded in this way be part of a normal
text-run? Is it possible to make FOP/Batik align the mathematical
baseline of the MathML code with the baseline of the surrounding text?

2) What kind of interface would such a library have to provide? Should I
provide a Batik-Bridge for each MathML element? Could FOP then be made
to render MathML via Batik? Or would another approach be more feasible?
I would be very interested in an approach that allows for a single
rendering library to be used with both FOP and Batik as this reduces
maintenance costs. What is the best way to tackle this problem?

Answers, comments, opinions, suggestions, technical help and volunteers
welcome!


Regards,

Felix Breuer


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


Re: MathML in Batik and FOP

Posted by Felix Breuer <fe...@fbreuer.de>.
On Mon, 2003-07-07 at 21:56, J.Pietschmann wrote:
> Look at the MathML sample in the FOP source distribution.
> It uses the JEuclid MathML rendering library.

Thanks for the pointer! Is this mentioned on the website somewhere?

I got the MathML example to build and converted the given mathml.fo
document to PDF. The process finished without error, but the resulting
PDF document contained mostly random characters instead of MathML. Do I
have to setup certain fonts for it to work? 

Regards,
Felix


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


Re: MathML in Batik and FOP

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Felix Breuer wrote:
> It would be great to have MathML support in both Batik and FOP.

Look at the MathML sample in the FOP source distribution.
It uses the JEuclid MathML rendering library.

J.Pietschmann


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