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 8C1CB200CDF for ; Thu, 17 Aug 2017 17:38:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8A9DF169815; Thu, 17 Aug 2017 15:38:55 +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 CCC1116969D for ; Thu, 17 Aug 2017 17:38:54 +0200 (CEST) Received: (qmail 55662 invoked by uid 500); 17 Aug 2017 15:38:53 -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 55651 invoked by uid 99); 17 Aug 2017 15:38:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2017 15:38:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C42FD180740 for ; Thu, 17 Aug 2017 15:38:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.979 X-Spam-Level: * X-Spam-Status: No, score=1.979 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id nFZQk8mZ6Zkl for ; Thu, 17 Aug 2017 15:38:52 +0000 (UTC) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6F7535F523 for ; Thu, 17 Aug 2017 15:38:51 +0000 (UTC) Received: from fwd07.aul.t-online.de (fwd07.aul.t-online.de [172.20.27.150]) by mailout08.t-online.de (Postfix) with SMTP id 4BEBC41CAABC for ; Thu, 17 Aug 2017 17:38:51 +0200 (CEST) Received: from [192.168.2.105] (rPXCYmZ6QhCL747MEPJe1bFUsiKS58TGllOnY3bzIOEFLhrixt8ssqM-6wDGlZUZQb@[217.231.157.220]) by fwd07.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1diMsk-4Bok2i0; Thu, 17 Aug 2017 17:38:50 +0200 Subject: Re: appearance stream of annotation is 2.0.7 To: users@pdfbox.apache.org References: From: Tilman Hausherr Message-ID: Date: Thu, 17 Aug 2017 17:39:21 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ID: rPXCYmZ6QhCL747MEPJe1bFUsiKS58TGllOnY3bzIOEFLhrixt8ssqM-6wDGlZUZQb X-TOI-MSGID: a58c7a2f-1a56-4f2e-b275-771d262eae0e archived-at: Thu, 17 Aug 2017 15:38:55 -0000 Am 17.08.2017 um 11:52 schrieb chitgoks: > i was previously using 2.0.4 and gave 2.0.7 a try > > there are vast improvements (for me) when it comes to annotations without > appearance streams getting generated by default. > > i can confirm the following works in chrome viewer > > -square stroke > -square fill (except it comes with a stroke, either stroke color should > match fill if none is specified) > -circle stroke > -circle fill (same result as in square fill but at least it shows) > -inklist > -text markup (highlight, underline, strike-through) - buggy though. only > the first or last rect is marked > -comment sticky note > > pdf.js > > none - > > different viewers, different implementation i guess? > > while i have made my own appearance streams for a number of my supported > annotations, the text markup is pretty interesting because i have a hard > time trying to draw them in content stream. > > can anyone please guide me which class does the drawing of text markup > appearance stream? i would like to take a look at the source code. IIRC it isn't done at all yet. The things being done can be found in org.apache.pdfbox.pdmodel.interactive.annotation.handlers . Tilman > > this is the last hurdle i have. > > and the other one is drawing an arrow head similar to line annotation open > arrow > > that is my input > > thank you > > mark > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org