I am running Windows 8.1 on a ThinkPad T540P with a 3K screen, which is equivalent to Apple Retina screens. I have configured Windows to increase the magnification of the desktop to make fonts legible. When I open a CDF using CDF Player 9.0 the resulting image appears magnified, although it does not display fonts using ClearType. When the CDF is embedded in a browser window, the height and width of the tag are magnified appropriately but the CDF itself is not, appearing smaller than the embedding area. Does anyone know of a way to force the CDF plugin to use the actual rendered size of the magnified embedding area? Thanks.

  • $\begingroup$ related question on superuser. Sounds like the answer is no, CDF plugin isn't aware of the actual rendered size of the embedding area. $\endgroup$ Apr 5, 2014 at 14:49
  • $\begingroup$ Thanks for the link. It actually does contain an answer that works with a slight tweak. $\endgroup$ Apr 5, 2014 at 23:36

1 Answer 1


The behavior of the CDF player plugin is controlled by an initialization file, just like Mathematica and the stand-alone Player program. This file can be edited in Mathematica or with a text editor.

The location of the plugin initialization file for the stand-alone player is


and the location for the player installed along with Mathematica is


The apparent size of the player is controlled by adding the line


with a comma either before or after to separate it from the other options. In practice the number used should be less than the actual Windows desktop magnification to avoid clipping of the displayed image by the embedding area.

These files get overwritten when the plugin exits naturally. This can be prevented by making the files read-only after editing, with no apparent error messages or problems.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.