[Dev-luatex] Cron <luatex at vz3> /var/www/luatex.org/www/bin/luatex-svn

Cron Daemon root at www.metatex.org
Sun Jan 11 12:26:41 CET 2009

r1759 | hhenkel | 2009-01-10 22:55:50 +0100 (Sat, 10 Jan 2009) | 36 lines
Changed paths:
   M /trunk/src/texk/web2c/luatexdir/luatex.web
   M /trunk/src/texk/web2c/luatexdir/nodes.h

The goal is to make dvi_h & dvi_v in DVI mode running similar to pdf_h 
& pdf_v in PDF mode, to have backends working in page coordinates with
similar calculations and positioning:

DVI: cur_h/v --(synch_page_coordinates)--> page_h/v --> dvi_h/v
PDF: cur_h/v --(synch_page_coordinates)--> page_h/v --> pdf_h/v

* cur_h & cur_v are in a local box coordinate system, from there the
transform into global page coordinates page_h & page_v goes by macro
synch_page_coordinates. This uses the current box origin in page
coordinates, which is stored in box_pg_h and box_pg_v.

* dvi_h & dvi_v are now in global page coordinates, measured from the 
lower left page corner (pdf_h & pdf_v will be in the same coordinate

* From page_h & page_v, dvi_h & dvi_v are synchronized by macros synch_h 
& synch_v, simultaneously DVI commands are written to the DVI file,
so that dvi_h & dvi_v keep track of the global position in the DVI file.

* Commands outputting DVI movement codes now also update dvi_h & dvi_v.

* Explicit DVI movements _after_ outputting rules or glyphs have been
removed; they are done automatically with the next item that is output
(sometimes this slightly reduces the DVI file size).

* Procedure movement() has been simplified, as the synch_page_coordinates
macro does the transform now.

* @<Output a reflection instruction...@> is now more similar to @<(PDF)
Output a reflection instruction...@>.  This required to increase the
dir_node_size to 6, see nodes.h.

* Code for macros dvi_right/left/down/up has been put into begin...end.

r1760 | hhenkel | 2009-01-11 09:28:48 +0100 (Sun, 11 Jan 2009) | 2 lines
Changed paths:
   M /trunk/src/texk/web2c/luatexdir/luatex.web

remove redundant synch_dvi


More information about the dev-luatex mailing list