Thanks for the new snapshot. The following is Heiko's "null string" patch. Binary header is also added. best, Akira --- pdftex.ch.orig Fri May 20 18:32:32 2005 +++ pdftex.ch Mon May 23 21:50:44 2005 @@ -884,7 +884,13 @@ pdf_buf[6] := "."; pdf_buf[7] := "4"; pdf_buf[8] := pdf_new_line_char; -pdf_ptr := 9; +pdf_buf[9] := "%"; +pdf_buf[10] := 228; +pdf_buf[11] := 240; +pdf_buf[12] := 237; +pdf_buf[13] := 248; +pdf_buf[14] := pdf_new_line_char; +pdf_ptr := 15; pdf_gone := 0; zip_write_state := no_zip; pdf_minor_version_written := false; @@ -2018,8 +2024,10 @@ begin i := str_start[s]; j := i + length(s) - 1; - if (i > j) then + if (i > j) then begin + pdf_print("()"); return; {null string} + end; if (str_pool[i] = '(') and (str_pool[j] = ')') then begin pdf_print(s); return;