5
$\begingroup$

I am running Mathematica on Linux (Raspbian to be exact), and it seems I am missing some Mathematica fonts:

enter image description here

Is there a way to fix this?

$\endgroup$
  • 2
    $\begingroup$ The problem is with the default color depth of the Raspberry pi, see here $\endgroup$ – bobthechemist Apr 20 '16 at 13:04
  • $\begingroup$ Ah, I was wondering whether this was the right board. Thank you sir. $\endgroup$ – Ruben Apr 20 '16 at 13:18
  • $\begingroup$ Very interesting feature, it looks like MMA knowns how approximately minus and dot look like (they do not occupy the whole vertical space), but just want to conceal the symbols... $\endgroup$ – yarchik Apr 20 '16 at 14:13
5
$\begingroup$

Just to save visitors from having to click through to other sites, the issue here is that the default color depth for Raspbian (the Raspberry Pi flavor of Linux) is 16 bit, and Mathematica expects 24 bit or higher. In /boot/config.txt add the lines

# To make 3D plots in Mathematica look nicer
framebuffer_depth=32
framebuffer_ignore_alpha=1

The last line does not appear to be absolutely necessary; I cannot easily notice a difference in performance.

For reference, the original issue was identified on the WC site and details for changing the color depth are found in a variety of places such as here. The question about performance was mentioned in the github issue tracking back a few years, and may no longer be relevant. (At least, it isn't on my v2 or v3 units.)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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