Hi Sergey, would you please elaborate the modifications you suggest? I'd be very unhappy if we had to do changes in the layout engine just to accomodate the text renderer. I think I don't quite understand what you have in mind.
Furthermore, I'm not sure if using different font-sizes in the case of the text renderer is a good idea. See also: http://xmlgraphics.apache.org/fop/output.html#txt On 22.09.2005 10:21:32 Sergey Simonchik wrote: > Hi, > > We've got into TxtRenderer that was in 0.20.5. It works fine for most of > examples but in some cases there are problems. For instance: > > ... > <fo:block text-align="right" font-size="10pt">Hi</fo:block> > <fo:block text-align="right" font-size="50pt">Helloworld</fo:block> > ... > > Align doesn't correct. > > It's seems that modifying formatting objects before constructing area tree > model may help to cope with such problems. > > > ------Original Message----- > > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > > Sent: Saturday, September 17, 2005 3:29 PM > > To: fop-dev@xmlgraphics.apache.org > > Cc: Danila Ermakov > > Subject: Re: txt-rendering > > > > Hi Sergey, > > unfortunately, you didn't notice the TXTRenderer that was in 0.20.5 [1]. > > The text renderer seems to work fine for many people who work with FOP > > 0.20.5. IMO it should be simple to port that renderer to FOP Trunk. The > > TXTRenderer currently found in FOP Trunk is only an empty shell which > > needs to be filled. I'd investigate that before doing any serious coding > > on a completely new TextRenderer. Please have a look at TXTRenderer and > > get back to us so we can sort out any details. The old TXTRenderer is > > capable of creating good output without any special handling in the area > > tree. You will also find discussion snippets around the TXTRenderer in > > the mailing list archives which should give you an idea about its design. > > BTW, I'm glad that you're going to reintroduce the TextRenderer. > > AFAIK, there's still a open issue with a patch [2] where I asked you to > > send in an ICLA so I can commit the patch. So far, I haven't seen an > > ICLA being recorded with your name. > > [1] > http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/branches/fop-0_20_2-> > maintain/src/org/apache/fop/render/txt/ > > [2] http://issues.apache.org/bugzilla/show_bug.cgi?id=36480 Jeremias Maerki