Fonts

Native font files used by LiteCAD.DLL have the extension lcf and are usually held in a Fonts folder in your application. The sample LiteCAD.EXE application provided with LiteCAD.DLL contains many font files (about 60), and these are used to create named styles in the same manner as you would if working in the AutoCAD environment. The figure below shows some of the available LiteCAD.DLL font files. 

Bult in fonts

Three fonts are embedded in any application that you build with liteCAD.DLL, but your install (setup) file needs to load the remainder. These fonts are usually placed in their own Fonts folder.

Note that your users need to create their own text style which has a name and an associated font. See http://plus.gardencad.net/?q=content/text-styles for more information on named text styles.

Create lcf fonts

It is possible to create lcf fonts from either TrueType Windows fonts present in your system of from AutoCAD.shx fonts using an included application (LCFont) included with LiteCAD.DLL. The figure below shows a font commonly employed in Australian technical drawings in the LCFont environment - ISO3098B. using the supplied LCFont tool, it is possible to create a LiteCAD version of this font. As an aside, the ISOCP font supplied with LiteCAD.DLL does pretty much the same job as ISO3098B and it is possible by customizing the font replacement file to effect a swap from ISO3098B to ISOCP.

Lcfont in use

Once loaded, the symbols required for your application are converted to LCF. Selection can be done on an individual basis or all symbols in a font can be selected.

ISO3098B converted

The LCFont program allows you to combine many fonts into one file. We prefer to make a separate file for each font as we are in the practice of naming each style in use after the name of the font file itself. We have a particular interest in providing our users with hand lettered fonts and use LCFont to convert royalty free Windows TrueType fonts to lcf format. Here is an example of some of those we have decided to use.Hand lettered fonts

TrueType fonts for technical drafting

In particular, for technical drafting, ISOCPEUR, ISOCPEUI, ISOCTEUR and ISOCTEUI (ttf-files) are useful. Rather than going to the bother of converting to LCF use one of these instead. The proportion and shape of the characters complies with the CAD lettering standard DIN-ISO 3098-5, which specifies that the line width is 1/10th of character height.  ISOCP is very close to the ISO3098b shape font mentioned above.