Bug 585115

Summary: Internal PDF table borders not the same weight as external borders.
Product: [Community] Publican Reporter: Jared MORGAN <jmorgan>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: dmison, jfearn, mmcallis, mmurray, nb, publican-list, r.landmann
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: publican-1.6.3-0.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-17 14:57:19 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
Screenshot of the PDF table with feint internal borders
none
HTML Single output of the table with no internal borders
none
The XML code for the table that appears in the screenshots. none

Description Jared MORGAN 2010-04-23 03:12:21 EDT
Created attachment 408514 [details]
Screenshot of the PDF table with feint internal borders

Description of problem:

In PDF docs, tables do not have internal row and column separators that are the same line weight as the external borders.

In HTML, the internal row and column separators are missing entirely.


Version-Release number of selected component (if applicable):

Publican version 1.6.2


How reproducible:

Consistently, across the JBoss and Common brands.  Other brands not tested.

Steps to Reproduce:
1. Create a table using the attached XML syntax (to make it easy), and publish to PDF and HTML.
2. Analyze the output.
  
Actual results:

PDF tables have a different line weight to the external border (the "frame" attribute).

HTML tables have a frame, but no internal borders.

Expected results:

The PDF tables have the same line weight for all borders.

The HTML tables have internal borders that use the same line weight as the frames.

Additional info:

Spoke with rudi, and he seemed to think this problem was raised in another ticket for one of the brands. However it may not have been implemented in the other brands.
Comment 1 Jared MORGAN 2010-04-23 03:13:06 EDT
Created attachment 408515 [details]
HTML Single output of the table with no internal borders
Comment 2 Jared MORGAN 2010-04-23 03:15:10 EDT
Created attachment 408518 [details]
The XML code for the table that appears in the screenshots.
Comment 4 Jeff Fearn 2010-04-27 01:09:05 EDT
The difference in the PDF borders is a matter of taste, and they look fine to me.

The HTML renders properly for me, i.e. you can see the cell borders, using both publican-jboss and the default brand.
Comment 5 Jared MORGAN 2010-04-27 01:55:50 EDT
(In reply to comment #4)
> The difference in the PDF borders is a matter of taste, and they look fine to
> me.
> 
> The HTML renders properly for me, i.e. you can see the cell borders, using both
> publican-jboss and the default brand.   

Hmm, it seems that Chromium might be to blame here Jeff. I've opened up the same file in Firefox, and the borders are there.  They are also all the same line weight.  

I can confirm that the HTML output seems to be "fixed" as long as you don't use Google Chrome for Linux.  Any ideas as to why Chromium might be interpreting the CSS differently?  If so, I can raise a bug directly with chrome to see if I can get the issue fixed with them.

From a consistency perspective, wouldn't it make sense to have tables in PDF and HTML outputs rendering largely the same?

The lighter table internal borders vary throughout the table in the PDF, and the bottom table border seems to be an inconsistent line weight/colour compared to the other outside edges?
Comment 6 Ruediger Landmann 2010-04-27 02:18:54 EDT
(collision) The output in both formats seems to vary considerably depending on the web browser and PDF viewer in question.

HTML -- internal borders are visible in Firefox and Dillo, but are missing in
Chromium, Konqueror, and Internet Explorer 6.

PDF -- I can't see a difference in weight between internal and external borders
in Okular, XPDF, or Adobe Reader unless I zoom in greater than about 300%;
while in Evince I see the same, large difference in weights as in the
screenshot that Jared attached.
Comment 7 Jeff Fearn 2010-04-27 02:23:30 EDT
Added a tweak to the CSS for webkit browsers, upped PDF cell border width to
match table border.
Comment 8 Darrin Mison 2010-04-27 02:42:40 EDT
Just confirming that the reported behaviour of no internal borders also manifests on IE8 on Win7 and Safari 4.0.5 on OSX 10.6.3

The internal borders are visible in Firefox 3.5.8 on OSX 

My 2 cents: I'd prefer the internal borders be very slightly fainter than the external ones.
Comment 9 Ruediger Landmann 2010-05-06 01:15:04 EDT
internal borders not visible in Konqueror or Chromium in table built with version 1.6.3.t122
Comment 10 Ruediger Landmann 2010-05-06 01:49:38 EDT
Internal borders visible in Konqueror and Chromium in table built with version 1.6.3.t150

Internal and external borders appear of similar weight in Evince.
Comment 11 Fedora Update System 2010-05-13 18:21:07 EDT
publican-1.6.3-0.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13
Comment 12 Fedora Update System 2010-05-13 18:22:22 EDT
publican-1.6.3-0.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12
Comment 13 Fedora Update System 2010-05-15 16:36:47 EDT
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update publican'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12
Comment 14 Fedora Update System 2010-05-15 16:45:59 EDT
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update publican'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13
Comment 15 Fedora Update System 2010-05-17 14:56:04 EDT
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 16 Fedora Update System 2010-05-17 14:59:55 EDT
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.