fix diagnostic pdf fonts