mandolyte / mdtopdf

Markdown to PDF
MIT License
133 stars 32 forks source link

pf.Normal styler is adjusting font in doc only partially #53

Closed sltu closed 8 months ago

sltu commented 9 months ago

Hi, I am setting

pf.Normal = mdtopdf.Styler{Font: "notosans", Style: "", Size: 10}

and unordered list is rendered correctly, a Noto Sans font is used, however paragraph text below the list has some other font (Arial?)

image

jessp01 commented 8 months ago

Hi @sltu ,

Please provide the font file used, as well as an MD example and the full command used when generating the PDF (and, if you've made local changes to md2pdf.go or any other bit in the code, include these as well).

Cheers,

sltu commented 8 months ago

Hi, it's too late for me. I changed implementation and I am not using a mdtopdf anymore.

jessp01 commented 8 months ago

Closing due to lack of info. If you change your mind and want to provide the details as per the above, please do and reopen.