fixed a bug relative to fixed-width fonts