Change glGetDoublev to glGetBooleanv, and fix a font bug.