Thread: Text Length
View Single Post
  #3  
Old 11-04-2002, 06:56 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Re: Text Length

Quote:
Originally posted by Falcor
Some Function is needed to calculate the length (in pixles) of a string at a certain size and font .. like

textlen(string,zoomfactor,font)

Seeing as how fonts are not fixed width. It would be nice for some things I have been making.

I know what you mean. :-( Was a guessing game getting text to match up to stuff.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote