Texts exported to DWG/DXF get different fonts on different computers
Question:
When exporting a drawing to DWG/DXF, on PC1, texts are exported with the same font as in Tekla Structures, but on PC2, they are exported with Arial font.
How to get the texts to use the correct font also on PC2?
What controls the font conversion when in export?
On PC1:
On PC2:
Answer:
NOTE: These instructions only apply to the old drawing export that can be activated with the advanced option XS_USE_OLD_DRAWING_EXPORT. The new drawing export was released in Tekla Structures version 2018. In the new export, font conversion is not used, and the resulting fonts match exactly the fonts that you haven defined and see in the Tekla Structures drawing.
Font conversion process when exporting to DWG/DXF in versions earlier than 2018:
- Tekla Structures first tries to find font conversion from XS_DXF_FONT_CONVERSION_FILE.
- If that is not found, then it checks if object's font is found from registered fonts in Windows fonts.
- If still not found, then it uses XS_DXF_FONT_NAME.
- If that is empty as well, then it sets the font to arial.ttf.
The solution in this situation:
In Tekla Structures, a font called Gill Sans MT is used. Open the dxf_fonts.cnv (\Tekla Structures\<version>\Environments\Common\fonts) file using a standard text editor and add the following row:
Gill Sans MT = Gill Sans MT * 1.0 * 1.0
See also: