How can i draw outline or shadow to a text with using OpenCV?

In my C++ project, im using OpenCV library to implement image processing algorithms. I want to draw outline or shadow to texts that i drew on frames with using OpenCV’s putText function. I have researched about it but only solution that i found is drawing the same text twice. This solution drops the FPS of my overall project because im drawing many texts on the frames.

Do i have to code a new font library for my project or is there any simpler solutions to it?

thanks in advance.