From lists at murrell.ca Sat Jul 30 22:38:09 2016 From: lists at murrell.ca (Alan Murrell) Date: Sat, 30 Jul 2016 15:38:09 -0700 Subject: [publican-list] Fedora: Brand not honoured in PDF Message-ID: <20160730153809.771374159w664ds8@10.215.1.9> Hello, I am running Fedora 24, but I had this same issue in Fedora 23. I installed Publican from the repositories. When I build a document in PDF format, no matter what brand I select, the resulting PDF has no brand formatting or any images of any kind. If I build the same document in either HTML format, the resulting document is correct as far as the brand goes (including images) Here is the output during the build of the PDF: --- START --- Beginning work on en-US DTD Validation OK Starting pdf Using XML::LibXSLT on /usr/share/publican/Common_Content/fedora/xsl/pdf.xsl Making portrait pages on USletter paper (8.5inx11in) Jul 30, 2016 3:18:31 PM org.apache.fop.apps.FopConfParser configure INFO: Default page-height set to: 240mm Jul 30, 2016 3:18:31 PM org.apache.fop.apps.FopConfParser configure INFO: Default page-width set to: 120mm Jul 30, 2016 3:18:33 PM org.apache.fop.apps.FOUserAgent processEvent SEVERE: Image not found. URI: Common_Content/images/title_logo.svg. (See position 3:185) Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent SEVERE: Image not found. URI: Common_Content/images/title_logo.svg. (See position 6:185) Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". Jul 30, 2016 3:18:34 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern for lang="en". Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #1. Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #2. Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent WARNING: The contents of fo:block line 1 exceed the available area in the inline-progression direction by 12000 millipoints. (See position 69:67) Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent WARNING: The contents of fo:block line 1 exceed the available area in the inline-progression direction by 6000 millipoints. (See position 73:36) Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #3. Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #4. Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #5. Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #6. Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent INFO: table-layout="fixed" and width="auto", but auto-layout not supported => assuming width="100%". (See position 129:114) Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent WARNING: The contents of fo:inline line 3 exceed the available area in the inline-progression direction by more than 50 points. (See position 129:771) Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #7. Jul 30, 2016 3:18:36 PM org.apache.fop.fo.properties.PropertyMaker make WARNING: span="inherit" on fo:block, but no explicit value found on the parent FO. Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #8. Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent INFO: Rendered page #9. Finished pdf --- END --- Am I able to fix this? Perhaps an entry in my document's 'publican.cfg' file? If I build the same document in format PDF on a CentOS 7 machine, it builds as expected, so this is something odd with the Fedora build of Publican, which seems kind of odd, since all the Fedora documentation seems to be created using Publican. Thanks! :-) Regards, Alan From erich.steinboeck at gmail.com Sun Jul 31 09:39:38 2016 From: erich.steinboeck at gmail.com (=?UTF-8?Q?Erich_Steinb=C3=B6ck?=) Date: Sun, 31 Jul 2016 11:39:38 +0200 Subject: [publican-list] Fedora: Brand not honoured in PDF In-Reply-To: <20160730153809.771374159w664ds8@10.215.1.9> References: <20160730153809.771374159w664ds8@10.215.1.9> Message-ID: I'm having the same problem on Ubuntu 16.04 brand isn't honored, none of the images are found during formatting, the final PDF is in a dull default font. Any ideas how to debug this issue? Thanks .. Erich On Sun, Jul 31, 2016 at 12:38 AM, Alan Murrell wrote: > Hello, > > I am running Fedora 24, but I had this same issue in Fedora 23. I > installed Publican from the repositories. When I build a document in PDF > format, no matter what brand I select, the resulting PDF has no brand > formatting or any images of any kind. > > If I build the same document in either HTML format, the resulting document > is correct as far as the brand goes (including images) > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jfearn at redhat.com Sun Jul 31 22:56:57 2016 From: jfearn at redhat.com (Jeff Fearn) Date: Mon, 1 Aug 2016 08:56:57 +1000 Subject: [publican-list] Fedora: Brand not honoured in PDF In-Reply-To: References: <20160730153809.771374159w664ds8@10.215.1.9> Message-ID: <5c481a5d-1d83-6962-a32f-2e28fb8b6ada@redhat.com> This is because publican dropped support for FOP a couple of years back, and deprecated it quite a few years before that. Some brands never updated to use wkhtmltopdf or to update their pdf.xsl to include all the customization dropped from publican. You will need to talk to the brand maintainers to updated their brands to either carry the dropped XSL of to include a wkhtmltopdf compatible brand. https://bugzilla.redhat.com/show_bug.cgi?id=1168765 FYI the fedora docs infra still uses an ancient version of publican, which is why they have FOP support without updating their pdf.xsl, but out of date branding. FWIW I did try and get the tool chain and site updated, but failed :( https://lists.fedoraproject.org/archives/list/docs at lists.fedoraproject.org/thread/STXBZUNKUSDDJWRV4UYTIT53RVPJANBY/#KM62HNT2VMZHPAAMFASJ4S6N2VONFOH7 On 31/07/16 19:39, Erich Steinb?ck wrote: > I'm having the same problem on Ubuntu 16.04 > brand isn't honored, none of the images are found during formatting, the > final PDF is in a dull default font. > > Any ideas how to debug this issue? > > Thanks .. Erich > > > On Sun, Jul 31, 2016 at 12:38 AM, Alan Murrell wrote: > >> Hello, >> >> I am running Fedora 24, but I had this same issue in Fedora 23. I >> installed Publican from the repositories. When I build a document in PDF >> format, no matter what brand I select, the resulting PDF has no brand >> formatting or any images of any kind. >> >> If I build the same document in either HTML format, the resulting document >> is correct as far as the brand goes (including images) >> > > > > _______________________________________________ > publican-list mailing list > publican-list at redhat.com > https://www.redhat.com/mailman/listinfo/publican-list > Wiki: https://fedorahosted.org/publican > -- Jeff Fearn Senior Software Engineer PnT - DevOps - Development Red Hat Asia Pacific Pty Ltd http://dilbert.com/fast/2004-08-17/ PGP Fingerprint: B61A DC52 3E0E B17C 94D7 945C BB37 478C F119 9BCA