Bug report for Fop [2007/09/16]

2007-09-17 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 1063|New|Nor|2001-03-21|fop does not handle large fo files|
| 2909|New|Maj|2001-07-30|Gradient render error |
| 2988|New|Maj|2001-08-03|0.19: list-item-label does not stick to list-item-|
| 3280|New|Nor|2001-08-27|PCL Renderer doesn't work |
| 3497|New|Cri|2001-09-07|id already exists error when using span=all attr|
| 3824|New|Blk|2001-09-25|MIF option with tables|
| 4030|New|Nor|2001-10-08|IOException creating Postscript with graphics on S|
| 4535|New|Maj|2001-10-31|PCL renderer 1.13 not rendering SVG   |
| 4767|New|Nor|2001-11-09|SVG text is distored in PDF output|
| 5010|New|Enh|2001-11-21|Better error reporting needed |
| 5124|New|Maj|2001-11-27|fo:block-container is not rendered properly using |
| 6237|Opn|Nor|2002-02-05|#xFB01 (fi ligature) produces a sharp? |
| 6305|New|Nor|2002-02-07|Using fo:table-and-caption results in empty output|
| 6427|New|Enh|2002-02-13|Adding additional Type 1 fonts problem|
| 6437|New|Maj|2002-02-13|Tables without fo:table-column don't render   |
| 6483|New|Nor|2002-02-15|Table, Loop, footer could not fit on page, moving|
| 6997|New|Nor|2002-03-09|[PATCH] Row-spanned row data breaks over a page wi|
| 7241|New|Nor|2002-03-19|keep-with-previous, keep-with-next only working on|
| 7283|New|Nor|2002-03-20|Table border misaligned when using margin-left in |
| 7337|New|Nor|2002-03-21|border around external image leaves empty space   |
| 7487|New|Nor|2002-03-26|break-before=page for table inserts empty page  |
| 7496|New|Nor|2002-03-26|The table header borders are not adjusted to the b|
| 7525|New|Cri|2002-03-27|table with spans inside a list-block  |
| 7919|New|Cri|2002-04-10|problem to use attribute linefeed-treatment and li|
| 8003|Ass|Maj|2002-04-12|FopImageFactory never releases cached images  |
| 8463|New|Nor|2002-04-24|SVG clipping in external.fo example doc when rende|
| 8767|Ass|Min|2002-05-03|Image and solid colour background rectangle sizes |
| 8819|New|Nor|2002-05-06|Footnotes lost|
| 9054|Opn|Maj|2002-05-14|PDF Tc Text operator BUG  |
| 9379|New|Nor|2002-05-24|MIF Renderer generates incorrect MIF code |
| 9569|New|Maj|2002-06-03|break does not work on block-container|
| 9864|New|Nor|2002-06-14|fo:list-item-label at the end of line |
| 9885|New|Nor|2002-06-14|link in pdf to another pdf through url doesn't wor|
|10379|New|Enh|2002-07-01|Improvement to FOP Classloader|
|11032|New|Min|2002-07-22|Height of table-cell is calculated incorrect when |
|11783|New|Maj|2002-08-16|fo:block background-color=xtext/fo:block gen|
|12262|New|Min|2002-09-03|Lacking detection of endless loops|
|12300|New|Nor|2002-09-04|letter-spacing problem on sequencing pages|
|12448|New|Nor|2002-09-09|Height of lines set by line-height are too short. |
|12494|New|Nor|2002-09-10|fop produces pdf file which Acrobat Reader refuses|
|12610|New|Enh|2002-09-13|[PATCH] onLoad Action for PDF documents or how to |
|13450|New|Cri|2002-10-09|FOP0.20.4 embedded rendering throws exception |
|13464|Opn|Nor|2002-10-09|part of word missing when broken across pages |
|13586|New|Blk|2002-10-13|fop will not work on linux alpha because jre is br|
|13592|New|Nor|2002-10-14|Converting a FO document with PNG images into PS  |
|13734|New|Nor|2002-10-17|Hyphenation does not work correctly on long string|
|13807|New|Nor|2002-10-21|list-block in table-cell  |
|14248|New|Enh|2002-11-05|51-page FO example, could be added to the samples |
|14352|New|Enh|2002-11-07|It would be nice if FOP could be plugged into popu|
|14356|New|Nor|2002-11-07|*NOT* embedding TrueTypeFont in PDF causes Acrobat|
|14419|New|Enh|2002-11-10|Implement SourceResolver, Image Resolver  |

DO NOT REPLY [Bug 43405] New: - fo:table-row not rendered when cells begin with an empty block

2007-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=43405.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43405

   Summary: fo:table-row not rendered when cells begin with an empty
block
   Product: Fop
   Version: 1.0dev
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: page-master/layout
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


In a fo:table without border, fo:table-row are not displayed when each
fo:table-cell content begins with an empty fo:block.

Here is a snippet that demonstrates this bug:

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
  fo:layout-master-set
fo:simple-page-master master-name=content
  fo:region-body/
/fo:simple-page-master
  /fo:layout-master-set

  fo:page-sequence master-reference=content
fo:flow flow-name=xsl-region-body
  fo:blockbefore table/fo:block
   fo:table table-layout=fixed width=100%
fo:table-column column-width=proportional-column-width(1)/
fo:table-body
  fo:table-row
fo:table-cell
  fo:block/
  fo:blockLorem Ipsum./fo:block
/fo:table-cell
  /fo:table-row
/fo:table-body
  /fo:table
  fo:blockafter table/fo:block
/fo:flow
  /fo:page-sequence
/fo:root

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


Re: Checking: difference between negative stretch and positive shrink?

2007-09-17 Thread Luca Furini

Andreas L Delmelle wrote:

Just wondering about some KnuthSequences for spaces I noticed during 
a debug-session:


glue w=0 stretch=10008 shrink=0
penalty w=0 p=0
glue w=3336 stretch=-10008 shrink=0

What does it mean that the latter glue can be stretched by a negative 
amount?

Why not:
glue w=3336 stretch=0 shrink=10008

Is there a difference as to how the algorithm treats these?


Negative stretch is not the same as a positive shrink (and vice-versa): a 
negative stretch is used to cancel (or diminish) a positive one provided 
by some other elements: for each possible break point, however, the 
overall stretch / shrink should always be = 0.


The meaning of the mini-sequence above is:
- if there is a break at the penalty element, there is some stretch for
  the line ending there
- otherwise, the overall stretch is zero

This is with unjustified text to give each line the same amount of 
stretch, so that the algorithm should build lines with similar length 
(while in justified text a line with many spaces and few letters could be 
stretched a lot).


HTH

Luca




Re: Checking: difference between negative stretch and positive shrink?

2007-09-17 Thread Andreas L Delmelle

On Sep 17, 2007, at 14:17, Luca Furini wrote:


Andreas L Delmelle wrote:

Just wondering about some KnuthSequences for spaces I noticed  
during a debug-session:

snip /


Negative stretch is not the same as a positive shrink (and vice- 
versa): a negative stretch is used to cancel (or diminish) a  
positive one provided by some other elements: for each possible  
break point, however, the overall stretch / shrink should always be  
= 0.


The meaning of the mini-sequence above is:
- if there is a break at the penalty element, there is some stretch  
for

  the line ending there
- otherwise, the overall stretch is zero

This is with unjustified text to give each line the same amount of  
stretch, so that the algorithm should build lines with similar  
length (while in justified text a line with many spaces and few  
letters could be stretched a lot).


HTH


It did. Thanks for the quick explanation.

Cheers

Andreas