From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt ignores crop in some pdf graphics
Date: Wed, 5 Sep 2018 17:01:55 +0200 [thread overview]
Message-ID: <CAG5iGsA8i5cYnmJZM6XLUsgVOuHCDmZP7NywyF5s3z8kJuRDjw@mail.gmail.com> (raw)
In-Reply-To: <e0b7ec77-8345-9922-378d-fde508c77d06@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 1450 bytes --]
On Wed, Sep 5, 2018 at 4:37 PM Pablo Rodriguez <oinos@gmx.es> wrote:
> On 09/04/2018 10:40 PM, Henning Hraban Ramm wrote:
> > [...]
> > Hans investigated and could trace my problem to an Acrobat bug (or at
> > least it doesn't adhere to the PDF specs): I had my logo exported from
> > Illustrator and changed the boxes in Acrobat Pro 9, then saved. But if
> > you don't "save as", Acrobat creates a XForm inside a page, but doesn't
> > set the boxes correctly for the page (CropBox missing, Artbox was what I
> > needed).
>
> Hi Hraban,
>
> the document sent by Mari (ex.pdf) contains the following information:
>
> 4 0 obj
>
> <<
>
> /CropBox [ 265.961 392.102 329.315 445.535 ]
>
> /Parent 2 0 R
>
> /Contents 5 0 R
>
> /BleedBox [ 265.961 392.102 329.315 445.535 ]
>
> /MediaBox [ -9 -9 604.276 850.89 ]
>
> /TrimBox [ 265.961 392.102 329.315 445.535 ]
>
> /Resources <<
>
> /ProcSet [ /PDF ]
>
> /ExtGState <<
>
> /GS6 6 0 R
>
> >>
>
> >>
>
> /Type /Page
>
> >>
>
> endobj
>
>
> I would say, that in the following sample:
>
> \starttext
>
> \externalfigure[ex.pdf][size=crop]
>
> \stoptext
>
>
> the option "size" doesn’t seem to work.
>
> Or is the original ex.pdf document flawed?
>
we are working to extend luatex to manage these situations.
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 2108 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2018-09-05 15:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-03 15:31 Mari Voipio
2018-09-04 7:00 ` Henning Hraban Ramm
2018-09-04 19:22 ` Pablo Rodriguez
2018-09-04 20:40 ` Henning Hraban Ramm
2018-09-05 14:37 ` Pablo Rodriguez
2018-09-05 15:01 ` luigi scarso [this message]
2018-09-05 17:56 ` Mari Voipio
2018-09-05 20:08 ` Pablo Rodriguez
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=CAG5iGsA8i5cYnmJZM6XLUsgVOuHCDmZP7NywyF5s3z8kJuRDjw@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--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).