4
$\begingroup$

This is not a duplicate of Mathematica versions 10 and 11 fonts are broken on Linux. There the issue is with PDF export and printing.

The fonts in Mathematica on my system are all messed up, see the Screenshots below. I think I have installed the mathematica-fonts packages on my Debian GNU/Linux stable system but this did not resolve it.

It seems as if the only subset working properly is ASCII.

A websearch brought up a thread on the Arch Linux forum: https://bbs.archlinux.org/viewtopic.php?id=184112

The suggestion there is to disable antialiasing for fonts in the KDE control center and removing ~/.config/Trolltech.conf. I didn't have the KDE control center (I don't use KDE) so I installed it and followed the steps but to no avail.

Some random documentation page

enter image description here

The Basic Math Assistant

enter image description here

Even the splash screen is broken (next to »Open«)

enter image description here

$\endgroup$
  • $\begingroup$ I don't have this problem with MMA 11 and Ubuntu 15.10. I just installed it normally and that's it. What's your distribution? $\endgroup$ – anderstood Sep 3 '16 at 16:10
  • $\begingroup$ @anderstood As mentioned in the question it is Debian GNU/Linux stable. $\endgroup$ – Henri Menke Sep 3 '16 at 16:10
4
$\begingroup$

I ran into the same problem and solved it by removing the configuration file associated with emojione-color. The font's substitution mechanism seemed to interfere with Mathematica's.

Just fyi, the file I removed was /etc/fonts/conf.d/56-emojione-color.conf.

$\endgroup$
  • $\begingroup$ That's it! May I ask how you found it out? $\endgroup$ – Henri Menke Sep 11 '16 at 9:24
  • 1
    $\begingroup$ I did some extreme brute force testing, i.e. moving my entire font config folder. This fixed the mathematica fonts (but predictably broke everything else). I remembered people complaining about emojione during an earlier google search for my problem. So I just deleted the config file and it seemed to do the trick. $\endgroup$ – soupy Sep 12 '16 at 15:35
2
$\begingroup$

I just came across this post pointing out the possibility of application-specific font config behaviour: https://github.com/eosrei/emojione-color-font/issues/51

I have added "Mathematica" specific exceptions both for the "Bitstream Vera Sans" and "sans-serif" to my 56-emojione-color.conf file and now I have both Mathematica displaying well and also emojis in my favourite applications.👦🏼

$\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.