From fop-dev-return-40563-apmail-xmlgraphics-fop-dev-archive=xmlgraphics.apache.org@xmlgraphics.apache.org Mon Feb 27 00:21:09 2012 Return-Path: X-Original-To: apmail-xmlgraphics-fop-dev-archive@www.apache.org Delivered-To: apmail-xmlgraphics-fop-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2A8D95EB for ; Mon, 27 Feb 2012 00:21:09 +0000 (UTC) Received: (qmail 81266 invoked by uid 500); 27 Feb 2012 00:21:09 -0000 Delivered-To: apmail-xmlgraphics-fop-dev-archive@xmlgraphics.apache.org Received: (qmail 81240 invoked by uid 500); 27 Feb 2012 00:21:09 -0000 Mailing-List: contact fop-dev-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: fop-dev@xmlgraphics.apache.org Delivered-To: mailing list fop-dev@xmlgraphics.apache.org Received: (qmail 81230 invoked by uid 99); 27 Feb 2012 00:21:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2012 00:21:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.54] (HELO mail-pw0-f54.google.com) (209.85.160.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2012 00:21:04 +0000 Received: by pbcxa7 with SMTP id xa7so5499878pbc.27 for ; Sun, 26 Feb 2012 16:20:43 -0800 (PST) Received-SPF: pass (google.com: domain of glenn@skynav.com designates 10.68.228.137 as permitted sender) client-ip=10.68.228.137; Authentication-Results: mr.google.com; spf=pass (google.com: domain of glenn@skynav.com designates 10.68.228.137 as permitted sender) smtp.mail=glenn@skynav.com Received: from mr.google.com ([10.68.228.137]) by 10.68.228.137 with SMTP id si9mr31365934pbc.66.1330302043466 (num_hops = 1); Sun, 26 Feb 2012 16:20:43 -0800 (PST) Received: by 10.68.228.137 with SMTP id si9mr26813331pbc.66.1330302043241; Sun, 26 Feb 2012 16:20:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.218.129 with HTTP; Sun, 26 Feb 2012 16:20:23 -0800 (PST) From: Glenn Adams Date: Sun, 26 Feb 2012 17:20:23 -0700 Message-ID: Subject: complex script patch - intermediate format changes To: FOP Developers Content-Type: multipart/alternative; boundary=047d7b2ee031bb3d8904b9e7146f X-Gm-Message-State: ALoCoQkEC6WHIS3qMHo8xNPeV1jN0Uq2JQ69b828LNKi6JkoSYc2spoS9YGagGlnk9QCAtcUUzFh --047d7b2ee031bb3d8904b9e7146f Content-Type: text/plain; charset=UTF-8 The CS patch entailed making two changes to IFPainter and corresponding changes to the IF format: *IFPainter* [1] (1) drawText - generalize dx parameter to support adjustment of both placement and advance in both x and y; this change was discussed previously at [2]; (2) drawBorderRect - change names of parameters {before,after,start,end} to {top,bottom,left,right} to reflect use of absolute edges not writing mode relative edges; although this change was not strictly necessary, the prior use of writing mode relative names was confusing and semantically incorrect with respect to actual implementations of IFPainter *Intermediate Formate Schema* [3][4] (1) on , continue to support use of legacy @dx, while adding new @dp; when serializing dp, if it can be representing using the legacy @dx format, then @dx is used; otherwise @dp is used; (2) on , change attribute names {before,after,start,end} to {top,bottom,left,right} [1] http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/intermediate/IFPainter.java?r1=1293736&r2=1293735&pathrev=1293736&limit_changes=0&diff_format=h [2] http://marc.info/?l=fop-dev&m=128317082318964&w=2 [3] http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-content.xsd?limit_changes=0&r1=1094690&r2=1293963&diff_format=h [4] http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd?limit_changes=0&r1=1133325&r2=1293963&diff_format=h --047d7b2ee031bb3d8904b9e7146f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The CS patch entailed making two changes to IFPainter and correspondin= g changes to the IF format:

IFPainter=C2=A0= [1]=C2=A0

(1) drawText - generalize dx parameter t= o support adjustment of both placement and advance in both x and y; this ch= ange was discussed previously at [2];

(2) drawBorderRect - change names of parameters {before= ,after,start,end} to {top,bottom,left,right} to reflect use of absolute edg= es not writing mode relative edges; although this change was not strictly n= ecessary, the prior use of writing mode relative names was confusing and se= mantically incorrect with respect to actual implementations of IFPainter

Intermediate Formate Schema [3][4]
(1) on <text/>, continue to support use of legacy @dx, wh= ile adding new @dp; when serializing dp, if it can be representing using th= e legacy @dx format, then @dx is used; otherwise @dp is used;

(2) on <border-rect/>, change attribute names {be= fore,after,start,end} to {top,bottom,left,right}



[3]=C2=A0http://svn.apache.org/view= vc/xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-inter= mediate-format-ng-content.xsd?limit_changes=3D0&r1=3D1094690&r2=3D1= 293963&diff_format=3Dh

--047d7b2ee031bb3d8904b9e7146f--