Return-Path: Delivered-To: apmail-xmlgraphics-batik-dev-archive@www.apache.org Received: (qmail 26579 invoked from network); 13 Apr 2009 11:48:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2009 11:48:22 -0000 Received: (qmail 3148 invoked by uid 500); 13 Apr 2009 11:48:22 -0000 Delivered-To: apmail-xmlgraphics-batik-dev-archive@xmlgraphics.apache.org Received: (qmail 3111 invoked by uid 500); 13 Apr 2009 11:48:22 -0000 Mailing-List: contact batik-dev-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-dev@xmlgraphics.apache.org Delivered-To: mailing list batik-dev@xmlgraphics.apache.org Received: (qmail 3103 invoked by uid 99); 13 Apr 2009 11:48:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 11:48:22 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.deweese@kodak.com designates 192.232.121.200 as permitted sender) Received: from [192.232.121.200] (HELO smtp1.kodak.com) (192.232.121.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 11:48:13 +0000 Received: from roc-us-e1000-111.kodak.com (roc-us-e1000-111.kodak.com [192.232.121.191]) by smtp1.kodak.com (8.11.3/8.11.1) with SMTP id n3DBlod26438 for ; Mon, 13 Apr 2009 07:47:50 -0400 (EDT) Received: from (unknown [150.102.45.49]) by roc-us-e1000-111.kodak.com with smtp id 7710_ea7e1770_2820_11de_95b8_0019b9df7914; Mon, 13 Apr 2009 11:47:50 +0000 In-Reply-To: <49DCEAD1.9080509@principle.com> To: batik-dev@xmlgraphics.apache.org Cc: batik-dev@xmlgraphics.apache.org Subject: Re: exploring flowImage - where to start in understanding batik's workings MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: thomas.deweese@kodak.com Date: Mon, 13 Apr 2009 07:48:09 -0400 X-MIMETrack: Serialize by Router on KNOTES2/ISBP/EKC(Release 6.5.6FP2|October 17, 2007) at 04/13/2009 07:47:50 AM, Serialize complete at 04/13/2009 07:47:50 AM Content-Type: multipart/alternative; boundary="=_alternative 0040CDCA85257597_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0040CDCA85257597_= Content-Type: text/plain; charset="US-ASCII" Hi Shahriar, Shahriar Aghajani wrote on 04/08/2009 02:20:01 PM: > I'm interested in exploring the concept under or > . I'm not sure how straight forward or difficult it will be, > but I figured I'd give it a shot. It will be a little tricky although a fair bit of the trickyness is in getting the line layout correct. So if you don't have any experience with CSS it will be harder. > After that, I'd like to figure out which part of the code actually draws > the elements, and more importantly, calculates coordinates! So that I > can start tinkering with things. The majority of the text layout is done in the batik.gvt.text, batik.gvt.font and batik.gvt.flow packages. The flow package basically sits on top of the text package taking the text and wrapping it to regions. We already support altGlyph which has some similarities to the image element, so I would suggest looking at that and trying to extend it for images. Helder already provided some links for general documentation on Batik. --=_alternative 0040CDCA85257597_= Content-Type: text/html; charset="US-ASCII"
Hi Shahriar,

Shahriar Aghajani <aghajani.lists@principle.com> wrote on 04/08/2009 02:20:01 PM:

> I'm interested in exploring the <flowImage> concept under <flowText> or
> <flowRoot>.  I'm not sure how straight forward or difficult it will be,
> but I figured I'd give it a shot.

   It will be a little tricky although a fair bit of the trickyness
is in getting the line layout correct.  So if you don't have any
experience with CSS it will be harder.

> After that, I'd like to figure out which part of the code actually draws
> the elements, and more importantly, calculates coordinates!  So that I
> can start tinkering with things.

   The majority of the text layout is done in the batik.gvt.text, batik.gvt.font
and batik.gvt.flow packages.  The flow package basically sits on top of the text
package taking the text and wrapping it to regions.  We already support
altGlyph which has some similarities to the image element, so I would suggest
looking at that and trying to extend it for images.

   Helder already provided some links for general documentation on Batik. --=_alternative 0040CDCA85257597_=--