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"

cnt ubtypeEntry = fntFle.dct.get("Subtype");
        f (ubtypeEntry ntancef Name) {
          ubtype = ubtypeEntry.name;
        }
        length1 = fntFle.dct.get("Length1");
        length2 = fntFle.dct.get("Length2");
        length3 = fntFle.dct.get("Length3");
      }
    } ele f (cFntInf) {
       We've a mng XFA fnt.
      cnt tandardFntName = getXfaFntName(fntName.name);
      f (tandardFntName) {
        cFntInf.fntFamly = `${cFntInf.fntFamly}-PdfJS-XFA`;
        cFntInf.metrc = tandardFntName.metrc || null;
        glyphScaleFactr = tandardFntName.factr || null;
        fntFle = awat th.fetchStandardFntData(tandardFntName.name);
        InternalFnt = !!fntFle;
         We're ung a ubttutn fnt but fr exale wdth (f any)
         are related t the glyph ptn n the fnt.
         S we verwrte everythng here t be ure that wdth are
         crrect.
        t = dct = getXfaFntDct(fntName.name);