Thread
:
Automatically sdjust subtitles if line too long.
View Single Post
#
3
(
permalink
)
10th September 2003
edv
Junior Member
BS.Player Newbie
Join Date: Aug 2002
Posts: 8
Rep Power:
0
It's not difficult at all to ask Windows (via API calls) what dimensions a particular string will occupy if drawn with a given font (family, name, point size, and other attributes). GetTextExtentPoint32() will do this for any given string.
edv
View Public Profile
Send a private message to edv
Find all posts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20