Skip to main content

Font control on Linux

Applicability

The information on this page applies to:

MathFlow SDK (all versions)

Issue

Through the use of the FontMapping.opt configuration file and MathML's built-in font attributes, the MathFlow SDK gives you control over which fonts are used in your equations. However, to take full advantage of these features on Linux operating systems, some further configuration is necessary.

Solution

  1. Download and install the and any other font you want to use in your equations.

  2. Add the font path for each new font to xorg.conf (or corresponding X windows system configuration file). See your Linux distribution's Help pages for more information on how to configure fonts.

  3. For Java to recognize the font, you will also need to add the line appendedfontpath=<path to font directory> to the appropriate Java font configuration file. Multiple directories can be separated by colons. The appropriate Java font configuration file can depend on what version of Java you are using and possibly also what version of Linux you are using. More info:

We hope this has been helpful. As always, please let us know if you have questions about this, or if you have additional techniques that work. We'd love to hear from you.