This method is specific to Version 3, or higher, of the OS/2 operating system.
This instance method returns the font attributes from a PresParam string.
#define INCL_WINWORKPLACE #include <os2.h> WPFontPalette *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ pszFont; /* PresParam string. */ PFATTRS pFattrs; /* Pointer to the font attribute structure. */ wpGetFattrsFromPsz(somSelf, pszFont, pFattrs);