How do I use a material font in HUD?

Hi I have a custom font and I have made a fontsample out of it in material editor.

How can I use it to DrawText in HUD?

Normally I can print text using
FCanvasTextItem NewText(
FVector2D(X, Y),
FText::FromString(TheStr),
TheFont,
TheColor
);

And

Canvas->DrawItem(NewText);

But how do use a material font?

I am looking for this myself. Your options currently are CanvasRenderTarget and TextRenderActor. Canvas does not support drawing text with material instances, only textures at most. (look for Textures array in your UFont, I do not know if it even works). Maybe you can use Slate, but it has a steep learning curve.