Tricky to do this accurately, since you can't guarantee which font or fontsize your browser will choose.
Searching for font on CPAN turns up a pile of stuff that may be useful.
Also, there may be a way to enforce this on the client side, with CSS - check out the bit in the tables spec about the "fixed" format.
In reply to Re: Text width metrics/heuristics
by muntfish
in thread Text width metrics/heuristics
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |