[jira] [Resolved] (FOP-2341) FOP is hang and not able to generate RTF file

2014-02-10 Thread Pascal Sancho (JIRA)

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

Pascal Sancho resolved FOP-2341.


   Resolution: Not A Problem
Fix Version/s: (was: 0.95)

Hi,
please, for FOP usage question, ask 1st on appropriate mailing list (see [1]).
That said, in your snippet there is a mismatch:
{code}
font-size=10mmpt
{code}
will throw (FOP output):
{code}
[ERROR] PropertyMaker - Unknown length unit 'mmpt'
{code}

[1] http://xmlgraphics.apache.org/fop/gethelp.html

  FOP is hang and not able to generate RTF file
 --

 Key: FOP-2341
 URL: https://issues.apache.org/jira/browse/FOP-2341
 Project: Fop
  Issue Type: Bug
  Components: rtf
Affects Versions: 0.95
Reporter: MOHD
Priority: Critical
  Labels: newbie
   Original Estimate: 1m
  Remaining Estimate: 1m

 My local FOP engine is hang when below scenario was occur.
  fo:block font-style=normal font-size=10mmpt role=html:div
 fo:inline baseline-shift=super font-size=smaller 
 role=html:supth/fo:inlineof each month. 
   /fo:block
 Please give some suggestion if any one has solution for this issue.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (FOP-2341) FOP is hang and not able to generate RTF file

2014-02-10 Thread MOHD (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13896373#comment-13896373
 ] 

MOHD commented on FOP-2341:
---

Thanks Pascal,

It should throw exception but why it is taking time to render the file.

Suppose you have big FO and it has same scenario at many places.
It is not able to generate file.


  FOP is hang and not able to generate RTF file
 --

 Key: FOP-2341
 URL: https://issues.apache.org/jira/browse/FOP-2341
 Project: Fop
  Issue Type: Bug
  Components: rtf
Affects Versions: 0.95
Reporter: MOHD
Priority: Critical
  Labels: newbie
   Original Estimate: 1m
  Remaining Estimate: 1m

 My local FOP engine is hang when below scenario was occur.
  fo:block font-style=normal font-size=10mmpt role=html:div
 fo:inline baseline-shift=super font-size=smaller 
 role=html:supth/fo:inlineof each month. 
   /fo:block
 Please give some suggestion if any one has solution for this issue.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (FOP-2252) [PATCH] OpenType CFF support for FOP

2014-02-10 Thread Robert Meyer (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13896733#comment-13896733
 ] 

Robert Meyer commented on FOP-2252:
---

I have made some changes to the OTF patch to remove the need for patching 
fontbox. This will allow FOP to now use the latest version of fontbox and not a 
patched custom version.

http://svn.apache.org/viewvc?view=revisionrevision=1566674

 [PATCH] OpenType CFF support for FOP
 

 Key: FOP-2252
 URL: https://issues.apache.org/jira/browse/FOP-2252
 Project: Fop
  Issue Type: New Feature
  Components: fonts
Affects Versions: trunk
Reporter: Robert Meyer
Assignee: Robert Meyer
 Fix For: trunk

 Attachments: AlexBrushRegular.otf, SourceSansProBold.otf, 
 fontbox-1.8.0-SNAPSHOT.jar, fop.xconf, output.pdf, patch-240713.diff, 
 test.fo, test.pdf






--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (FOP-2341) FOP is hang and not able to generate RTF file

2014-02-10 Thread MOHD (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13896794#comment-13896794
 ] 

MOHD commented on FOP-2341:
---

Looks like issue with font-size. Due to that code are going in infinite loop.
Find below code where infinite loop.occur.
File Name: FontSizePropertyMaker.java


 while (scale  1  nextStepFontSize  baseFontSize
|| scale  1  nextStepFontSize  baseFontSize) {
// baseFontSize is still bigger (if we grow) or smaller (if we 
shrink)
// than the last caculated step
lastStepFontSize = nextStepFontSize;
nextStepFontSize = (int)Math.round(lastStepFontSize * scale);
}

Test scenario: 

 fo:block font-style=normal font-size=10mmpt
  fo:block font-size=larger font-style=normal
   Text  /fo:block
 /fo:block


  FOP is hang and not able to generate RTF file
 --

 Key: FOP-2341
 URL: https://issues.apache.org/jira/browse/FOP-2341
 Project: Fop
  Issue Type: Bug
  Components: rtf
Affects Versions: 0.95
Reporter: MOHD
Priority: Critical
  Labels: newbie
   Original Estimate: 1m
  Remaining Estimate: 1m

 My local FOP engine is hang when below scenario was occur.
  fo:block font-style=normal font-size=10mmpt role=html:div
 fo:inline baseline-shift=super font-size=smaller 
 role=html:supth/fo:inlineof each month. 
   /fo:block
 Please give some suggestion if any one has solution for this issue.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Comment Edited] (FOP-2341) FOP is hang and not able to generate RTF file

2014-02-10 Thread MOHD (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13896794#comment-13896794
 ] 

MOHD edited comment on FOP-2341 at 2/10/14 5:52 PM:


Looks like issue with font-size. Due to that code are going in infinite loop.
Find below code where infinite loop.occur.
File Name: FontSizePropertyMaker.java


 while (scale  1  nextStepFontSize  baseFontSize  || scale  1  
nextStepFontSize  baseFontSize) {
// baseFontSize is still bigger (if we grow) or smaller (if we 
shrink)
// than the last caculated step
lastStepFontSize = nextStepFontSize;
nextStepFontSize = (int)Math.round(lastStepFontSize * scale);
}

Test scenario: 

 fo:block font-style=normal font-size=10mmpt
  fo:block font-size=larger font-style=normal
   Text  /fo:block
 /fo:block



was (Author: mohd.mohsincse):
Looks like issue with font-size. Due to that code are going in infinite loop.
Find below code where infinite loop.occur.
File Name: FontSizePropertyMaker.java


 while (scale  1  nextStepFontSize  baseFontSize
|| scale  1  nextStepFontSize  baseFontSize) {
// baseFontSize is still bigger (if we grow) or smaller (if we 
shrink)
// than the last caculated step
lastStepFontSize = nextStepFontSize;
nextStepFontSize = (int)Math.round(lastStepFontSize * scale);
}

Test scenario: 

 fo:block font-style=normal font-size=10mmpt
  fo:block font-size=larger font-style=normal
   Text  /fo:block
 /fo:block


  FOP is hang and not able to generate RTF file
 --

 Key: FOP-2341
 URL: https://issues.apache.org/jira/browse/FOP-2341
 Project: Fop
  Issue Type: Bug
  Components: rtf
Affects Versions: 0.95
Reporter: MOHD
Priority: Critical
  Labels: newbie
   Original Estimate: 1m
  Remaining Estimate: 1m

 My local FOP engine is hang when below scenario was occur.
  fo:block font-style=normal font-size=10mmpt role=html:div
 fo:inline baseline-shift=super font-size=smaller 
 role=html:supth/fo:inlineof each month. 
   /fo:block
 Please give some suggestion if any one has solution for this issue.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (FOP-2305) Poor resolution of PCL output in trunk vs. 1.1

2014-02-10 Thread Stefan Gloy (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13896893#comment-13896893
 ] 

Stefan Gloy commented on FOP-2305:
--

Unfortunately this fix defuncts the -dpi option in CommandLineOptions.
We use this as a dynamic zoom factor when rendering fop to png.

 Poor resolution of PCL output in trunk vs. 1.1
 --

 Key: FOP-2305
 URL: https://issues.apache.org/jira/browse/FOP-2305
 Project: Fop
  Issue Type: Bug
Reporter: Luis Bernardo
 Fix For: trunk

 Attachments: hello-1.1.pcl, hello-1.1.pcl.pdf, hello.pcl, 
 hello.pcl.pdf


 There has been a loss in resolution of PCL text output from 1.1 to current 
 trunk. The file sizes produced by trunk are also considerable smaller than 
 they used to be with 1.1.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-10 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 6 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: 25 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/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-20140211.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-l
 
ogging-20140211.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-20140211.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-20140211.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-17.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/xml-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-20140211/batik-slideshow.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/batik-svgpp.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-anim.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-awt-util.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-bridge.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-codec.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-css.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-dom.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-ext.jar:/srv/gump/public/workspace/xml-batik/batik-20140211/lib/batik-extension.jar:/srv/gump/pu