Table of Contents

Method WarmUp

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

WarmUp()

Reads the fonts of the machine ahead (the scan of the Fonts folders that the first of Families, FileOf(string), FamilyOf(string) or LocalNamesOf(string) makes: some 2 500 files on a machine with many fonts, a second or more from a cold disk), on a thread of its own at below normal priority, and gives back at once. The app calls it after its window has drawn, so that the Text Style dialog and the MTEXT editor find the list read. A call that comes while the scan runs waits for it and does not repeat it, and the lists are the same whether or not this was called. Calling it again gives the same task.

public static Task WarmUp()

Returns

Task

The task, complete when the fonts are read.