jhelvy / jhelvy/renderthis

Recent updates in Chrome break print to pdf?

Open
#70 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
178
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I may be, as always, missing something obvious. But I think has a recent Chrome update broken to_pdf... When I use the latest Chrome release (Version: 108.0.5359.124-1), doing

renderthis::to_pdf("RMD_File",...)

produces a weird result, with some slides scaled down (with much smaller fonts) and others looking OK.

I have tested by reverting to version 107.0.5304.121-1 (I'm on Ubuntu 20.04) and it seems like renderthis::to_pdf prints the xaringan slides nicely...

I don't think it depends on the actual underlying xaringan file (I've tested with a couple of examples) and the latest Chrome release fails, while the downgraded version works...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with renderthis::to_pdf("RMD_File",...) using the xaringan examples described, on Ubuntu 20.04. Compare the PDF output under Chrome 108.0.5359.124-1 and 107.0.5304.121-1; done means the slides render consistently at the expected scale or the Chrome compatibility limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.