diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/src/pdfximage.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/src/pdfximage.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/src/pdfximage.c b/Build/source/texk/dvipdfm-x/src/pdfximage.c index 6b43f531c3f..7e44720d936 100644 --- a/Build/source/texk/dvipdfm-x/src/pdfximage.c +++ b/Build/source/texk/dvipdfm-x/src/pdfximage.c @@ -487,6 +487,14 @@ pdf_ximage_init_image_info (ximage_info *info) info->xdensity = info->ydensity = 1.0; } +#ifdef XETEX +char * +pdf_ximage_get_ident (pdf_ximage *I) +{ + return I->ident; +} +#endif + void pdf_ximage_set_image (pdf_ximage *I, void *image_info, pdf_obj *resource) { @@ -615,6 +623,7 @@ pdf_ximage_get_resname (int id) return I->res_name; } +#ifndef XETEX int pdf_ximage_get_subtype (int id) { @@ -646,6 +655,7 @@ pdf_ximage_set_attr (int id, long width, long height, double xdensity, double yd I->attr.bbox.urx = urx; I->attr.bbox.ury = ury; } +#endif /* depth... * Dvipdfm treat "depth" as "yoffset" for pdf:image and pdf:uxobj @@ -861,6 +871,13 @@ void set_distiller_template (char *s) return; } +#ifdef XETEX +char *get_distiller_template (void) +{ + return _opts.cmdtmpl; +} +#endif + static int ps_include_page (pdf_ximage *ximage, const char *filename) { |