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:
parent
cb9329e6de
commit
66e45e6638
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user