This fixes the fonts directory availability when not running an xserver, such as headless machines. (cherry picked from commit a27dc95e72b5671df59e04853aa48a50d65f2031)