Having issue with html2canvas in Ionic

In my ionic application, I was trying to capture the div as a blob image base64 and was able to do that but once the image gets captured I am getting a strange issue the words which have small case fi / fl like flight/fine ‘f’ is overwritten by i