[XeTeX] Placing .pdfs w/ crop and trim boxes

Jonathan Kew jonathan_kew at sil.org
Wed Jun 14 12:37:58 CEST 2006

On 14 Jun 2006, at 9:34 am, Jonathan Kew wrote:

> On 13 Jun 2006, at 7:59 pm, William Adams wrote:
>> Cropping in Adobe Acrobat (having their crop box set) isn't respected
>> when they're placed --- is this a known issue? (I couldn't find
>> anything on it) and what causes it?
> Not a known issue to me, mainly because it's not something I've ever
> tried to do. xetex uses Quartz functions to access a PDF file, and
> uses the media box to determine its size. I guess it should be using
> the crop box instead, though; it just hasn't come to my attention
> because I don't crop and place PDFs! :)

Hi William,

If you're inclined to build-your-own-XeTeX, rather than waiting for a  
new release, the current code in Subversion now respects the crop box  
(at least for the simple tests I've run).

Should xetex also consider the trim box of a PDF it's including? If  
so, how would that interact with the crop box?

(This is Mac OS X-only at present; \XeTeXpdffile isn't supported  
elsewhere yet. But maybe [x]dvipdfmx has other ways to include PDFs?  
I haven't investigated.)

There's no support yet for setting the various boxes in the xetex  
output through xdv2pdf, though.


More information about the XeTeX mailing list