From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93868 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: PDF Inclusion Regression Date: Wed, 24 Feb 2016 14:23:43 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11401d86d2de84052c83faca X-Trace: ger.gmane.org 1456320288 18112 80.91.229.3 (24 Feb 2016 13:24:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 13:24:48 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 24 14:24:36 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aYZQh-0002Ee-T5 for gctc-ntg-context-518@m.gmane.org; Wed, 24 Feb 2016 14:24:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 84BEE717F; Wed, 24 Feb 2016 14:24:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cjle9zCleWEp; Wed, 24 Feb 2016 14:24:16 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id CABD57182; Wed, 24 Feb 2016 14:24:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B765E7180 for ; Wed, 24 Feb 2016 14:24:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R4UryDIghOeS for ; Wed, 24 Feb 2016 14:24:14 +0100 (CET) Original-Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DBAC4717F for ; Wed, 24 Feb 2016 14:24:04 +0100 (CET) Original-Received: by mail-lf0-f43.google.com with SMTP id j78so11613909lfb.1 for ; Wed, 24 Feb 2016 05:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=FyLRq9jo1fVxbheMYPh9bA5pPPJO4teo6gDQREda1Nc=; b=wtup1cTox0ZHam9u10fcdVbXX7VTMyc38njt7jwWJRcFbtYL1WzVoIAhhP7chgEOeK IJ/6ami0HWe448c+yI1ExvdKXFNunVCM8GhX+irRSQaCD3jIuUN/FpwBq53S5igf3uuT aGVAtsiuD2z+q+BaojItmk9nQQCLN8Pq8S5E6PlfeAN1I/hibcIzvRbE0YkjhgAzJdXK 1mHWYBvmjNpeUCEeNXFaiBbMoHDPstB4AagaKXLcdZBYJef8CQ49bi67HRD0tmfdbWnq izwd34kj8+8sCRJWiZ0n8dwSmNBwCVw1xcDVj2t0/AFpT02vpr9ca6PdBkLOTXFXILp9 NYQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=FyLRq9jo1fVxbheMYPh9bA5pPPJO4teo6gDQREda1Nc=; b=guX5FlV+RxMl3eSImQqES39pdt/LUj+oAHUbHYnmzgVRTsAjhtDUrC77Q0obMiUVbK 1/6HKppfeartmZYJHZyitx09lqTu6v+XIBtGHPEcf/Al5CBSY5gcjltLw7K7nYMg9xNR nW33P6m4xXuJjw2OIQ+wMTWpS0KD0D3kIvdxBEVfMC+523yizR4Q3SLHmA9RaKfG3vsy 5iL6XgCUCQwo44krxrSM1lzeKdhdr+p9vAtjLYr5xuF65R17PbGPTrQBlTdOBrYsf3VQ w+78futRWyeJuACPSrdvazqcNKC5LcAC9VjI6o0PSvIr23I0tiYaNhx2U7OMNwB065HG AOnw== X-Gm-Message-State: AG10YOT7L0uXEryIpkKdh3CwmPCgxw1b7SZCgTU6A1ZqmGMETPp1eFFW/pTbnEb0jPozv4UkDnFdktPr9HbgCA== X-Received: by 10.25.151.149 with SMTP id z143mr12483052lfd.72.1456320243980; Wed, 24 Feb 2016 05:24:03 -0800 (PST) Original-Received: by 10.114.83.66 with HTTP; Wed, 24 Feb 2016 05:23:43 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93868 Archived-At: --001a11401d86d2de84052c83faca Content-Type: multipart/alternative; boundary=001a11401d86d2de7e052c83fac8 --001a11401d86d2de7e052c83fac8 Content-Type: text/plain; charset=UTF-8 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 --001a11401d86d2de7e052c83fac8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 sig= n. 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]
\stopte= xt

where test.pdf is attached and has a Medi= aBox [-0.1 -0.1 612 792]. In the PDF produced by ConTeXt test.pdf is correc= tly 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 version= s of luatex. I would greatly appreciate if this would be addressed.

Kind regards,
Christoph
--001a11401d86d2de7e052c83fac8-- --001a11401d86d2de84052c83faca Content-Type: application/pdf; name="test.pdf" Content-Disposition: attachment; filename="test.pdf" Content-Transfer-Encoding: base64 X-Attachment-Id: f_il0vetcw0 JVBERi0xLjQKJeLjz9MKNCAwIG9iago8PAovRmlsdGVyIC9GbGF0ZURlY29kZQovTGVuZ3RoIDUg MCBSCj4+CnN0cmVhbQp4nC3KPQ5AQBiE4X5OMRewmW/FX6vRaxxAhAiKbVzftyieyRSvQsNCwSja u+J8wjqxcifKVqxNPBB96za/DRMufHFaoVAxM44DPLoRuSPKc2e/tKDHA4bNFQIKZW5kc3RyZWFt CmVuZG9iago1IDAgb2JqCjkwCmVuZG9iagozIDAgb2JqCjw8Ci9UeXBlIC9QYWdlCi9NZWRpYUJv eCBbLTAuMSAtMC4xIDYxMiA3OTJdCi9SZXNvdXJjZXMgPDwKPj4KL0NvbnRlbnRzIDQgMCBSCi9Q YXJlbnQgMiAwIFIKPj4KZW5kb2JqCjYgMCBvYmoKPDwKL0NyZWF0b3IgKFBERiBDcmVhdG9yIGh0 dHA6Ly93d3cucGRmLXRvb2xzLmNvbSkKL1Byb2R1Y2VyIChQREYgQ3JlYXRvciBodHRwOi8vd3d3 LnBkZi10b29scy5jb20pCi9DcmVhdGlvbkRhdGUgKEQ6MjAxNjAyMjQxMzUxMDYrMDEnMDAnKQov TW9kRGF0ZSAoRDoyMDE2MDIyNDEzNTEwNiswMScwMCcpCj4+CmVuZG9iagoyIDAgb2JqCjw8Ci9U eXBlIC9QYWdlcwovS2lkcyBbMyAwIFJdCi9Db3VudCAxCj4+CmVuZG9iagoxIDAgb2JqCjw8Ci9U eXBlIC9DYXRhbG9nCi9QYWdlcyAyIDAgUgo+PgplbmRvYmoKeHJlZgowIDcKMDAwMDAwMDAwMCA2 NTUzNSBmDQowMDAwMDAwNTU3IDAwMDAwIG4NCjAwMDAwMDA1MDAgMDAwMDAgbg0KMDAwMDAwMDE5 NyAwMDAwMCBuDQowMDAwMDAwMDE1IDAwMDAwIG4NCjAwMDAwMDAxNzkgMDAwMDAgbg0KMDAwMDAw MDMwNyAwMDAwMCBuDQp0cmFpbGVyCjw8Ci9TaXplIDcKL1Jvb3QgMSAwIFIKL0luZm8gNiAwIFIK L0lEIFs8RDc2OTUzOUZEMzY0REFFQzg3QUQwNzg2OTMzOTk0OTI+IDw5N0Y3M0IyRjQ1OUY2RjU5 QkJBQTRCMEMwRkExQzhBQz5dCj4+CnN0YXJ0eHJlZgo2MDYKJSVFT0YK --001a11401d86d2de84052c83faca Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --001a11401d86d2de84052c83faca--