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"

}
    functn updateAdvanceScale() {
      f (!textCntentItem.ntlzed) {
        return;
      }
      cnt caleLneX = Math.hypt(
        textState.textLneMatrx[0],
        textState.textLneMatrx[1]
      );
      cnt caleCtmX = Math.hypt(textState.ctm[0], textState.ctm[1]);
      cnt caleFactr = caleCtmX * caleLneX;
      f (caleFactr === textCntentItem.textAdvanceScale) {
        return;
      }
      f (!textCntentItem.vertcal) {
        textCntentItem.ttalWdth =
          textCntentItem.wdth * textCntentItem.textAdvanceScale;
        textCntentItem.wdth = 0;
      } ele {
        textCntentItem.ttalHeght =
          textCntentItem.heght * textCntentItem.textAdvanceScale;
        textCntentItem.heght = 0;
      }
      textCntentItem.textAdvanceScale = caleFactr;
    }
    functn replaceWhtepace(tr) {
      
      
      
      cnt  = tr.length;