Table of Contents

Method ReadFontMap

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ReadFontMap(string)

Reads a font mapping file as AutoCAD's FONTMAP reads acad.fmp: a line oldfont;newfont for each font drawn in another (romans.shx;isocp.shx), blank lines and lines of no semicolon or a blank half passed over, in the order of the file. A file that is not there or cannot be read gives none, said once at Debug; nothing throws.

public static IReadOnlyList<KeyValuePair<string, string>> ReadFontMap(string path)

Parameters

path string

The path of the file.

Returns

IReadOnlyList<KeyValuePair<string, string>>

The pairs, each name to the name it is drawn in.