ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF Inclusion Regression
@ 2016-02-24 13:23 Christoph Reller
  2016-02-24 14:36 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Reller @ 2016-02-24 13:23 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PDF Inclusion Regression
  2016-02-24 13:23 PDF Inclusion Regression Christoph Reller
@ 2016-02-24 14:36 ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2016-02-24 14:36 UTC (permalink / raw)
  To: ntg-context

On 2/24/2016 2:23 PM, Christoph Reller wrote:
> 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.

fixed in next luatex release

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PDF Inclusion Regression
       [not found] <mailman.622.1456328114.2231.ntg-context@ntg.nl>
@ 2016-02-24 16:13 ` Christoph Reller
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Reller @ 2016-02-24 16:13 UTC (permalink / raw)
  To: ntg-context


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

On Wed, Feb 24, 2016 at 4:38 PM Hans Hagen <pragma@wxs.nl> wrote:

>
> On 2/24/2016 2:23 PM, Christoph Reller wrote:
> > I am afraid but this might be a bug in newer versions of luatex. I would
> > greatly appreciate if this would be addressed.
>
> fixed in next luatex release


Thank you very much, Hans!
-- Christoph

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

[-- Attachment #2: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-24 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-24 13:23 PDF Inclusion Regression Christoph Reller
2016-02-24 14:36 ` Hans Hagen
     [not found] <mailman.622.1456328114.2231.ntg-context@ntg.nl>
2016-02-24 16:13 ` Christoph Reller

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).