Re: fo:table border thickness

2007-12-14 Thread Jerven Bolleman
Dear Fop Users and Developers,

First of all, thank you for all your effort in providing fantastic
software that really helps people.

I am having similar problem as the original writer.

Unfortunately, we were migrating from Fop 0.20.5 to 0.9*. And one of
our major reports is no longer working the way we expected.

Basically lines sometimes disappear between colored (gray)
table-cells. This did not happen when using fop 0.20 to generate the
pdf.
While the observation is true that the lines have the correct width
(seen once zooming in or printing), they are no longer drawn by adobe
acrobat.

I can send the xslt on request as they are 143 pages of style sheet.
But I have a minimal sample. Attached, if there is interest in the
resulting
pdf's in 0.20 and 0.94 then I am happy to provide them.

The workaround using border-collapse=separate provides even more
problems in adobe.

The specific version is 0.94 for FOP and 7.0.8 for acrobat reader on
Windows. Although it also occurs with the free Sumatra gpl viewer.

Does anyone have any ideas?

Jerven


-- 
Jerven Bolleman
[EMAIL PROTECTED]
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
  fo:layout-master-set
fo:simple-page-master master-name=default-page page-height=29.6cm
   page-width=21cm margin-left=30mm
   margin-right=5mm margin-top=15mm
   margin-bottom=15mm
  fo:region-body margin-top=2mm margin-bottom=2mm/
/fo:simple-page-master
  /fo:layout-master-set
  fo:page-sequence master-reference=default-page initial-page-number=1
format=1
!-- DOCUMENT CONTENT --
fo:flow flow-name=xsl-region-body
  fo:table border-width=0.2mm border-top-style=solid
border-collapse=collapse table-layout=fixed width=100%
fo:table-column column-width=60mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=4.5mm/
fo:table-column column-width=18mm/
fo:table-body
  fo:table-row
fo:table-cell padding=1mm padding-left=0mm
border-bottom-style=solid border-top-style=solid
border-width=0.2mm
  fo:block12. Where are the lines/fo:block
/fo:table-cell
fo:table-cell border-end-width=0.2mm border-start-width=0.2mm
border-after-width=0.2mm border-before-width=0.2mm
padding=1mm padding-left=0mm text-align=center
border=solid black 0.2mm number-columns-spanned=2
background-color=#cc
  fo:block/
/fo:table-cell
fo:table-cell border-end-width=0.2mm border-start-width=0.2mm
border-after-width=0.2mm border-before-width=0.2mm
padding=1mm padding-left=0mm text-align=center
border=solid black 0.2mm number-columns-spanned=2
background-color=#cc
  fo:block/
/fo:table-cell
fo:table-cell border-end-width=0.2mm border-start-width=0.2mm
border-after-width=0.2mm border-before-width=0.2mm
padding=1mm padding-left=0mm text-align=center
border=solid black 0.2mm number-columns-spanned=2
background-color=#cc
  fo:block/
/fo:table-cell
fo:table-cell border-end-width=0.2mm border-start-width=0.2mm
border-after-width=0.2mm border-before-width=0.2mm
padding=1mm padding-left=0mm text-align=center
border=solid black 0.2mm number-columns-spanned=2
background-color=#cc
  fo:block/
/fo:table-cell
fo:table-cell border-end-width=0.2mm border-start-width=0.2mm
border-after-width=0.2mm border-before-width=0.2mm
padding=1mm padding-left=0mm text-align=center
border=solid black 0.2mm number-columns-spanned=2
background-color=#cc
  fo:block/
/fo:table-cell
fo:table-cell 

Re: Error during make Open Type Font metric

2007-12-14 Thread Jeremias Maerki
As the exception suggests, the font probably contains CFF glyphs which
are not supported by FOP, yet. You'll have to get a different font.


On 14.12.2007 13:11:11 Miroslav Pukhalsky wrote:
 Hi,
 
 I try to make font metric for Open Type font Helvetica LT Standard Black
 When I type the next command:
 
 java org.apache.fop.fonts.apps.TTFReader -enc ansi 
 HelveticaLTStd-Blk.otf HelveticaLTStd-Blk.xml
 
 I have got the next error:
 Parsing font...
 Reading HelveticaLTStd-Blk.otf...
 Number of glyphs in font: 253
 Dirtab loca not found.
 Error while building XML font metrics file.
 java.io.IOException: 'loca' table not found, happens when the font file 
 doesn't contain TrueType outlines (trying to read an OpenType CFF font 
 maybe?)
 
 Do I something wrong? I use FOP 0.93.
 
 Regards,
 
 Miroslav.



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Error during make Open Type Font metric

2007-12-14 Thread Miroslav Pukhalsky

Hi,

I try to make font metric for Open Type font Helvetica LT Standard Black
When I type the next command:

java org.apache.fop.fonts.apps.TTFReader -enc ansi 
HelveticaLTStd-Blk.otf HelveticaLTStd-Blk.xml


I have got the next error:
Parsing font...
Reading HelveticaLTStd-Blk.otf...
Number of glyphs in font: 253
Dirtab loca not found.
Error while building XML font metrics file.
java.io.IOException: 'loca' table not found, happens when the font file 
doesn't contain TrueType outlines (trying to read an OpenType CFF font 
maybe?)


Do I something wrong? I use FOP 0.93.

Regards,

Miroslav.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Table splitting

2007-12-14 Thread Sylvain Ferlac

Hi,

I'm searching the way to split a looong table cell across two pages (I 
use FOP to generate a PDF from a dynamically generated .fo file) .


Something like this (not sure what it'll look like...) :

PAGE 1
---
|||
-|-
|||
-|-
|||
-|   MY   |
||   LOOONG   |
-|   ...  |
 PAGE BREAK

PAGE 2

||   ...  |
-|   CELL |
|||
-||
|||
-||
|||
-|-

I made some tests but couldn't achieve this : the page break occurs just 
before the long cell, even if it's far before the bottom margin...


Is it possible (and how can i make it) ?
(We use FOP 0.20.5 (due to Debian stable...))

Thank you,

Sylvain

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: fo:table border thickness

2007-12-14 Thread Pascal Sancho
Hi,

After some checks, this happens because cells borders are drawn before cells 
background.
As a workaround, you can use the background-color property on deeper table 
element (from fo:table to fo:table-row).

HTH,

Pascal

 -Message d'origine-
 De : Jerven Bolleman [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 14 décembre 2007 16:23
 À : fop-users@xmlgraphics.apache.org
 Objet : Re: fo:table border thickness
 
 Dear Fop Users and Developers,
 
 First of all, thank you for all your effort in providing fantastic
 software that really helps people.
 
 I am having similar problem as the original writer.
 
 Unfortunately, we were migrating from Fop 0.20.5 to 0.9*. And one of
 our major reports is no longer working the way we expected.
 
 Basically lines sometimes disappear between colored (gray)
 table-cells. This did not happen when using fop 0.20 to generate the
 pdf.
 While the observation is true that the lines have the correct width
 (seen once zooming in or printing), they are no longer drawn by adobe
 acrobat.
 
 I can send the xslt on request as they are 143 pages of style sheet.
 But I have a minimal sample. Attached, if there is interest in the
 resulting
 pdf's in 0.20 and 0.94 then I am happy to provide them.
 
 The workaround using border-collapse=separate provides even more
 problems in adobe.
 
 The specific version is 0.94 for FOP and 7.0.8 for acrobat reader on
 Windows. Although it also occurs with the free Sumatra gpl viewer.
 
 Does anyone have any ideas?
 
 Jerven
 
 
 -- 
 Jerven Bolleman
 [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]