Fix font crashes on Linux