text_width/3
     text_width(+Fontable, +String, -Width)
     

Width is the width in pixels of String when drawn in Fontable. String may be either an atom or list of character codes.