hide font warnings in test mode