W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2002

Maths formulas as ugly gif images included in pdf

From: Helene CHEVALIER <helene-chevalier@wanadoo.fr>
Date: Thu, 19 Dec 2002 13:43:14 +0100 (MET)
Message-ID: <3E0164500003229A@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr)
To: <www-xsl-fo@w3.org>

I want to convert into pdf xml documents that often include maths formulas, handled as gif images. 
The output looks ugly in 75% of the cases : the images are displayed in the pdf with a big black underline in most cases, in a few cases they turn up OK (I could send a pdf extract as attachment).

For instance, with the fo reproduced below, the image023.gif appears with a black underline, wherease the image025.gif is OK.

	<fo:external-graphic src="../objects/image023.gif"/>
We have V= 
	<fo:external-graphic src="../objects/image025.gif"/>

I checked the images, they are correct (the underline is not in the image). The mistake always happens on the same images.

FYI, my documents include as well many *.png images (as fo:block, as reproduced below) without any problem.  
<fo:block text-align="center"><fo:external-graphic src="../objects/ndpOverTime.png"/></fo:block>

I can't include the images that are indeed math formulas as fo:block, because they are sometimes in a sentence (I don't want line break after a math image).

Would anyone ever had encountered something similar before ? I don't understand where the pb comes from, and I don't understand why it does not always (or never!) happen.
Received on Thursday, 19 December 2002 07:43:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:56 UTC