[NTG-pdftex] easy font expansion (image inclusion)

Hartmut Henkel hartmut_henkel@gmx.de
Sun, 9 May 2004 17:46:42 +0200 (CEST)


On Sun, 9 May 2004, Akira Kakuto wrote:

>         pdf_append_list(pdf_ximage_objnum(p))(pdf_ximage_list);
>     if not is_pdf_image(image) then begin
>         pdf_print_real(ext_xn_over_d(pdf_width(p),
>                        ten_pow[4], one_bp), 4);
>         pdf_print(" 0 0 ");
>         pdf_print_real(ext_xn_over_d(pdf_height(p) + pdf_depth(p),
>                        ten_pow[4], one_bp), 4);

Ah, it was ", 4" formerly, just the new ", 6" is wrong. Then this should
do it right:

         pdf_append_list(pdf_ximage_objnum(p))(pdf_ximage_list);
     if not is_pdf_image(image) then begin
         pdf_print_real(ext_xn_over_d(pdf_width(p),
                        ten_pow[6], one_hundred_bp), 4);
         pdf_print(" 0 0 ");
         pdf_print_real(ext_xn_over_d(pdf_height(p) + pdf_depth(p),
                        ten_pow[6], one_hundred_bp), 4);

Regards, Hartmut