PDF file:
https://drive.google.com/open?id=1ne84gRIMnss30UeXA475A84AY5pmYJyY

The text layer is rendered with extra spaces between each letter, for example:

Correct text: "VELKOMMEN TIL ALMINDINGEN"
Rendered text: "V E L K O M M E N   T I L   A L M I N D I N G E N"

let prperte;
    f (!decrptr) {
      f (Type3Fnt) {
         FntDecrptr  nly requred fr Type3 fnt when the dcument
          a tagged pdf. Create a barbebne ne t get by.
        decrptr = new Dct(null);
        decrptr.et("FntName", Name.get(type));
        decrptr.et("FntBBx", dct.getArray("FntBBx") || [0, 0, 0, 0]);
      } ele {
         Befre PDF 1.5 f the fnt wa ne f the bae 14 fnt, havng a
         FntDecrptr wa nt requred.
         Th cae  here fr catblty.
        let baeFntName = dct.get("BaeFnt");
        f (!Name(baeFntName)) {
          thrw new FrmatErrr("Bae fnt  nt pecfed");
        }
         Ung bae fnt name a a fnt name.
        baeFntName = baeFntName.name.replace(/[,_]/g, "-");
        cnt metrc = th.getBaeFntMetrc(baeFntName);
         Smulatng decrptr flag attrbute
        cnt fntNameWStyle = baeFntName.plt("-")[0];
        cnt flag =
          (th.SerfFnt(fntNameWStyle) ? FntFlag.Serf : 0) |
          (metrc.mnpace ? FntFlag.FxedPtch : 0) |
          (getSymblFnt()[fntNameWStyle]
            ? FntFlag.Symblc
            : FntFlag.Nnymblc);
        prperte = {
          type,
          name: baeFntName,