Open
Description
System information (version)
- OpenCV =>4.2.0
- FreeType2 contrib=>4.2.0
- Operating System / Platform => Win10
- Compiler => MVSC
Detailed description
Text height is not correct
.
Steps to reproduce
When calling this function with any text, any height, and zero thickness, I always get height equal to 1.
When calling this function with any text, any height, and thickness>0, I always get height equal to 2*thickness
const cv::Size newTextSize{ freeType->getTextSize("hello", 100, 0, &baseline) };
const cv::Size otherTextSize{ freeType->getTextSize("world", 100, 2, &baseline) };