DX font in ImGui

Hello, i want init font via DX and use it in ImGui. Is it possible ? I want init my font with fontflags. But RasterizerFlags wont work:

auto& io = ImGui::GetIO();
auto a = ImFontConfig( );
a.RasterizerFlags = 1 << 7 | 1 << 4 | 1 << 5; // disable antialiasing + bold
io.FontDefault = io.Fonts->AddFontFromFileTTF( "C:\\Windows\\Fonts\\Verdana.ttf" , 14.0f , &a , io.Fonts->GetGlyphRangesCyrillic( ) );

Here is working DX version:

 D3DXCreateFont( device, 14, NULL, FW_HEAVY, 1, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Verdana", &font)