When you import or link AutoCAD drawings to a Revit model, 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.
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\Autodesk Revit 2023 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 or linked the DWG file to the Revit model, you must import or link it again.
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.
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.