Posted By: FlorianP
str_width improvements - 12/18/08 01:12
It would be really helpful to have the following functions in addition to str_width
foo(string, font, len)
Gives the width of the first [len] chars of string
and
foo(string, font, width)
Gives the number of chars that fit in [width] pixels
I know that this can be done quite easy with str_width but i think an intern solution would be much faster
foo(string, font, len)
Gives the width of the first [len] chars of string
and
foo(string, font, width)
Gives the number of chars that fit in [width] pixels
I know that this can be done quite easy with str_width but i think an intern solution would be much faster