From: Tony G. <Ton...@Su...> - 2003-04-21 12:30:57
|
Jesper Stigberg wrote at 16 Apr 2003 14:43:23 +0200: > I have both a new implementation of FoDoc and a new pango backend. > > The reasons for the new pango version are: > > * had to incorporate your xsl-attributes and layout changes > * pango-win32 assumed a coordinate system where (0,0) is in the upper left > corner growing down for increasing Y, xmlroff/PDFLib uses the lower left corner > for (0,0). I understand. Are you able to contribute your code to xmlroff or PangoPDF? > I also had to change area-to-pdf, since it used PDFLib, but I don't > think that it would be to hard to avoid that. If that happens > perhaps area-to-pdf could be renamed to something like > render-area.[hc]? The current CVS code has fo_doc_render_layout() and fo_doc_render_layout_lines() so area-to-pdf no longer has any dependency on PDFlib. area-to-pdf is called that because it described what was happening at the time. Now that none of area-to-pdf uses PDFlib, it is also possible to break up area-to-pdf and put each area type's code into the area type's implementation of the currently unused 'draw' function of FoArea. Regards, Tony Graham ------------------------------------------------------------------------ XML Technology Center - Dublin Sun Microsystems Ireland Ltd Phone: +353 1 8199708 Hamilton House, East Point Business Park, Dublin 3 x(70)19708 |