diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf/pdfimage.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfimage.w | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfimage.w b/Build/source/texk/web2c/luatexdir/pdf/pdfimage.w index 29795990eab..fd364243804 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pdfimage.w +++ b/Build/source/texk/web2c/luatexdir/pdf/pdfimage.w @@ -19,7 +19,6 @@ @ @c - #include "ptexlib.h" @ @c @@ -34,8 +33,6 @@ void place_img(PDF pdf, image_dict * idict, scaled_whd dim, int transform) scaledpos tmppos; pdffloat cm[6]; int groupref; /* added from web for 1.40.8 */ - assert(idict != 0); - assert(p != NULL); a[0] = a[3] = 1.0e6; a[1] = a[2] = 0; if (img_type(idict) == IMG_TYPE_PDF || img_type(idict) == IMG_TYPE_PDFMEMSTREAM @@ -58,7 +55,7 @@ void place_img(PDF pdf, image_dict * idict, scaled_whd dim, int transform) xoff = yoff = 0; r = 4; } - if ((transform & 7) > 3) { // mirror cases + if ((transform & 7) > 3) { /* mirror cases */ a[0] *= -1; xoff *= -1; } @@ -146,7 +143,6 @@ void pdf_place_image(PDF pdf, halfword p) { scaled_whd dim; image_dict *idict = idict_array[rule_index(p)]; - assert(idict != NULL); dim.wd = width(p); dim.ht = height(p); dim.dp = depth(p); |