------------------------------------------------------------------------
r2904 | hhenkel | 2009-07-23 23:19:48 +0200 (Thu, 23 Jul 2009) | 28 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/dvi/dvigen.c
M /trunk/source/texk/web2c/luatexdir/dvi/dvigen.h
M /trunk/source/texk/web2c/luatexdir/font/vfpacket.c
M /trunk/source/texk/web2c/luatexdir/lua/lpdflib.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdffont.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdffont.h
M /trunk/source/texk/web2c/luatexdir/pdf/pdfgen.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdflink.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdflistout.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdflistout.h
M /trunk/source/texk/web2c/luatexdir/pdf/pdfpage.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdfpage.h
M /trunk/source/texk/web2c/luatexdir/pdf/pdfrule.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdfrule.h
M /trunk/source/texk/web2c/luatexdir/pdf/pdfshipout.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdftables.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdfthread.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdftypes.h
M /trunk/source/texk/web2c/luatexdir/tex/extensions.c
M /trunk/source/texk/web2c/luatexdir/tex/texnodes.h
M /trunk/source/texk/web2c/luatexdir/utils/synctex.c
PDF/DVI backend patch:
To reduce the amount of code to care for in parallel for PDF and DVI
output, both output modes are now handled through the same general
hlist_out() and vlist_out() functions, renamed from pdf_h/v_list_out(),
and located in pdflistout.c. The DVI-specific h/vlist_out() functions in
dvigen.c are obsolete. Switching between PDF and DVI backend functions
works through function pointers (Taco's idea); should be extensible to
other backends.
Backend functions for PDF and DVI have been shuffled to have the
same variable list, needed for the function pointer principle. Some
functions are reorganized, with new names, e. g., dvi_place_glyph() and
dvi_place_rule(), function special_out() is renamed to dvi_special()
corresponding to pdf_special(), function out_what() got pdf pointer
as argument.
Position variable cur is now local, box_pos is gone, as is global pos.
Function do_vf_packet() has been adapted.
For synchronization from cur to pos always function synch_pos_with_cur()
is used. The synchronization is now done early, so that one should get
a valid pos value without the need to resync. This reduces the number
of required sync_pos_with_cur() instances in the code.
The lua variables (meta-functions) pdf.h and pdf.v should now return
the position on the paper (\latelua).
------------------------------------------------------------------------
r2905 | oneiros | 2009-07-23 23:35:00 +0200 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/dvi/dvigen.c
indent
------------------------------------------------------------------------
r2906 | oneiros | 2009-07-23 23:35:39 +0200 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/dvi/dvigen.c
init some variables
------------------------------------------------------------------------
r2907 | oneiros | 2009-07-23 23:36:13 +0200 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/pdf/pdfshipout.c
indent
------------------------------------------------------------------------
r2908 | oneiros | 2009-07-23 23:39:29 +0200 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/pdf/pdflistout.c
M /trunk/source/texk/web2c/luatexdir/pdf/pdfshipout.c
init some variables
------------------------------------------------------------------------
r2909 | hhenkel | 2009-07-23 23:56:16 +0200 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/dvi/dvigen.c
fix pdf_save_pos_node in out_what()
------------------------------------------------------------------------
r2910 | hhenkel | 2009-07-24 00:14:29 +0200 (Fri, 24 Jul 2009) | 2 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/pdf/pdflistout.c
use dir_orthogonal()
------------------------------------------------------------------------
r2911 | hhenkel | 2009-07-24 00:25:48 +0200 (Fri, 24 Jul 2009) | 2 lines
Changed paths:
M /trunk/source/texk/web2c/luatexdir/pdf/pdflistout.c
movement after hrule in a vlist was wrong
------------------------------------------------------------------------