google-code-export / fop-miniscribus

Automatically exported from code.google.com/p/fop-miniscribus
3 stars 0 forks source link

XSL-FO Table cell unit or % crash #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open /sample/basic/tableunits.fo

On MiniScribus 2

What is the expected output? What do you see instead?
ASSERT failure in QVector<T>::insert: "index out of range", file
/usr/include/qt4/QtCore/qvector.h, line 335

Open some xsl-fo table having invalid column mm unit or %

Original issue reported on code.google.com by ppk...@gmail.com on 31 Aug 2008 at 12:02

GoogleCodeExporter commented 9 years ago

this is the xsl-fo code to crash appication
column-width is 0 and it can not draw

<fo:table-column column-width="(4.5in - 2cm) div 3 +1in" 
background-color="yellow"/>
        <fo:table-column column-width="(4.5in - 2cm) div 3 + 0.5in"
background-color="blue"/>
        <fo:table-column column-width="(4.5in - 2cm) div 3 + 2.0cm"
background-color="green"/>

Original comment by ppk...@gmail.com on 1 Sep 2008 at 9:03