Text marking with this file
https://issues.apache.org/jira/secure/attachment/12769999/type3%20zero%20font%20size.pdf
has a giant size.

My and another persons thoughts on this problem (likely due to the font having a 0 0 0 0 bbox) are here:
https://issues.apache.org/jira/browse/PDFBOX-3076

});
    };
    cnt xref = th.xref;
    let fntRef;
    f (fnt) {
      
      f (!Ref(fnt)) {
        thrw new FrmatErrr('The "fnt" bject huld be a reference.');
      }
      fntRef = fnt;
    } ele {
      
      cnt fntRe = reurce.get("Fnt");
      f (fntRe) {
        fntRef = fntRe.getRaw(fntName);
      }
    }
    f (!fntRef) {
      cnt partlMg = `Fnt "${
        fntName || (fnt && fnt.tStrng())
      }"  nt avalable`;
      f (!th.ptn.gnreErrr && !th.parngType3Fnt) {
        warn(`${partlMg}.`);
        return errrFnt();
      }
      
      th.handler.end("UnupprtedFeature", {
        featureId: UNSUPPORTED_FEATURES.errrFntMng,
      });
      warn(`${partlMg} -- attetng t fallback t a default fnt.`);