Skip to content

Instantly share code, notes, and snippets.

@mn4367
mn4367 / gist:95b38340ed4d7f337d47
Created June 5, 2014 22:33
wkhtmltopdf PNG load errors
Loading pages (1/6)
Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This migth be an indication of an iframe taking to long to load.
could not retrieve system CA certificates
Warning: Failed to load file:///Users/mn/Downloads/HTMLBig/html/images/Reports_SearchActivityLog.png (ignore)
Warning: Failed to load file:///Users/mn/Downloads/HTMLBig/html/images/History_Activity.png (ignore)
Warning: Failed to load file:///Users/mn/Downloads/HTMLBig/html/images/History_ActivityArchive.png (ignore)
Warning: Failed to load file:///Users/mn/Downloads/HTMLBig/html/images/History_ArchivedActivity.png (ignore)
Warning: Failed to load file:///Users/mn/Downloads/HTMLBig/html/images/History_Log_Search.png (ignore)
Warning: Failed to load file:///Users/mn/Downloads/HTMLBig/html/images/History_Log_Search_Highlight.png (ignore)
Warning: Failed to load file:///Users/mn/Downloads/HTMLBig/html/images/History_LockLog.png (ignore)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Hyphenation test</title>
</head>
<body style="width: 10cm;">
<p lang="en">
xClang is in&shy;ten&shy;ded spe&shy;cific&shy;ally to work on top of LLVM.
The com&shy;bin&shy;a&shy;tion of Clang and LLVM provides the ma&shy;jor&shy;ity
@mn4367
mn4367 / build.py
Last active August 29, 2015 14:01
OS X support for wkhtmltopdf build script
#!/usr/bin/env python
#
# Copyright 2014 wkhtmltopdf authors
#
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Creates a TOC for all headers with roman numbering for h1 and decimal numbering for all others.
-->
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:outline="http://wkhtmltopdf.org/outline"
xmlns="http://www.w3.org/1999/xhtml"
>
<html>
<head>
<meta charset="utf-8"/>
<style type="text/css">
body {
width: 17cm;
margin: 0;
background-color: red;
}
</style>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Erstellt ein Inhaltsverzeichnis für alle Ebenen mit römischer
Kapitelnummerierung und die restlichen Ebenen mit normaler Nummerierung.
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:outline="http://code.google.com/p/wkhtmltopdf/outline"
xmlns="http://www.w3.org/1999/xhtml"