User`s guide

8 Create Custom Stylesheets
8-44
The approach you use to identify font names depends on your computer platform.
Font names on Windows
To identify a TrueType font name on Windows systems:
1
Navigate to the font folder (usually C:\Windows\Fonts).
2
If the font is a simple TrueType (not a collection), in the window, right-click the font
and choose Properties to see the name of the file containing that font.
3
If the font is a TrueType Collection, right-click to open the collection, optionally in
a new window. Each constituent font appears, with its name. Use the name of the
constituent font, not the name of the whole collection.
a
Right-click any of constituent font and select Properties. The properties box
displays the name of the file containing that font.
Font names on Mac OS X
Mac OS X provides an application called Font Book (in the /Applications folder) that
provides information about available fonts on the system. The application shows all the
fonts on your system. Hover over a specific font to see a datatip with the font name and
the path to the font.
Font names on Linux
Linux distributions use a variety of conventions for the location of fonts, or how those
font folders can be found. By default, MATLAB Report Generator searches these folders,
in this order:
1
/.fonts/
2
/usr/local/share/fonts/
3
/usr/X11R6/lib/fonts/
4
/usr/share/fonts/
You can specify alternative folders in the fonts.conf file (in the /etc/fonts/ folder).
Add or Modify Language Font Mappings
In the name_map section of the lang_font_map.xml file, add a separate name_mapping
entry for each combination of language, font, and usage that you want in PDF reports.