opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

为什么 在不同的环境 所有参数是一样的,但是用getTextSize 获取的字体大小是不一样的

Open loveall-lab opened this issue 1 year ago • 2 comments

System information (version)
  • OpenCV => :grey_question:
  • Operating System / Platform => :grey_question:
  • Compiler => :grey_question:
Detailed description
Steps to reproduce
Issue submission checklist
  • [ ] I report the issue, it's not a question
  • [ ] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • [ ] I updated to the latest OpenCV version and the issue is still there
  • [ ] There is reproducer code and related data files: videos, images, onnx, etc

loveall-lab avatar Jul 08 '23 03:07 loveall-lab

OpenCV version: 3.4.10 Operating System / Platform: linux Compiler & compiler version: c++

loveall-lab avatar Jul 11 '23 03:07 loveall-lab

  1. OpenCV 3.4.10 had been released at 3 years ago, so it is too old. https://github.com/opencv/opencv/releases/tag/3.4.10
  2. OpenCV 3.4 will not release officially in the future. ( https://github.com/opencv/opencv/wiki/ChangeLog#version3420 ) The best way is update with 4.8.0. If you need to use OpenCV 3.4.10 by any reason, you should update freetype module from 4.x branch manually.
  3. There are no font data, no string to calicurate text sizes, no compiler information(clang?gcc? what version?) and no sample code. It is hard to reproduce this issue in my environment by your information. So we cannot investigate. I'm sorry.

Kumataro avatar Jul 11 '23 09:07 Kumataro