Prev Next

SOPutFontTableEntry

Sets a font table entry.

The file parser must call the SOStartFontTable function before calling this function. SOPutFontTableEntry must be called once for each font to be added to the table. Font identifiers must be unique, but they can be given in any order.

This function can only be called from the VwStreamSection function.

VOID SOPutFontTableEntry(

    DWORD dwFontId,

    WORD wFontType,

    Char VWPTR *pFontName,

    HPROC reserved

   );

Parameters

dwFontId
Font identifier. This parameter can be any number, but it must be unique within the font table.
wFontType
Font family. This parameter can be one of these values:

SO_FAMILYDECORATIVE

Fancy display font

SO_FAMILYMODERN

Fixed width

SO_FAMILYROMAN

Variable width with serifs

SO_FAMILYSCRIPT

Handwriting

SO_FAMILYSWISS

Variable width without serifs

SO_FAMILYSYMBOL

Symbol font

SO_FAMILYUNKNOWN

Not known

pFontName
Address of a null-terminated string specifying the name of the font.
reserved
Reserved; do not use.

Return Values

None.