Forums

Full Version: Text scaling in TVLDSImageDisplay
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
As far as I can tell, there are two standard methods of writing text to a TVLDSImageDisplay; via the TVLDrawTextLayer and by the TVLGenericFilter OnProcessData event.
However, the size of the text that I put onto the video seems to depend on the resolution of the video that I play. eg. If I put text with a font size of 20 then it will show as small when playing a high res video and large when the video is low res. Is there a way of putting fixed size text onto the video? I want the text to be the same size regardless of the resolution of the video.
Maybe I missed something?
Thanks

Dave

Hi! Maybe you can use the Canvas->TextWidth() and similar functions.

Regards,
Dave
Reference URL's