Hello!

Did you know that logged in users can see a lot more content?

2019 Table of Contents

XS_​DXF_​FONT_​CONVERSION_​FILE

Last updated March 12, 2019 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2019

XS_​DXF_​FONT_​CONVERSION_​FILE

XS_​DXF_​FONT_​CONVERSION_​FILE

Category

Printing

Use this advanced option to specify a font conversion file for Tekla Structures drawings’ DWG and DXF export and printing. The font conversion file defines which font file will be connected to the created AutoCAD style, and optional font width and height correction factors. You can use both True Type font files and AutoCAD .SHX font files.

If only the file name of the font conversion file is given, the file is read from the model folderfolder that is used for storing files associated with a model

Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).

In multi-user mode all users access the same model folder.

. To use a font conversion file from another location, give the file name with relative or full path. If XS_DXF_FONT_CONVERSION_FILE is not set, Tekla Structures will try to use the default font conversion file ( dxf_fonts.cnv ) from the folder defined by DXK_FONTPATH. DXK_FONTPATH is defined in teklastructures.ini.

If the font conversion file is not found or if it does not contain a mapping for a certain font, the font name used in Tekla Structures is used to form the name of the text style in AutoCAD. Spaces are replaced with underscores and lowercase letters are replaced with uppercase ones. For example, font name Arial Narrow in Tekla Structures will become a style named ARIAL_NARROW in AutoCAD.

In addition to the font-specific width and height correction factors defined in the font conversion file, there are general variables XS_DXF_TEXT_HEIGHT_FACTOR and XS_DXF_TEXT_WIDTH_FACTOR , which apply to all exported texts regardless of the font. If both font specific factors and general variables are used, they are multiplied.

Syntax used in font mapping:

Font name in Tekla Structures = Font file name in AutoCAD [* width correction factor [* height correction factor]]

Examples of font mappings in a .cnv file:

Arial Narrow = ARIALN.TTF

Arial Narrow Bold Italic = ARIALNBI.TTF * 0.5 * 1.0

Note:
  • The names in the font conversion file are case sensitive.

  • The font conversion file is used for drawings in DWG and DXF export and printing only, it does not affect drawings DWG and DXF import or model importimport of a model from another software to Tekla Structures

    Tekla Structures supports several different formats to import models.

    or export.

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
No votes yet