Re: [NTG-context] PDF Inclusion Regression

2016-02-24 Thread Christoph Reller
On Wed, Feb 24, 2016 at 4:38 PM Hans Hagen  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
___
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
___

Re: [NTG-context] PDF Inclusion Regression

2016-02-24 Thread Hans Hagen

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
___

[NTG-context] PDF Inclusion Regression

2016-02-24 Thread Christoph Reller
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


test.pdf
Description: Adobe PDF document
___
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
___