Hello CF Family, I have a function which creates the PDF from html text. The problem is when it converting into the pdf it is not embedding the fonts which used in html text but attach true type 1 fonts which I am not using in html text. I do not want to attach true type 1 font in pdf which causes several issue.
You can see true type font in any pdf by File->Properties->Font Tab
Any idea to prevent this or embed font rather than attach? Embeded fonts will be in the font tab but comes with "embeded" besides the each font.
Thanks in advance.
Below is the function....
<cffunction name="htmltextToPDf" access="public" output="false" returntype="boolean" hint="Generate the pdf of html text"> <cfargument name="htmlcontent" type="string" required="true"> <cfargument name="newfilename" type="string" required="true" hint="The absolute path "> <cfargument name="propertiesOfPDf" type="struct" required="true" hint="such as margins for the PDF.">