Some improvements of the graphics output, mainly concerning how fonts
are handled.