[GUMP@vmgump]: Project xml-fop-test (in module xml-fop) failed

2014-04-28 Thread FOP Gump Nightly Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project xml-fop-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 2 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- xml-fop-test :  XSL-FO (Formatting Objects) processor


Full details are available at:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on checkstyle exists, no need to add for property 
checkstyle.location.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/xml-fop/build/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop-test/gump_work/build_xml-fop_xml-fop-test.html
Work Name: build_xml-fop_xml-fop-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 4 mins 3 secs
Command Line: /usr/lib/jvm/java-7-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only -Dant.build.clonevm=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dcheckstyle.location=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.7-SNAPSHOT.jar
 gump-test 
[Working Directory: /srv/gump/public/workspace/xml-fop]
CLASSPATH: 
/usr/lib/jvm/java-7-oracle/lib/tools.jar:/srv/gump/public/workspace/xml-fop/build/classes:/srv/gump/public/workspace/xml-fop/build/codegen-classes:/srv/gump/public/workspace/xml-fop/build/test-classes:/srv/gump/public/workspace/xml-fop/lib/build/asm-3.1.jar:/srv/gump/public/workspace/xml-fop/lib/build/mockito-core-1.8.5.jar:/srv/gump/public/workspace/xml-fop/lib/build/hamcrest.core-1.1.0.jar:/srv/gump/public/workspace/xml-fop/lib/build/objenesis-1.0.0.jar:/srv/gump/public/workspace/xml-fop/lib/build/qdox-1.12.jar:/srv/gump/public/workspace/xml-fop/lib/fontbox-1.8.4-patched.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.7-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-20140429.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public
 
/workspace/apache-commons/exec/target/commons-exec-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-20140429.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-20140429.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-20140429.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-18.0-SNAPSHOT.jar:/srv/gump/public/workspace/xml-fop/build/fop.jar:/srv/gump/public/workspace/xml-fop/build/fop-sandbox.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/x
 
ml-commons/java/build/resolver.jar:/srv/gump/packages/apache-attic/avalon-framework-api-4.3.jar:/srv/gump/packages/apache-attic/avalon-framework-impl-4.3.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.5-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/batik-slideshow.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/batik-svgpp.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/lib/batik-anim.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/lib/batik-awt-util.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/lib/batik-bridge.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/lib/batik-codec.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/lib/batik-css.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/lib/batik-dom.jar:/srv/gump/public/workspa
 
ce/xml-batik/batik-20140429/lib/batik-ext.jar:/srv/gump/public/workspace/xml-batik/batik-20140429/lib/batik-exte

[GUMP@vmgump]: Project xml-fop-test (in module xml-fop) failed

2014-04-28 Thread FOP Gump Nightly Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project xml-fop-test has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- xml-fop-test :  XSL-FO (Formatting Objects) processor


Full details are available at:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on checkstyle exists, no need to add for property 
checkstyle.location.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/xml-fop/build/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop-test/gump_work/build_xml-fop_xml-fop-test.html
Work Name: build_xml-fop_xml-fop-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 4 mins 9 secs
Command Line: /usr/lib/jvm/java-7-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only -Dant.build.clonevm=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dcheckstyle.location=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.7-SNAPSHOT.jar
 gump-test 
[Working Directory: /srv/gump/public/workspace/xml-fop]
CLASSPATH: 
/usr/lib/jvm/java-7-oracle/lib/tools.jar:/srv/gump/public/workspace/xml-fop/build/classes:/srv/gump/public/workspace/xml-fop/build/codegen-classes:/srv/gump/public/workspace/xml-fop/build/test-classes:/srv/gump/public/workspace/xml-fop/lib/build/asm-3.1.jar:/srv/gump/public/workspace/xml-fop/lib/build/mockito-core-1.8.5.jar:/srv/gump/public/workspace/xml-fop/lib/build/hamcrest.core-1.1.0.jar:/srv/gump/public/workspace/xml-fop/lib/build/objenesis-1.0.0.jar:/srv/gump/public/workspace/xml-fop/lib/build/qdox-1.12.jar:/srv/gump/public/workspace/xml-fop/lib/fontbox-1.8.4-patched.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.7-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-20140428.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public
 
/workspace/apache-commons/exec/target/commons-exec-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-20140428.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-20140428.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-20140428.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-18.0-SNAPSHOT.jar:/srv/gump/public/workspace/xml-fop/build/fop.jar:/srv/gump/public/workspace/xml-fop/build/fop-sandbox.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/x
 
ml-commons/java/build/resolver.jar:/srv/gump/packages/apache-attic/avalon-framework-api-4.3.jar:/srv/gump/packages/apache-attic/avalon-framework-impl-4.3.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.5-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/batik-slideshow.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/batik-svgpp.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/lib/batik-anim.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/lib/batik-awt-util.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/lib/batik-bridge.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/lib/batik-codec.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/lib/batik-css.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/lib/batik-dom.jar:/srv/gump/public/workspa
 
ce/xml-batik/batik-20140428/lib/batik-ext.jar:/srv/gump/public/workspace/xml-batik/batik-20140428/lib/batik-extension.jar:/srv/g

Re: [VOTE][RESULT] Merge Temp_WhitespaceManagement to trunk

2014-04-28 Thread Vincent Hennebert

So we have 7 +1s, the vote passes. Thanks to all those who voted. I will
now start the merging process.

Vincent


On 22/04/14 18:11, Vincent Hennebert wrote:

Hi,

as you may be aware, Seifeddine Dridi has been working for the past few
months on an extension to manage the white space available in
a document. It is based on the fo:multi-switch element and selects the
first fo:multi-case child that fits on the page. That allows to define
smaller variants in case there is not enough space left on the page.

The approach is similar to what is described here:
http://wiki.apache.org/xmlgraphics-fop/WhitespaceManagement

All patches, comments and discussions are available in the following
JIRA issue:
https://issues.apache.org/jira/browse/FOP-2293

The code is here:
http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement


It has reached a state where we believe it is ready to be merged to
trunk.

This vote will run until Friday, 25th April 16:00 UTC.

+1 from me.

Thanks,
Vincent


[jira] [Closed] (FOP-2345) [PATCH] SVG to AFP text spacing wrong

2014-04-28 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2345.
--

Resolution: Fixed

> [PATCH] SVG to AFP text spacing wrong
> -
>
> Key: FOP-2345
> URL: https://issues.apache.org/jira/browse/FOP-2345
> Project: Fop
>  Issue Type: Bug
>Reporter: simon steiner
> Attachments: afpspacing.patch, test.fo
>
>
> fop test.fo -afp out.afp
> We need to use svg points for each char except when text is smaller than 
> smallest font size 6pt



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FOP-2345) [PATCH] SVG to AFP text spacing wrong

2014-04-28 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983080#comment-13983080
 ] 

simon steiner commented on FOP-2345:


Added
http://svn.apache.org/viewvc?view=revision&revision=1590665

> [PATCH] SVG to AFP text spacing wrong
> -
>
> Key: FOP-2345
> URL: https://issues.apache.org/jira/browse/FOP-2345
> Project: Fop
>  Issue Type: Bug
>Reporter: simon steiner
> Attachments: afpspacing.patch, test.fo
>
>
> fop test.fo -afp out.afp
> We need to use svg points for each char except when text is smaller than 
> smallest font size 6pt



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (FOP-2336) [PATCH] OOM for tiff output

2014-04-28 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2336.
--

Resolution: Fixed

> [PATCH] OOM for tiff output
> ---
>
> Key: FOP-2336
> URL: https://issues.apache.org/jira/browse/FOP-2336
> Project: Fop
>  Issue Type: Bug
>Reporter: simon steiner
> Attachments: fop.xconf, in.tif, in2.tif, test.fo, tiffmem.patch
>
>
> fop holds on to last page awt Raster data
> export FOP_OPTS="-Xmx50m"
> fop test.fo -tiff out.tiff -c fop.xconf
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>   at java.awt.image.DataBufferInt.(DataBufferInt.java:41)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FOP-2336) [PATCH] OOM for tiff output

2014-04-28 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983042#comment-13983042
 ] 

simon steiner commented on FOP-2336:


Added
http://svn.apache.org/viewvc?view=revision&revision=1590653

> [PATCH] OOM for tiff output
> ---
>
> Key: FOP-2336
> URL: https://issues.apache.org/jira/browse/FOP-2336
> Project: Fop
>  Issue Type: Bug
>Reporter: simon steiner
> Attachments: fop.xconf, in.tif, in2.tif, test.fo, tiffmem.patch
>
>
> fop holds on to last page awt Raster data
> export FOP_OPTS="-Xmx50m"
> fop test.fo -tiff out.tiff -c fop.xconf
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>   at java.awt.image.DataBufferInt.(DataBufferInt.java:41)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (FOP-2367) [Patch] Support for color space OCA

2014-04-28 Thread Seifeddine Dridi (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Seifeddine Dridi updated FOP-2367:
--

Attachment: oca-test.fo

Added test FO

> [Patch] Support for color space OCA
> ---
>
> Key: FOP-2367
> URL: https://issues.apache.org/jira/browse/FOP-2367
> Project: Fop
>  Issue Type: Improvement
>Affects Versions: trunk
>Reporter: Seifeddine Dridi
>Priority: Minor
>  Labels: patch
> Fix For: trunk
>
> Attachments: oca-test.fo, ocacolor.patch
>
>
> Hello,
> I added support for color space OCA. OCA is used in AFP to set text 
> foreground color and it is still useful in old AFP printers that have a 
> limited support for color or don't support other color spaces (RGB, CMYK, 
> etc...).
> Seifeddine



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FOP-2337) [PATCH] Remove xobj type=form

2014-04-28 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983005#comment-13983005
 ] 

simon steiner commented on FOP-2337:


Applied:
http://svn.apache.org/viewvc?view=revision&revision=1590626
http://svn.apache.org/viewvc?view=revision&revision=1590619

> [PATCH] Remove xobj type=form
> -
>
> Key: FOP-2337
> URL: https://issues.apache.org/jira/browse/FOP-2337
> Project: Fop
>  Issue Type: Bug
>Reporter: simon steiner
> Attachments: fopremovexform.patch, pdfpluginremovexform2.patch, 
> rotate.pdf
>
>
> Print speed will be slow since using xobj type=form causes each pdf page to 
> be cached
> PDF objects are given a unique name to avoid conflicts with pdf objects from 
> fop
> See: http://marc.info/?l=fop-dev&m=133291687130317&w=2
> http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/201203.mbox/%3ccalmsgz3qudyeqyjotr0ipnjw8r+txok3wb5cupahr5he3_p...@mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (FOP-2337) [PATCH] Remove xobj type=form

2014-04-28 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2337.
--

Resolution: Fixed

> [PATCH] Remove xobj type=form
> -
>
> Key: FOP-2337
> URL: https://issues.apache.org/jira/browse/FOP-2337
> Project: Fop
>  Issue Type: Bug
>Reporter: simon steiner
> Attachments: fopremovexform.patch, pdfpluginremovexform2.patch, 
> rotate.pdf
>
>
> Print speed will be slow since using xobj type=form causes each pdf page to 
> be cached
> PDF objects are given a unique name to avoid conflicts with pdf objects from 
> fop
> See: http://marc.info/?l=fop-dev&m=133291687130317&w=2
> http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/201203.mbox/%3ccalmsgz3qudyeqyjotr0ipnjw8r+txok3wb5cupahr5he3_p...@mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FOP-2367) [Patch] Support for color space OCA

2014-04-28 Thread Luis Bernardo (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983003#comment-13983003
 ] 

Luis Bernardo commented on FOP-2367:


Please provide an FO example of how this would be used.

> [Patch] Support for color space OCA
> ---
>
> Key: FOP-2367
> URL: https://issues.apache.org/jira/browse/FOP-2367
> Project: Fop
>  Issue Type: Improvement
>Affects Versions: trunk
>Reporter: Seifeddine Dridi
>Priority: Minor
>  Labels: patch
> Fix For: trunk
>
> Attachments: ocacolor.patch
>
>
> Hello,
> I added support for color space OCA. OCA is used in AFP to set text 
> foreground color and it is still useful in old AFP printers that have a 
> limited support for color or don't support other color spaces (RGB, CMYK, 
> etc...).
> Seifeddine



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (FOP-2367) [Patch] Support for color space OCA

2014-04-28 Thread Seifeddine Dridi (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Seifeddine Dridi updated FOP-2367:
--

Attachment: ocacolor.patch

> [Patch] Support for color space OCA
> ---
>
> Key: FOP-2367
> URL: https://issues.apache.org/jira/browse/FOP-2367
> Project: Fop
>  Issue Type: Improvement
>Affects Versions: trunk
>Reporter: Seifeddine Dridi
>Priority: Minor
>  Labels: patch
> Fix For: trunk
>
> Attachments: ocacolor.patch
>
>
> Hello,
> I added support for color space OCA. OCA is used in AFP to set text 
> foreground color and it is still useful in old AFP printers that have a 
> limited support for color or don't support other color spaces (RGB, CMYK, 
> etc...).
> Seifeddine



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (FOP-2367) [Patch] Support for color space OCA

2014-04-28 Thread Seifeddine Dridi (JIRA)
Seifeddine Dridi created FOP-2367:
-

 Summary: [Patch] Support for color space OCA
 Key: FOP-2367
 URL: https://issues.apache.org/jira/browse/FOP-2367
 Project: Fop
  Issue Type: Improvement
Affects Versions: trunk
Reporter: Seifeddine Dridi
Priority: Minor
 Fix For: trunk


Hello,

I added support for color space OCA. OCA is used in AFP to set text foreground 
color and it is still useful in old AFP printers that have a limited support 
for color or don't support other color spaces (RGB, CMYK, etc...).

Seifeddine



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: [VOTE] Merge Temp_WhitespaceManagement to trunk

2014-04-28 Thread Luis Bernardo
If the implemented behavior is select-first-fitting then it makes
sense. The behavior I observed is the one you described. The wiki page
described best-fitting and I had built an example based on what I expected
best fit to be.


On Mon, Apr 28, 2014 at 7:27 AM, Vincent Hennebert wrote:

> Hi Luis,
>
> thanks for testing this.
>
>
>  I tested with the attached example and the result is not what
>>> I expected. It is also possible that I don't understand what best fit
>>> means.
>>>
>>
> The value of the option hasn’t been changed yet but it will be when
> merging to trunk. Its name will be select-first-fitting, which should
> better describe the behaviour of this extension.
>
>
>
>  I was expecting yellow, yellow, yellow. Instead I get yellow, blue,
>>> yellow.
>>> Can you please comment?
>>>
>>
> The first variant that fits on the page is selected, which is the blue
> one in this case.
>
>
>
> On 28/04/14 00:38, Luis Bernardo wrote:
>
>>
>> Further testing showed that this only seems to work if:
>> -- the multi-switch element is the last element with content in the page
>> -- the alternatives are ordered from the largest to the smallest
>> Since the constraints are not too restrictive,
>>
>
> Depends what you mean by ‘work’. I’d rather call it ‘have an effect’. In
> most cases the first variant will be chosen. Another one will be
> selected if:
> • the multi-switch ends up at the bottom of a page (not necessarily the
>   last one),
> • there is not enough room left to fit the first variant,
> • there is a later variant that is smaller than the first one.
>
> If there is no such variant, then nothing will be rendered.
>
> Does that make sense?
>
>
> Vincent
>
>  +1
>>
>> On 4/26/14, 11:49 PM, Luis Bernardo wrote:
>>
>>>
>>>
>>> On 4/24/14, 11:58 PM, Luis Bernardo wrote:
>>>

 Vincent, if you hold off tallying the votes till Monday then I will run
 some tests before I vote.

 On 4/22/14, 5:11 PM, Vincent Hennebert wrote:

> Hi,
>
> as you may be aware, Seifeddine Dridi has been working for the past few
> months on an extension to manage the white space available in
> a document. It is based on the fo:multi-switch element and selects the
> first fo:multi-case child that fits on the page. That allows to define
> smaller variants in case there is not enough space left on the page.
>
> The approach is similar to what is described here:
> http://wiki.apache.org/xmlgraphics-fop/WhitespaceManagement
>
> All patches, comments and discussions are available in the following
> JIRA issue:
> https://issues.apache.org/jira/browse/FOP-2293
>
> The code is here:
> http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/
> Temp_WhitespaceManagement
>
>
> It has reached a state where we believe it is ready to be merged to
> trunk.
>
> This vote will run until Friday, 25th April 16:00 UTC.
>
> +1 from me.
>
> Thanks,
> Vincent
>


>>>
>>


Re: [VOTE] Merge Temp_WhitespaceManagement to trunk

2014-04-28 Thread Luis Bernardo
In the situation where I see this feature being used (like to place a
banner ad, very likely an image, at the bottom of a page) I don't see these
constraints as being a problem. Hence my vote.


On Mon, Apr 28, 2014 at 3:31 AM, Glenn Adams  wrote:

> Are those reasonable constraints?
>
>
>
> On Sun, Apr 27, 2014 at 4:38 PM, Luis Bernardo wrote:
>
>>
>> Further testing showed that this only seems to work if:
>> -- the multi-switch element is the last element with content in the page
>> -- the alternatives are ordered from the largest to the smallest
>> Since the constraints are not too restrictive,
>>
>> +1
>>
>>
>> On 4/26/14, 11:49 PM, Luis Bernardo wrote:
>>
>>>
>>> I tested with the attached example and the result is not what I
>>> expected. It is also possible that I don't understand what best fit means.
>>>
>>> I was expecting yellow, yellow, yellow. Instead I get yellow, blue,
>>> yellow. Can you please comment?
>>>
>>> On 4/24/14, 11:58 PM, Luis Bernardo wrote:
>>>

 Vincent, if you hold off tallying the votes till Monday then I will run
 some tests before I vote.

 On 4/22/14, 5:11 PM, Vincent Hennebert wrote:

> Hi,
>
> as you may be aware, Seifeddine Dridi has been working for the past few
> months on an extension to manage the white space available in
> a document. It is based on the fo:multi-switch element and selects the
> first fo:multi-case child that fits on the page. That allows to define
> smaller variants in case there is not enough space left on the page.
>
> The approach is similar to what is described here:
> http://wiki.apache.org/xmlgraphics-fop/WhitespaceManagement
>
> All patches, comments and discussions are available in the following
> JIRA issue:
> https://issues.apache.org/jira/browse/FOP-2293
>
> The code is here:
> http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/
> Temp_WhitespaceManagement
>
> It has reached a state where we believe it is ready to be merged to
> trunk.
>
> This vote will run until Friday, 25th April 16:00 UTC.
>
> +1 from me.
>
> Thanks,
> Vincent
>


>>>
>>
>