• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

apache.xml.fop: border-width property does not work 100% predictable

 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have tried to build a table in a pdf document with lots of
<fo:table-cell border-top-style="solid" border-top-width="0.5pt" border-top-color="#000000">
I am using fop-0.20.5rc.
The lines does not have the same width in the pdf-document, though they have in the fo-markup.
Does not look nice
My workaround was to assign a #EEEEEE background for even lines and #ffffff for uneven lines ;) . With white border-color nobody sees that its not rendered 100% correctly.
Anyone has another workaround?
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Couldn't able to understand your problem correctly escp this line
"" The lines does not have the same width in the pdf-document, though they have in the fo-markup. ""
Can you be more specific on whats the actual problem you are facing !.
Your code should actually produce a black border of width 0.5pt of lenght defined by your "fo:table-column column-width"
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic