Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B3A3C20049B for ; Mon, 14 Aug 2017 21:56:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B06341609C4; Mon, 14 Aug 2017 19:56:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0175D1609C1 for ; Mon, 14 Aug 2017 21:56:13 +0200 (CEST) Received: (qmail 80687 invoked by uid 500); 14 Aug 2017 19:56:12 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 80667 invoked by uid 99); 14 Aug 2017 19:56:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2017 19:56:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2F8C2C0118 for ; Mon, 14 Aug 2017 19:56:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PZl6u862Odc7 for ; Mon, 14 Aug 2017 19:56:11 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E23985F36D for ; Mon, 14 Aug 2017 19:56:10 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id f15so1181446wmg.1 for ; Mon, 14 Aug 2017 12:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2AlpvmptnTOX9B0/dH97z8pYmaoP8a8oBg1onixgaKo=; b=PVuBz6UvuEDJb9r7wCnw63dRxEiDuJi2XJTxmvMb29lFq09RUOsJujIIGj652Kkpne vjQKPQ/HinwEmdjoHtO8E32Se2yfmX167jjegOrIpBaauEaHLXfSxjbq+wXJw++4uLxG e/BkOfUBywblGM8ZNeuqNtVrICzH/qZKzw45xI0HyFXUbmPaPpQhyZ50zX9KAmicol9g l3W7AAh0bbAZNN9Wm/Ai2iSTN8GX+yqpkmBHv+bvf9NLgiOgm1Lg5yiiLI23Ohqh4w3K te3wU/u18ARYIvxwGaVvI29qZ4p3kB5410Juj2jV9er2HKGxO5og8b2Kb+h9oBJtMAJ9 mSQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2AlpvmptnTOX9B0/dH97z8pYmaoP8a8oBg1onixgaKo=; b=pUAC5N4GpnRBW3uBaV7A8BXqiLLzJ9z0Z6K1JkF6ebru4PbAlIM6CZ6YbSt1qbVwzj LajqBv8flcPtI52X1aW0eEJjsOaPFk7RqT9ThE6HMMyrY+NZZHkfxVLYXDD5A3nX8QPL tssX7M5GwA9Zf2pRiJY1EPcxv+TwRLpvDQdJzix1hqHEARiy3HnA090O6ohJx/6Rdj1G 9Gj1wcNbM97Lsgx8gKI6O7aFlZIYDEAVN98js8+W20zKWxB7oVDMkfh8NjlzHB+pblYt 1VL7P9dj+xqZuptb1RWwfYUeIgUHqDbs4J+wMwfwt5nLp0h3/vV27T08Ae+uKucbVU7z 5GjA== X-Gm-Message-State: AHYfb5g+017v2ao/6wbBK47KuHHa4GxcIrtCpOZqv5RWXBLWSaWT6yL0 NXZQgY3AjWklIW1sBAGLUYhrK1AUVkHX X-Received: by 10.80.129.227 with SMTP id 90mr25235829ede.256.1502740569811; Mon, 14 Aug 2017 12:56:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.224.205 with HTTP; Mon, 14 Aug 2017 12:56:09 -0700 (PDT) In-Reply-To: <07c2ecf7-9862-9cc5-0c3f-35b583463f62@t-online.de> References: <07c2ecf7-9862-9cc5-0c3f-35b583463f62@t-online.de> From: Tretonio Tretis Date: Mon, 14 Aug 2017 16:56:09 -0300 Message-ID: Subject: Re: Error Reversing Page To: users@pdfbox.apache.org Content-Type: multipart/alternative; boundary="94eb2c05f3e6da700a0556bc0d77" archived-at: Mon, 14 Aug 2017 19:56:14 -0000 --94eb2c05f3e6da700a0556bc0d77 Content-Type: text/plain; charset="UTF-8" Tilman Hausherr, once again, thank you for your help. Thank you very much. I was seeing the pdfbox source and started converting to javaFX, but unfortunately it has awt things in there that I did not get it right. Another time, and a little more tranquil, I will return the conversion, but all help will be welcome. 2017-08-14 14:48 GMT-03:00 Tilman Hausherr : > You're reusing the graphics context for several pages without resetting > it. IMHO you should use a new one each time, but I don't know if this > strategy applies for JavaFX. Here's some code that solves SOME of your > problems, but not all: > > AffineTransform transform = new AffineTransform(); > if (g2dfx == null) > { > g2dfx = new FXGraphics2D(gc); > } > else > { > transform = g2dfx.getTransform(); > } > > g2dfx.setBackground(java.awt.Color.white); > > renderer.renderPageToGraphics(pagina, g2dfx, 1); > g2dfx.setTransform(transform); > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org > > --94eb2c05f3e6da700a0556bc0d77--