Fix rendering of file with a wrong embedded font

Bug #84270