Topic on Talk:Reading/Web/PDF Functionality/Flow

bigger font size is available for French Wikipedia?

12
Patafisik (talkcontribs)

Hi, here a French user asks for a bigger font size to download a PDF in French Wikipedia. Instead of Times New Roman 10 pt for the French version he would like a Times New Roman 12 pt, like in the English version of Wikipedia. PDF functionality allows him to customize the font size to his personal preferences?

TheDJ (talkcontribs)

This is not possible.

Patafisik (talkcontribs)

It's not possible to customize, do you meant? Alright, but why don't put the same size in differents wikis (e.g. 12pt as default in en.wiki and fr.wiki as well) ?

TheDJ (talkcontribs)

It is not possible to customise. They all use the same 'size' (the same print stylesheet), it's just that the renderer sometimes has to scale to make everything fit on one page. If the size is 'too small' it probably means you have something 'too wide' on the page.

Patafisik (talkcontribs)

Thank you, it's more clear for me now!

Dirk Hünniger (talkcontribs)

well with https://mediawiki2latex.wmflabs.org/ you can get the latex code and set the font size in the latex file, but you need to install debian linux and be familar with latex in order to do so. Otherwise you could choose A5 paper size and print on A4 paper with you printer, which has a similar effect

Philippe Audinos (talkcontribs)

Hello, I have tried to copy the whole code of the French page of Wikipedia on the philosopher Michel Henry in my sandbox, in order to test suppressing the infobox (in the case where some "small" tag was not closed correctly in the generated code of the infobox). I have tested to dowload the PDF file of my sanbox copy of the whole article without any modification, and the default size of the texts font is correct, like in the Engish version ! Whereas it is very small and practically unreadable in the original French article on Michel Henry. The only differences between the initial article and my own sandbox copy are the "other informations" of the infobox that are not contained into the article code but automatically generated from Wikidata, as well as the { { Autorité } } and { { Bases } } informations that are automatically replaced in the "External Links" section, at the end of the article. Best regards. Phiippe Audinos.

TheDJ (talkcontribs)

Confirmed, it's definitely Autorité. It uses "nowrap" on each of the entries. In print, an entry is postfixed with its actual url. This combination creates very long unwrappable content. Avoid nowrap at all cost on anything that is not like a number + unit (say 10 characters or so). Definitely don't use it on anything that contains links because those expand in print. And if you have to use nowrap then specifically cancel it out with a specific print stylesheet.

Philippe Audinos (talkcontribs)

The { { Autorité } } and { { Bases } } have been replaced by { { Liens } } in the French article on Michel Henry in Wikipédia, but the default font size in the exported PDF file is always very small...

37.103.19.52 (talkcontribs)

@Philippe Audinos See the answer above: "If the size is 'too small' it probably means you have something 'too wide' on the page."

TheDJ (talkcontribs)

Many of the links in the references/footnotes are also wrapped with "nowrap" classes. As print expands the links to make them visible, that means you get very wide links in the page.

Philippe Audinos (talkcontribs)

Thank you very much for these precious informations. In fact, the probem of font size appears in the generated PDF file when I add the identifier of the original article to my sand box copy on the "Liens", "Autorité" or "Bases" models. I think that your explanation is correct. This information has been transmitted to the "Autorité" model page in Wikipédia.

Reply to "bigger font size is available for French Wikipedia?"