Revision 7952b0f3e754588a3fcdaf5000a4cd99448292de
Committed on 26/06/2020 5:22 am by
A. Skrobov <tyomitch@gmail.com> [GitHub Diff]
Make printMediaType a load-time setting
This guarantees that images referenced only within @media print { }
are loaded when using --print-media-type. An additional benefit is
that images for irrelevant media types won't be loaded, only to be
discarded at printing time.
This fixes https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4674