[jira] [Updated] (FOP-2341) Infinite loop when smaller used with a zero length font-size

2014-02-12 Thread Robert Meyer (JIRA)

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

Robert Meyer updated FOP-2341:
--

Attachment: patch.diff

I've uploaded a patch of a potential fix. It simply ensures that the previous 
step font size is not the same as the current to prevent it endlessly cycling. 
Alternatively I think this check could be placed in the while(..) definition. 
I've tested it and it seems to work fine.

 Infinite loop when smaller used with a zero length font-size 
 ---

 Key: FOP-2341
 URL: https://issues.apache.org/jira/browse/FOP-2341
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 0.95, trunk
Reporter: MOHD
Priority: Critical
  Labels: font-size, infinite-loop, smaller
 Attachments: _test.fo, patch.diff

   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] [Updated] (FOP-2341) Infinite loop when smaller used with a zero length font-size

2014-02-11 Thread Pascal Sancho (JIRA)

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

Pascal Sancho updated FOP-2341:
---

Summary: Infinite loop when smaller used with a zero length font-size   
(was: Infinite loop when smaller used after error on inherited font-size)

 Infinite loop when smaller used with a zero length font-size 
 ---

 Key: FOP-2341
 URL: https://issues.apache.org/jira/browse/FOP-2341
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 0.95, trunk
Reporter: MOHD
Priority: Critical
  Labels: font-size, infinite-loop, smaller
 Attachments: _test.fo

   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)