Programming guideline of WinDom
The Font library offers some usefull functions to manipulate Fonts.
These functions work when a font driver (such as Gdos, Speedo-Gdos,
Ndvi or equivalent) is available. However, these calls - except
vqt_xname() - work even if the font driver is not avalaible : in this
case, WinDom reads a special file which describe fonts available when
the font driver is not in memory. This file - fontid - is searched in
the following paths:
- current application path,
- $ETCDIR path,
- $HOME path,
- $HOME\Defaults path,
- $FONTDIR path,
- C:\gemsys\ path.
The file has the following structure :
# @(#)WinDom/fontid
# Copyright Dominique Béréziat 2000
# Describe the font features when there is no font driver.
index "font name" font-id font-flags
The file can be generated automatically by the program fontid.ttp
from the WDK package.