FONTMAP system variable

Font mapping file

The font mapping file for existing fonts.

Type:

String

Saved in:

Registry

Default value:

default.fmp

Note:
  • This system variable specifies the font mapping file.
  • A font mapping file has one font mapping per line.
  • The semicolon (;) separates the original font used in the drawing from the font that replaces it.
  • If a font style is written without an extension, the mapping is done for styles containing the font map with SHX and TTF extensions.
    Example:
    • If you have a line, such as font;simplex.shx, the mapping is done for styles containing font.shx and font.ttf, using simplex.shx.
    • If the mapping includes an extension, such as font.shx;simplex.shx, the mapping to simplex.shx will work for styles including font.shx but not for font.ttf.
  • When a replacement is specified in the default.fmp file, the specified font is always used, even if the original font is available.
  • If a font is missing and no replacements are defined in the default.fmp or fontalt.fmp files, BricsCAD® uses the simplex.shx, which is set by default by the FONTALT system variable.
  • It is recommended to always use the original font to maintain a consistent visual appearance across different platforms. In addition, it is recommended to choose fonts that support the language in which the text is written.