예제 #1
0
HRESULT CDwFontContext::Initialize()
{
    if (hr_ == S_FALSE) {
        return hr_ = dwriteFactory_->RegisterFontFileLoader(CDwFontFileLoader::GetLoader());
    }
    return hr_;
}
예제 #2
0
 virtual HRESULT STDMETHODCALLTYPE RegisterFontFileLoader(
     IDWriteFontFileLoader* fontFileLoader
     )
 {
     return orig_this->RegisterFontFileLoader(fontFileLoader);
 }