Bug report for Fop [2008/08/10]

2008-08-11 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 1063|New|Nor|2001-03-21|fop does not handle large fo files|
| 3280|New|Nor|2001-08-27|PCL Renderer doesn't work |
| 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   |
| 5010|New|Enh|2001-11-21|Better error reporting needed |
| 5124|New|Maj|2001-11-27|fo:block-container is not rendered properly using |
| 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|
| 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|
| 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 |
| 9379|New|Nor|2002-05-24|MIF Renderer generates incorrect MIF code |
|10379|New|Enh|2002-07-01|Improvement to FOP Classloader|
|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 |
|13586|New|Blk|2002-10-13|fop will not work on linux alpha because jre is br|
|13734|New|Nor|2002-10-17|Hyphenation does not work correctly on long string|
|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  |
|14529|New|Nor|2002-11-13|SVG url references do not work|
|14679|New|Enh|2002-11-19|Pluggable renderers   |
|14924|New|Nor|2002-11-28|Table disappears when it ends when the page ends  |
|15020|New|Enh|2002-12-03|Reuse of fo-tree  |
|16017|Opn|Nor|2003-01-13|Jpeg's and the PDF Serializer |
|16130|New|Nor|2003-01-15|PS-Renderer emits lots of redundant moveto's  |
|16156|New|Nor|2003-01-16|0.20.5rc SVG example does not work|
|16713|New|Nor|2003-02-03|Hyphenation error in tables   |
|17369|New|Nor|2003-02-25|Footnote duplication  |
|17380|New|Nor|2003-02-25|Batik Component will not recognize fe SVG elem|
|17921|New|Nor|2003-03-12|Kerning is broken for standard fonts  |
|18292|New|Nor|2003-03-24|24 bit PNG not displayed correctly|
|18801|New|Nor|2003-04-08|visibility property is not implemented  |
|19228|New|Blk|2003-04-22|[PATCH] Child LayoutContext is null in certain cir|
|19341|Ver|Nor|2003-04-26|leader doesn't work since 0.20.5.rc2  |
|19695|New|Enh|2003-05-06|[PATCH] Allow fox:destination as child of fox:outl|
|19717|New|Enh|2003-05-07|Lets add support for JimiClassesPro.zip to build.x|
|19769|Ass|Enh|2003-05-08|Indefinite page size is not implemented   |
|20280|Ass|Enh|2003-05-27|text-align and text-align-last only partially impl|
|20407|New|Enh|2003-06-02|[PATCH] Configure image caching using the configur|
|20827|New|Enh|2003-06-17|Derive other font styles and weights from normal T|
|21265|Opn|Nor|2003-07-02|referencing a custom font (TTF or Adobe Type 1) fo|
|21905|New|Nor|2003-07-26|large list-item-label bleeds into following block |
|21982|New|Maj|2003-07-30|NullPointer Exception in LazyFont with embedded fo|
|22450|New|Maj|2003-08-15|Unterminated iteration in JPEGReader class|
|22627|Opn|Nor|2003-08-21|Update mirror/download page HEADER  README (was [|
|24148|New|Nor|2003-10-27|Kerning upsets text-align=end   |

DO NOT REPLY [Bug 45599] [FOP] Some entities characters like ell; are not translated in PDF document

2008-08-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45599





--- Comment #2 from Annie Laforgue [EMAIL PROTECTED]  2008-08-11 02:00:10 PST 
---
(In reply to comment #1)

I read http://xmlgraphics.apache.org/fop/faq.html#pdf-characters and puted
fo:inline font-family=Symbol ... in each line as it is explain but it
doesn't work.

Is there an other solution?


 (In reply to comment #0)
  Some entities characters like ell; are not translated in PDF document
 snip / 
  Give # in PDF translation. 
  
  Why? Thanks for your help.
 see: http://xmlgraphics.apache.org/fop/faq.html#pdf-characters


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


DO NOT REPLY [Bug 45606] Abiword cannot open rtf generated document

2008-08-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45606





--- Comment #2 from Pavel Kysilka [EMAIL PROTECTED]  2008-08-11 09:39:40 PST 
---
Working. Abiword now can read document.


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


DO NOT REPLY [Bug 45599] [FOP] Some entities characters like ell; are not translated in PDF document

2008-08-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45599





--- Comment #3 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-08-11 
10:47:58 PST ---
(In reply to comment #2)
 (In reply to comment #1)
 
 I read http://xmlgraphics.apache.org/fop/faq.html#pdf-characters and puted
 fo:inline font-family=Symbol ... in each line as it is explain but it
 doesn't work.

This is because the Symbol font also does not have glyphs for the requested
characters. 
Try a Unicode font, or at least, look for a custom (TrueType or Type-1) font
that is guaranteed to to have those glyphs.


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


DO NOT REPLY [Bug 45616] New: OpenOffice.org display table incorrectly

2008-08-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45616

   Summary: OpenOffice.org display table incorrectly
   Product: Fop
   Version: 0.95
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: rtf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


I have been tracking problem with incorrecty displayed table in rtf format in
openoffice.

This part openoffice openoffice.org display incorrectly (original document).
2 columns are displayed as 1 column.

{\trowd \trpaddt20 \trpaddft3 \clpadt20 \clpadft3 \clbrdrl \ql \cellx5669 \ql
\clpadt20 \clpadft3 \clbrdrr \ql \cellx9637 \ql \intbl \ql {{\fs24 547}
}
\ql \cell \intbl \ql {{\fs24 Jungmannova}
}
\ql \cell \row }

This part openoffice display correctly (edited document - deleted \ql element
before last \cellx element:

{\trowd \trpaddt20 \trpaddft3 \clpadt20 \clpadft3 \clbrdrl \cellx5669 \clpadt20
\clpadft3 \clbrdrr \cellx9637 \ql \intbl \ql {{\fs24 Soucek Kamil}
}
\ql \cell \intbl \ql {{\fs24 organizacní slozka }
}
\ql \cell \row }


There is simple and ugly patch for simulating current problem.

### Eclipse Workspace Patch 1.0
#P apache-fop
Index: src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java
===
--- src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java 
(revision 684771)
+++ src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java 
(working copy)
@@ -256,6 +256,8 @@

 //these lines added by Chris Scott, Westinghouse
 //some attributes need to be writting before opening block
+
+/*
 if (setCenter) {
 writeControlWord(qc);
 } else if (setRight) {
@@ -263,12 +265,13 @@
 } else {
 writeControlWord(ql);
 }
+*/
 writeAttributes (attrib, ITableAttributes.CELL_VERT_ALIGN);

 writeControlWord(cellx + xPos);

 //TODO Why is this here, right after an alignment command is written
(see above)?
-writeControlWord(ql);
+   /*writeControlWord(ql);*/

 return xPos;

Index: src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableRow.java
===
--- src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableRow.java  
(revision 684771)
+++ src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableRow.java  
(working copy)
@@ -265,10 +265,11 @@

 // write cell's definition
 xPos = rtfcell.writeCellDef(xPos);
+
 }
   index++; // Added by Boris POUDEROUS on 2002/07/02
 }
-
+writeControlWord(ql); // TEST-CASE
 newLine();
 }


Question: is there bug in OpenOffice.org rtf parser or bug in rtf generator
(rtf 
specification implementation ?)

TestCase:
- create rtf document with table with 2 columns at least in row.
- create rtf document with and without patch
- open document with openoffice.org (2.4 or 3.x version)
- compare output - tables


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