User`s guide

PDF Fonts for Non-English Platforms
8-45
Each name_mapping element has three attributes:
lang specifies the two letter ISO 639-1 code corresponding to the language of the
report.
platform specifies the operating system platform:
win — Windows
mac — Mac OS X
glnx— Linux
usage specifies the kind of report element or font:
body
title
monospaced
sans (sanserif)
The text of the name_mapping element is a font name, as specified in an XSL-FO
stylesheet.
Here is an example name_mapping entry:
<name_mapping_lang="ja" platform="win" usage="body">MS Gothic</name_mapping>
Specify the Location of Font Files
In the file_map section, add a file_mapping entry that identifies the location of the
font file for each font that you include in the name_map section.
Each of the platforms (Windows, Mac, and Linux) has a different default search path for
fonts. If the lang_font_map.xml file does not contain a full file path for a font, the
MATLAB Report Generator uses a platform-specific approach to search for the font.
Windows Font File Locations
On Windows platforms, the MATLAB Report Generator searches for fonts in <windir>/
Fonts, where winder is an operating system environment variable. The typical location
is C:\Windows or C:\Winnt.
Mac Font File Locations
On Mac OS X platforms, fonts are generally in one of these folders: