Clipping a HUD/Canvas DrawText

I am using unreal engine of version 4.22. The code can be compiled successfully with little modification, but it doesn’t work for me. Nothing is actually clipped at all. Is there any issue with it for unreal engine of recent versions? Sorry for my bad English.