1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

ATV Modulator: ensure minimum overlay text font size

This commit is contained in:
f4exb 2017-04-06 08:36:24 +02:00
parent cb9329e6de
commit 66e45e6638

View File

@ -1133,6 +1133,7 @@ void ATVMod::mixImageAndText(cv::Mat& image)
int thickness = image.cols / 160;
int baseline=0;
fontScale < 8.0f ? 8.0f : fontScale; // minimum size
cv::Size textSize = cv::getTextSize(m_overlayText, fontFace, fontScale, thickness, &baseline);
baseline += thickness;