Index   Commented   Search   About

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.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun