(MFC)如何初始化CFontDialog,字体只要OPENTYPE类型

而且@(竖排?)也不要。
MSDN上找的看不懂。。。
CHOOSEFONT Structure

Send Feedback
The CHOOSEFONT structure contains information that the ChooseFont function uses to initialize the Font dialog box.
CF_ANSIONLY
This flag is obsolete. To limit font selections to all scripts except those that use the OEM or Symbol character sets, use CF_SCRIPTSONLY. To get the original CF_ANSIONLY behavior, use CF_SELECTSCRIPT and specify ANSI_CHARSET in the lfCharSet member of the LOGFONT structure pointed to by lpLogFont.

没有单独的OpenType类型,但是可以试试看CF_TTONLY,它只加载TrueType(包括OpenType)

http://blog.csdn.net/magic_andy/article/details/7169880

 int CALLBACK CStyleBar::EnumFontNameProc (ENUMLOGFONT* lpelf,
    NEWTEXTMETRIC* lpntm, int nFontType, LPARAM lParam)
{
    CStyleBar* pWnd = (CStyleBar*) lParam;
    int i=pWnd->m_wndFontNames.GetCount();
     if (nFontType & TRUETYPE_FONTTYPE)
    {
        pWnd->m_wndFontNames.InsertString(i,lpelf->elfLogFont.lfFaceName);
        pWnd->m_FontMap[i]=*lpelf;

    }

    return 1;
}

https://www.codeproject.com/Articles/4213/XFontCombo-An-OpenType-aware-font-combobox
我好啰嗦。。。没找到源码,demo展示可以。