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$
3
  • 2
    $\begingroup$ The problem is with the default color depth of the Raspberry pi, see here $\endgroup$ Commented Apr 20, 2016 at 13:04
  • $\begingroup$ Ah, I was wondering whether this was the right board. Thank you sir. $\endgroup$
    – Ruben
    Commented Apr 20, 2016 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
    Commented Apr 20, 2016 at 14:13

1 Answer 1

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 and acknowledge you have read our privacy policy.

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