Well, finally, after decades of Mathematica rendering notebooks incorrectly in Windows, and after many years of Mathematica not supporting high-resolution displays in Windows, finally version 12.1 fixes these problems. Well, almost…
Here's the fly in the ointment: Now the fonts chosen in the documentation are too big: They're using 15-point fonts for default text, which is ridiculously large. This is probably because in the bad old days, before 12.1, Mathematica would render fonts too small (by a factor of 72/96), so the good folks at Wolfram simply upped the font size to make the documentation readable. Which means that now, with fonts suddenly rendered correctly, that size is too large. So, how to fix this?
The easiest solution I can see (short of waiting another 25 years for Wolfram to get those damn font sizes right…) would be to have Mathematica render all of the documentation at a magnification of 0.75, say. So here is my question:
Is it possible to force Mathematica to display all of the notebooks for its documentation at a 0.75 magnification? I figured out that those notebooks use the style sheet "Reference.nb" which I could edit, in principle (after copying it into my user folder hierarchy). I'm just not sure if it is possible to define the magnification of a notebook as a whole in its style sheet, and if so how to do it. I could of course change the magnification for each of the various kinds of cells that are described in Reference.nb, but that's a ton of work, and who knows what I might break by doing so.
Can this be done?
I guess what I am looking for is a statement along the lines of
Cell[StyleData[All], Magnification->0.75]
to be inserted into "Reference.nb" which would cause all content using that style sheet to be displayed at the specified magnification. I tried that, and was almost successful with it, but now the formatting of the initial documentation page (the one with the pretty colored boxes does not work any more, with text cut off and such.
Quick update: After realizing that, unsurprisingly, all style sheets distributed with Mathematica 12.1 use ridiculously large font sizes (standard text is 15pt), I have sent Wolfram my feedback asking them to fix the issue. I won't hold my breath, though; given the history of this issue I expect a fix to appear on a timescale of decades…
Preferences/Interface/Global Magnification
(on the top) $\endgroup$SetOptions[InputNotebook[], Magnification -> 0.75]
, when executed, changes the magnification of the current notebook to 0.75 (1 is the default). Maybe you can try to execute this code for documentation notebooks only? $\endgroup$SetOptions
there. $\endgroup$