Page MenuHomePhabricator

Smaller font in euwiki PDF downloads than in other wikis
Open, Needs TriagePublic

Description

It is two days since downloading the article https://eu.wikipedia.org/wiki/Lehen_Mundu_Gerra with the "Download as PDF" option in euwiki is giving documents with a very small font-size, smaller than the one given by enwiki or eswiki PDF creators. This font-size is too small to read and creates strange layouts in articles.

But I ca't fint any difference on why this article is downloaded in such a small font.

Event Timeline

Theklan created this task.Nov 19 2018, 1:50 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 19 2018, 1:50 PM
Theklan updated the task description. (Show Details)Nov 19 2018, 1:58 PM
Aklapper renamed this task from Very small font in euwiki PDF download to Smaller font in euwiki PDF downloads than in other wikis.Nov 19 2018, 2:19 PM

This is still happening.

TheDJ added a subscriber: TheDJ.

Also an issue with Proton. I suspect this is Chromium dynamically choosing a viewport suitable viewport width, to accommodate the panorama picture in the article in question.. (the file is Wrecked ammunition train3.jpg). It probably also happens for very wide tables on a page.

Comparison between an English version of this article and the eu version. Both articles have the same computed font-size when I view the print styles in the inspector. Zoom reset to "Actual size" in both PDFs. A font size difference is clearly visible. While a styling issues (PDF-Rendering), fixing this probably requires changes to the print config of chromium (if there is even an option for this) so also tagging with Proton.

TheDJ added a comment.Jul 4 2019, 7:38 AM

Chromium has a --window-size option, that Proton might be able to use for making viewport consistent ? Downside of that would probably be that very wide images and tables might get cut off of course.

This is still happening.

The PDF for https://meta.wikimedia.org/wiki/EU_policy/Implementation/Guidelines/All/it also has rather bizarre font sizes, unless I'm blind. It might be because of the tables. Not sure if it should be filed separately, leaving it here quickly for now:

TheDJ added a comment.Tue, May 5, 9:06 PM

@Nemo_bis yes its because of the tables. Chrome (which PDF printing via Proton is based on) automatically compresses the size of pages to fit tables that are too wide to otherwise fit on the page

@Nemo_bis yes its because of the tables.

Thanks for looking.

Chrome (which PDF printing via Proton is based on) automatically compresses the size of pages to fit tables that are too wide to otherwise fit on the page

Yet I don't see any such strangeness when printing to PDF on Chromium 81.0.4044.122: the text in some tables is smaller, yes, but at least it's consistent, it doesn't jump up and down from one line to the next.