complex script patch - intermediate format changes

2012-02-26 Thread Glenn Adams
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


Re: complex scripts patch committed

2012-02-26 Thread Clay Leeds
Nice work Glenn!

"My religion is simple. My religion is kindness."
- HH The Dalai Lama of Tibet

On Feb 26, 2012, at 12:09 AM, Glenn Adams  wrote:

> it looks like this commit didn't break the nightly trunk build, as it just 
> completed without error [1]
> 
> [1] http://ci.apache.org/builders/fop-trunk/
> 
> whew...
> 
> On Sat, Feb 25, 2012 at 8:40 PM, Glenn Adams  wrote:
> The complex scripts (CS) patch is now committed to trunk at revision 1293736 
> [1].
> 
> [1] http://svn.apache.org/viewvc?view=revision&revision=1293736
> 


Re: complex scripts patch committed

2012-02-26 Thread Glenn Adams
it looks like this commit didn't break the nightly trunk build, as it just
completed without error [1]

[1] http://ci.apache.org/builders/fop-trunk/

whew...

On Sat, Feb 25, 2012 at 8:40 PM, Glenn Adams  wrote:

> The complex scripts (CS) patch is now committed to trunk at revision
> 1293736 [1].
>
> [1] http://svn.apache.org/viewvc?view=revision&revision=1293736
>