Index: luatex.web =================================================================== --- luatex.web (revision 1809) +++ luatex.web (working copy) @@ -30097,7 +30097,9 @@ end @ @= -begin cur_v:=cur_v+pdf_height(p)+pdf_depth(p); +begin + edge_v:=cur_v; + cur_v:=cur_v+pdf_height(p)+pdf_depth(p); case box_direction(dvi_direction) of dir_TL_: begin cur_h:=left_edge; @@ -30114,6 +30116,7 @@ othercases cur_h:=left_edge; endcases; output_image(pdf_ximage_idx(p)); + cur_h:=left_edge; cur_v:=edge_v+pdf_height(p)+pdf_depth(p); end @ @=