Release: 0.12.5

744 views
Skip to first unread message

Ashish Kulkarni

unread,
Jun 12, 2018, 4:24:11 AM6/12/18
to wkhtmltop...@googlegroups.com
Hello,

I've just released 0.12.5 after a long hiatus. This release is dedicated to my elder brother Amit, who was born on that day -- changes since 0.12.4 are as follows:
fixed build without patched Qt and integrate with Travis CI and AppVeyor
  • #1524: [qt] partial fix for overlapping text when repeating headers/footers in table (qt#29)
  • #1914: [qt] rotated elements not rendered on thead on second page and beyond
  • #1870: fixed sending of duplicate cookies (#3257)
  • #2609: add viewportSize property to C API (#3440)
  • #2711: fix differences between "counting" and "printing" phases (causing crashes/blank pages)
  • #3001: fix static builds not working with updated OpenSSL
  • #3090: added support for SSL client certificates (#3206)
  • #3241: fix for DPI regression on OS X (#3386)
  • #3363: added error message for network errors related to non-media files
  • #3364: new option verbosity to allow different log levels in both CLI and API
  • #3476: fix application name in libwkhtmltox (#3878)
  • #3672: [qt] fix broken PDF with fonts having spaces in name (qt#38)
  • #3680: [qt] fix build on macOS 10.13
  • #3900: [qt] properly encode URLs with unicode characters in links
  • add outlineDepth property to C API (#3291)
  • add wkhtmltoimage_destroy_global_settings method to C API (#3324)
  • switch to self-hosted website and downloads as gna.org is shutting down (#3390)
  • fix conversion of read-only form fields (#3550)
  • flush stderr to allow reading progress updates (#3583)
  • fix handling of errors for media URLs with query string (#3593)
  • add setting to perform hostname lookup via proxy (#3628)
  • correctly pass --copies to underlying QPrinter (#3747)
  • minor documentation updates and fixing compiler warnings
  • add various Qt patches to support OpenSSL 1.1 and latest MinGW/macOS environments
It includes a complete revamp of the build system, which is now totally decoupled from the release schedule into a new repository (wkhtmltopdf/packaging). It also uses docker and vagrant to create a known environment in which to perform builds, instead of ad-hoc building on my local machine. It also opens up the door for people to contribute to porting of new OS/distro combinations, even after a release has been made.

This approach has proved its value immediately: I made an mistake in using ~ as part of the version for denoting the platform. When uploading to the 0.12.5 release, I discovered that Github doesn't support ~ in the filename and replaces it with . -- hence wkhtmltopdf/packaging@e4c51df fixes that and re-did the build to generate it as per new format -- without changing the main repository.

I'm now going to start on the 0.13 series with updated Qt/WebKit.

Thanks,
Ashish

eric w

unread,
Jun 12, 2018, 8:09:20 AM6/12/18
to wkhtmltop...@googlegroups.com
Ashish,
This is a huge update, thank your for your efforts. 

--
===================================================
You received this message because you are subscribed to the "wkhtmltopdf General" group.
To post to this group, send email to wkhtmltop...@googlegroups.com
To unsubscribe from this group, send email to wkhtmltopdf-gen...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/wkhtmltopdf-general?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "wkhtmltopdf General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wkhtmltopdf-gen...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yozons eSignForms

unread,
Jun 12, 2018, 6:13:53 PM6/12/18
to wkhtmltopdf General
Thanks, Ashish.  Is there any plan for a generic Linux tar (previously we used linux-generic-amd64.tar.xz)?  We like them because we generally keep various versions installed rather than having to rely on RPMs.

Ashish Kulkarni

unread,
Jun 13, 2018, 2:28:00 AM6/13/18
to wkhtmltop...@googlegroups.com
To get them to work across distro versions would require static linkage to OpenSSL, see #3001 on how things broke for newer distros. Although the new packaging approach means I can release an updated build (0.12.5-2 and so on), I doubt many people would be doing an upgrade. It seems better to use distro-provided OpenSSL ... you can always extract the executables from the .rpm or .deb and use them, but then you obviously know what you're doing.

mwra

unread,
Jun 15, 2018, 11:15:43 AM6/15/18
to wkhtmltopdf General
Many thanks for this.  font issues now seem fixed.  Oddly, my TOC is now gone - using the same command line as previously. The TOC shows up when viewing the output PDF in Preview's sidebar, but it is missing from the document. In previous versions the TOC was added to the document.  My command line is:

wkhtmltopdf --page-size "A4" --footer-spacing 4 --print-media-type --footer-center "[page] of [topage]" --footer-font-name "Helvetica Neue" --footer-font-size 11 --footer-line --footer-spacing 5 --header-spacing 5 --header-line --header-center "Manual" --header-font-name "Helvetica Neue" --enable-toc-back-links toc --toc-header-text "Manual - Table of Contents" --toc-text-size-shrink 1 --toc-level-indentation 4em "print-export-source-proc.html" "Manual.pdf"

in 0.12.3 and 0.12.4 this gave an inline ToC in the main text.

Have the commands for adding a ToC changed - the documentation doesn't suggest so. The odd thing is the Toc seems to be 'in' the PDF but no longer in the visible part of the text.

Regards

Mark Anderson


On Tuesday, June 12, 2018 at 9:24:11 AM UTC+1, Ashish Kulkarni wrote:
Hello,

I've just released 0.12.5 after a long hiatus. This release is dedicated to my elder brother Amit, who was born on that day -- changes since 0.12.4 are as follows:
fixed build without patched Qt and integrate with Travis CI and AppVeyor
  • ....

Thanks,
Ashish

Ashish Kulkarni

unread,
Jun 15, 2018, 11:19:21 AM6/15/18
to wkhtmltop...@googlegroups.com
That's a known regression, see issue #3953 at Github. A 0.12.6 release will be required, wish more people had tested the -rc.

mwra

unread,
Jun 15, 2018, 11:36:12 AM6/15/18
to wkhtmltopdf General
Thanks for the prompt follow up.  Sadly not in the position to test RCs, though point taken! So is 0.12.6 months, year away?

Regards

Mark

Ashish Kulkarni

unread,
Jun 15, 2018, 12:49:17 PM6/15/18
to wkhtmltop...@googlegroups.com
I'd prefer to target latest by end of this month for a rc, and final release a week later.

Velmuralikumar Rajendran

unread,
Jun 15, 2018, 2:56:22 PM6/15/18
to wkhtmltop...@googlegroups.com
Hi all,

I am using one cover image html in wkhtmltopdf-0.11.0 it was generated as pdf in full page but in 12.5 it is not generated in full page

style="height:1070px;width:770px;border:1px solid transparent;display: inline-block;max-width: 100%;"

please suggest how to generate the pdf like 0.11.0?

--
===================================================
You received this message because you are subscribed to the "wkhtmltopdf General" group.
To post to this group, send email to wkhtmltopdf-general@googlegroups.com
To unsubscribe from this group, send email to wkhtmltopdf-general+unsub...@googlegroups.com

 
For more options, visit this group at
http://groups.google.com/group/wkhtmltopdf-general?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "wkhtmltopdf General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wkhtmltopdf-general+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
with regards,
Murali

Heiko J

unread,
Jun 22, 2018, 5:37:42 AM6/22/18
to wkhtmltopdf General
Ashish,

Am Dienstag, 12. Juni 2018 10:24:11 UTC+2 schrieb Ashish Kulkarni:

I've just released 0.12.5 after a long hiatus.

thanks for your continuing effort!
 
I'm now going to start on the 0.13 series with updated Qt/WebKit.

I was able to build binaries for v0.12.5 using my local installation of openSUSE's Open Build Service. wkhtmltopdf was successfully build against / linked to the unpatched Qt5 packages in openSUSE (Leap 42.3, Leap 15, Tumbleweed) and SLE 12. 

Using an unpatched Qt5, however, means that certain features of wkhtmltopdf are not available in my binaries.
So as a next step I wanted to branch the OBS packages for Qt5 and rebuild them, applying the patches needed by wkhtmltopdf as part of the OBS build process. But I was unable to locate these patches...
Do these patches even exist yet for Qt5?! Or is creating these patches part of your development work for v0.13?

Heiko

Ashish Kulkarni

unread,
Jun 22, 2018, 7:04:39 AM6/22/18
to wkhtmltop...@googlegroups.com
Hello,

I'm now going to start on the 0.13 series with updated Qt/WebKit.

I was able to build binaries for v0.12.5 using my local installation of openSUSE's Open Build Service. wkhtmltopdf was successfully build against / linked to the unpatched Qt5 packages in openSUSE (Leap 42.3, Leap 15, Tumbleweed) and SLE 12. 

Using an unpatched Qt5, however, means that certain features of wkhtmltopdf are not available in my binaries.
So as a next step I wanted to branch the OBS packages for Qt5 and rebuild them, applying the patches needed by wkhtmltopdf as part of the OBS build process. But I was unable to locate these patches...
Do these patches even exist yet for Qt5?! Or is creating these patches part of your development work for v0.13?

That's the main effort for 0.13, rebasing it on the latest Qt (5.11) and QtWebKit (5.212-alpha) and ensuring that builds are available for all platforms. I'm pretty sure that there'll be regressions due to the underlying platform changing after such a long period, so the rc phase would be very long.

~ Ashish

Balvir Sohal

unread,
Sep 24, 2019, 9:09:46 AM9/24/19
to wkhtmltopdf General
Hi,

I am using the 0.12.5 version and it is giving the blank pdf file. what could be the issue? If I use 0.9.6 version then it's working perfect.
Reply all
Reply to author
Forward
0 new messages