fixed handling of monospace fonts (closes #289, refs #189)