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

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
TheDJ subscribed.

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.

Screenshot 2019-06-04 at 14.07.47.png (2×3 px, 2 MB)

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.

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:

@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.

This problem is still happening, in any article that has a gallery tag.

Hi @Theklan ! Could you provide an example of the issue? Seems that articles with galleries are converted fine at the moment.