Does anyone know how to determine the width of a string (given it's font, style and size) within an executable that is running on either a Windows, Linux or Mac? I know there were plenty of XFCNs on the Mac to do this, but is there anything on the Windows or Linux for this? Thanks, in advance, for any help.