Html fragment not reflecting the actual font family (Arial) when adding to a PDF

html fragment when adding to pdf the font family from Arial to some other font in the pdf
pdf :
image.png (11.8 KB)
pdf image and htmlFragment added as dragged element
image.png (8.9 KB)

@Ashishb07
Please attach the code snippet used and the document with which this happens.