Only try and change font when using a windowing system