[ft] how to get text width and height in libfreetype
From:
qw
Subject:
[ft] how to get text width and height in libfreetype
Date:
Wed, 27 Apr 2016 15:13:09 +0800 (CST)
Hi,
ffmpeg adopts libfreetype as 'drawtext filter'.
In ffmpeg, 'drawtext filter' is used to put some utf-8 format text over video stream. I want to get two values, i.e. text_h and text_w, which will be used in c/c++ functions.