rdr.renderString(
        tstStr,
        path.resolve(dir.out+outSubDir+'/test4.png'),
        'png'
      ).then((r)=>{