ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthias Weber <matweber@indiana.edu>
Subject: Re: PDF bounding box problem?
Date: Wed, 9 Feb 2005 11:41:09 -0500	[thread overview]
Message-ID: <6678872E-7AB9-11D9-A807-0003934F9514@indiana.edu> (raw)
In-Reply-To: <r02010400-1037-75CB685E7AB811D98C28000A95D0F804@[10.0.1.2]>

I usually save the graphics in an Illustrator document which has the 
dimensions and margins I want.

I don't know another way --

Matthias
On Feb 9, 2005, at 11:34 AM, cormullion wrote:

> I’m trying to place a PDF created by Adobe Illustrator 10 using 
> \externalfigure. But it’s coming in with loads of white space around 
> it.
>
> Although I’m new to ConTeXt, this reminds me of the old problem where 
> there are different types of ‘box’ specified in the PDF file: one 
> possibly specifying a paper size, others specifying perhaps the extent 
> of the marks described within. The PDF file contains these ‘box’ 
> lines:
>
>> /MediaBox [ 0.5 -0.5 612.5 791.5 ]
>> /ArtBox [ 206.97998 316.0459 402.12988 477.66016 ]
>> %%BoundingBox: 206 316 403 478
>> %%HiResBoundingBox: 206.98 316.0459 402.1299 477.6602
>> %AI3_TemplateBox: 306.5 395.5 306.5 395.5
>> %AI3_TileBox: 30 35 582 761
>> %%BoundingBox: 206 316 403 478
>> %%HiResBoundingBox: 206.98 316.0459 402.1299 477.6602
>> %%BoundingBox: 206 316 403 478
>> %%HiResBoundingBox: 206.98 316.0459 402.1299 477.6602
>> %AI3_TemplateBox: 306.5 395.5 306.5 395.5
>> %AI3_TileBox: 30 35 582 761
>> /FontBBox [ -167 -250 1006 939 ]
>> /FontBBox [ -222 -250 1006 922 ]
>
> To my untutored eye it looks like the MediaBox is being used - at 
> least, the graphic takes up  an area about Letter size.  Is there some 
> setting I’ve missed that lets me get the bounds of the graphics rather 
> than the file?
>
> thanks!
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

  reply	other threads:[~2005-02-09 16:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 16:34 cormullion
2005-02-09 16:41 ` Matthias Weber [this message]
2005-02-09 17:20 ` Hans Hagen
2005-02-09 22:51   ` cormullion
2005-02-10  9:10     ` Hans Hagen
2005-02-10  9:29       ` Martin Kolařík
2005-02-10 16:20         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6678872E-7AB9-11D9-A807-0003934F9514@indiana.edu \
    --to=matweber@indiana.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).