1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

XFA - Fix reftest for xfa_issue13500

This commit is contained in:
Calixte Denizet 2021-06-17 15:48:13 +02:00
parent b300aba078
commit 226c228c2a

View file

@ -60,7 +60,7 @@ class FontInfo {
fonts.ArialMT ||
Object.values(fonts)[0];
const pdfFont = font.regular;
const info = this.pdfFont.cssFontInfo;
const info = pdfFont.cssFontInfo;
const xfaFont = {
typeface: info.fontFamily,
posture: "normal",