SOPutFontTableEntrySOPutFontTableEntry*
*Contents  *Index  *Topic Contents
*Previous Topic: SOPutFieldInfo
*Next Topic: SOPutHdrEntry

SOPutFontTableEntry

Sets a font table entry.

Syntax


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_FAMILYDECORATIVEFancy display font
SO_FAMILYMODERNFixed width
SO_FAMILYROMANVariable width with serifs
SO_FAMILYSCRIPTHandwriting
SO_FAMILYSWISSVariable width without serifs
SO_FAMILYSYMBOLSymbol font
SO_FAMILYUNKNOWNNot known
pFontName
Address of a null-terminated string specifying the name of the font.
reserved
Reserved; do not use.

Return Value


No return value.

Remarks


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 VwStreamSectionFunc function.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.