ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christoph Reller <christoph.reller@gmail.com>
To: ntg-context <ntg-context@ntg.nl>
Subject: PDF Inclusion Regression
Date: Wed, 24 Feb 2016 14:23:43 +0100	[thread overview]
Message-ID: <CAO8LnPF8qqY1chA2UhzRj1gj+aEYRoOjg7W_pL6OJGnAB+NkKQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 736 bytes --]

Hi,

I have found the following problem when including an external PDF with
\externalfigure:
Some (or all?) values in PDF arrays that are between -1.0 and 0.0 loose
their minus sign. E.g:
-0.1 turns into 0.1. This can lead to significant visual differences. This
problem did not exist in earlier versions of ConTeXt.

For a MWE consider the following:

\starttext
\externalfigure[test.pdf]
\stoptext

where test.pdf is attached and has a MediaBox [-0.1 -0.1 612 792]. In the
PDF produced by ConTeXt test.pdf is correctly put in an XObject but this
XObject now has a BBox [0.1 0.1 612 792].

I am afraid but this might be a bug in newer versions of luatex. I would
greatly appreciate if this would be addressed.

Kind regards,
Christoph

[-- Attachment #1.2: Type: text/html, Size: 963 bytes --]

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 897 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2016-02-24 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24 13:23 Christoph Reller [this message]
2016-02-24 14:36 ` Hans Hagen
     [not found] <mailman.622.1456328114.2231.ntg-context@ntg.nl>
2016-02-24 16:13 ` Christoph Reller

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=CAO8LnPF8qqY1chA2UhzRj1gj+aEYRoOjg7W_pL6OJGnAB+NkKQ@mail.gmail.com \
    --to=christoph.reller@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).