Mapping AutoCAD SHX Fonts to TrueType Fonts

When you import or link to AutoCAD drawings that contain text, you can map the AutoCAD SHX fonts to TrueType fonts so they appear correctly in Revit. You can map to any of your existing fonts.

Note: For SHX fonts that are not mapped, Revit uses a similar font, but the results are unpredictable.

AutoCAD SHX fonts are stored in the following location: C:\Program Files\Autodesk\AutoCAD <release>\Fonts

Revit uses the fonts installed on your computer. To locate them, use the Windows® Control Panel.

To map fonts, edit shxfontmap.txt using a text editor. This file resides in the following location: %APPDATA%\Autodesk\Revit\<product name and release>

For each TrueType font to map, add a line with the following format:

filename.shx<tab>Fontname

where:

Save and close the file.

You do not need to restart Revit for the font mapping to take effect. If you have already imported the file, you will need to import it again.

Example 1

The following line shows a typical entry:

Txt.shx	Arial

When a DWG file that uses Txt.shx in AutoCAD is linked or imported into Revit, the text is displayed using the Arial font.

Example 2

Txt.shx	Tahoma
Monotxt.shx Tahoma

In this case, text that uses the Txt.shx and Monotxt.shx fonts is displayed using the Tahoma font when the DWG file is imported or linked into Revit.