This function specifies a text font in the DDF buffer.

#define INCL_DDF
#include <os2.h>

HDDF     hddf;         /*  Handle to DDF returned by DdfInitialize. */
PCSZ     pszFaceName;  /*  Pointer to font name. */
ULONG    ulWidth;      /*  Font width in points. */
ULONG    ulHeight;     /*  Font height in points. */
BOOL     rc;           /*  Success indicator. */

rc = DdfSetFont(hddf, pszFaceName, ulWidth,
       ulHeight);


[Back] [Next]