[NTG-pdftex] Re: ntg-pdftex digest, Vol 1 #155 - 1 msg

Akira Kakuto kakuto@fsci.fuk.kindai.ac.jp
Fri, 09 Apr 2004 22:46:37 +0900


> Yes; 1.20a here returns the same results.
> 
> 1.11a gives
> > pdfinfo xx.pdf 
> Creator:      TeX
> Producer:     pdfTeX-1.11a
> CreationDate: Thu Apr  8 15:15:45 2004
> Tagged:       no
> Pages:        1
> Encrypted:    no
> Page size:    595.276 x 841.89 pts
> File size:    5783 bytes
> Optimized:    no
> PDF version:  1.4
> > pdfinfo x1.pdf 
> Creator:      TeX
> Producer:     pdfTeX-1.11a
> CreationDate: Thu Apr  8 15:15:55 2004
> Tagged:       no
> Pages:        1
> Encrypted:    no
> Page size:    714.331 x 1010.27 pts
> File size:    5783 bytes
> Optimized:    no
> PDF version:  1.4
> 
> Which certainly is different (and correct).
> 
> I'm confused and suspect some problem with pdftexconfig.tex ...

This is fixed by the following patch:

Best regards,
Akira


--- pdftex.ch.orig	Mon Mar 22 19:57:04 2004
+++ pdftex.ch	Fri Apr 09 22:39:23 2004
@@ -3607,12 +3607,6 @@
 ensure_pdf_open;
 check_and_set_pdfoptionpdfminorversion;
 prepare_mag;
-if (mag <> 1000) and (mag <> 0) then begin
-  dimen_par(pdf_h_origin_code) := round_xn_over_d(dimen_par(pdf_h_origin_code), 1000, mag);
-  dimen_par(pdf_v_origin_code) := round_xn_over_d(dimen_par(pdf_v_origin_code), 1000, mag);
-  dimen_par(pdf_page_height_code) := round_xn_over_d(dimen_par(pdf_page_height_code), 1000, mag);
-  dimen_par(pdf_page_width_code) := round_xn_over_d(dimen_par(pdf_page_width_code), 1000, mag)
-end;
 fixed_decimal_digits := fix_int(pdf_decimal_digits, 0, 4);
 min_bp_val := 
     divide_scaled(one_hundred_bp, ten_pow[fixed_decimal_digits + 2], 0);