[DirectPython] Calculating Text Sizes
Status: Inactive
Brought to you by:
hsalo
From: David <dp...@sh...> - 2007-08-26 22:02:57
|
Hello, I am making a program which uses direct python to scroll messages across the screen. I need to calculate how many pixels the message is in height. I have tried many ways, but it seems that the font.getTextSize function does not return the actual size. I am using "font.getTextSize" to get the size, and "d3d.DrawTexts" to display the text. Any help on this would be much great, thanks. David Mack |