How can I set content font for pdf generation using wkhtmltopdf? -
i use wkhtmltopdf generate pdfs.
sets header , footer fonts explicitly not find way set font of content..
in advance..
to convert html pdf wkhtmltopdf try avoid woff font face. use trutype format of google web fonts base64 encode.
recently tried use google web font google web fonts. in browser shows correctly doesn't show after converting html pdf.
then after searching lots of web @ last found tools encode fonts base64 encoded format , got css @font-face.
Comments
Post a Comment