|
-
Jan 29th, 2000, 03:25 PM
#1
Thread Starter
New Member
Ok, this should be easy to do but I just cant seem to make it work. Anyone know how to get the width of a character?
Basically I have a string going into a picture box with a fixed width font but I want to convert it to true type font. In order for everything else to work, I need to know the width of the characters (not the number the charcters, I need their width) i.e. the width of the first character in pixels.
Ive tried all kinds of getcharwidth type functions but cant get anything to work. Using tmAveCharWidth I can get the average width of a fixed width font, but how do I get the individual widths of characters in a true type font since they could all be different?
Anyone have an example of how to do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|