don't set font directly (problems when switching from presentation mode)
javadocs