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

Akira Kakuto kakuto@fsci.fuk.kindai.ac.jp
Sun, 09 May 2004 23:43:49 +0900


Hi Thanh,

I have obtained a very small "pointlike" image by
\includegraphics{foo.jpg}
where foo.jpg is a usual size image.
Therefore I have revived previous values for arguments
of "pdf_print_real" as follows:

        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), 6);
        pdf_print(" 0 0 ");
        pdf_print_real(ext_xn_over_d(pdf_height(p) + pdf_depth(p), 
                       ten_pow[6], one_hundred_bp), 6);

------->

        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);

Best regards
Akira