I have a datafeed that needs to truncate the input lines so that they don't break in a specific width table.
Other than dumping the font metrics to a table (the designers are using a single Web-ish true-type font), how can I determine the string width, accounting for paired kerning?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |