I'll look into it tomorrow. Peter's last change for external-graphics in RTF made me wonder if we shouldn't actually change the whole code there and use the image library wrappers the normal renderers use. Like this we could use the image cache, more image formats and URI resolution the same way as for the other output formats.
On 28.09.2005 17:10:23 Sergey Simonchik wrote: > Hi, > > After patch of Peter Herweg, adding support of external-graphics in Rtf > (25.09.2005, revision 291449) some problems are still unresolved. > I'm talking about using url's in src attribute of fo:external-graphic tag. > > Take a look at fo-file below: > ... > <fo:flow flow-name="xsl-region-body"> > <fo:block start-indent="12pt" space-before="3pt"> > <fo:external-graphic src="url('01.jpg')"/> > </fo:block> > </fo:flow> > ... > > Rtf renderer produced file "01a.rtf" (see in attach). > > After changing in file RTFHandler.java string > newGraphic.setURL(eg.getSrc()); > to string > newGraphic.setURL(eg.getURL()); > Rtf renderer produced another file "01b.rtf" (in attach too). > > File "01b.rtf" seems to be correct whether "01a.rtf" is not. > > What do you think about it? > > > Thanks for attention! Jeremias Maerki