xaprb / story

Beautiful responsive Hugo blog theme focused on simplicity and elegance, with many extra features including presentations, math typesetting, music notation, and search.
MIT License
170 stars 63 forks source link

[BUG] Printing slides to PDF makes ugly shadows #84

Closed xaprb closed 2 years ago

xaprb commented 5 years ago

When printing slides to PDF with Chrome, text shadows are rendered without blur.

xaprb_2019-Mar-23

Reading here I found a solution that seems to work,

.thing {
    -webkit-print-color-adjust:exact;
    -webkit-filter:opacity(1);
}

The related bug seems to be https://code.google.com/p/chromium/issues/detail?id=174583.

This wasn't a problem until a month or so ago, but a Chrome upgrade seems to have triggered it. So perhaps it's a different bug, but at least I have a workaround that works.

xaprb commented 5 years ago

I don't like the side effect of the workaround: any slide with a drop shadow is rendered as an image, not text. And that makes the PDF file huge as well as removing text from it.

xaprb commented 2 years ago

I’m sorry but I’m not interested in maintaining this theme anymore. I’m glad it’s been useful, and I encourage someone to continue development elsewhere. The MIT license is very permissive and should not place any burdensome restrictions upon that.