Questions about graphics

Pascal Quesseveur <[email protected]> Thu, 24 Apr 2003 11:16:57 +0200
Newsgroups gmane.text.xml.jfor.general
Organization ABAK Systèmes
Message-ID <[email protected]>
Hello,

Here are some remarks and questions about external graphics.

o  content-width attribute is not supported; what is it supposed to do
in xsl-fo?

o  width attribute is always interpreted in image units (pixels):
width=10cm sets the desired image width to 10 pixels. The desired width
is used to compute the scale factor (pscalex) which is writen in the RTF
document. This is why the width attribute is supposed to be in pixels:
the width retrieved from the image data is in pixels, and it is not
possible to know the rendering resolution. On my platform, MS Word seems
to render images at 96 dpi, but is it always the case? If that
resolution could be known, it would be easy to support units in width
attributes. 

o  The desired width is also used to set the picwgoal control word in
the RTF document but the numeric value is set in pixels. According to
the RTF spec it should be in twips. I have tried different combinations,
but the picwgoal control word seems to be always ignored by MS Word
(Office 2000). Is it really the case?

o  Is there an attribute which could be used to control the maximum
width of the image?


-- 
[email protected]
ABAK Systèmes, ZI Le Rachat - BP 5 - 35890 LAILLE
Tel: +33(0) 299.42.30.10, Fax: +33(0) 299.42.31.57


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf