mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-11-30 16:37:18 +01:00
`#loadXfaFonts` returned before `setFonts` when /DR or /DR /Font was missing, and the layout then threw at the first text it measured. With an empty font dictionary, pdf.js loads a substitute for each font the form uses, as it does for a font missing from /DR. The PDF in #13647 has no /DR either.