Substituting Fonts in AutoCAD

You can designate fonts to be substituted for other fonts. The fonts used for the text in your drawing are determined by the text style and, for multiline text, by individual font formats applied to sections of text. Sometimes you might want to ensure that your drawing uses only certain fonts, or perhaps you might want to convert the fonts you used to other fonts. You can use any text editor to create font mapping tables for both of these purposes.

You can use these font mapping tables to enforce corporate font standards, or to facilitate off-line printing. For example, if you share drawings with consultants, you may want to use a font mapping table to specify what font AutoCAD substitutes when it encounters a text object created with another font. Similarly, to edit the drawing using quicker-drawing SHX fonts and then switch to more complex fonts for the final plot, you can set up a font mapping table that converts each SHX font to an equivalent.

The font mapping table is a plain ASCII text (FMP) file containing one font mapping per line. Each line contains the base name of the font file (with no directory name or path) followed by a semicolon (;) and the name of the substitute font file. The substitute file name includes a file extension such as .ttf.

For example, you can enter the following in a font map table to specify that the times.ttf TrueType font file be substituted for the romanc.shx font file:

romanc.shx; times.ttf

AutoCAD comes with a default font mapping table in the acad.fmp file in the Support folder. You can edit this file using any ASCII text editor. You also can specify a different font mapping table file in the Options dialog box, or you can specify the font mapping file using the FONTMAP system variable.

To specify a font mapping table

  1. From the Tools menu, choose Options.
  2. In the list on the Files tab, click the plus sign next to Text Editor, Dictionary, and Font File Names.
  3. Click the plus sign next to Font Mapping File.
  4. The acad.fmp file is specified by default.

  5. To change the font mapping file, double-click the arrow to specify a new file in the Select a File dialog box.
  6. At the Command prompt, enter regen to convert existing text to the new font mappings.

Command line OPTIONS
System variables FONTMAP specifies the name of the current font mapping table.

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment