mercredi 26 décembre 2018

PDF prawn not rendering into Chinese

I have an issue where my Chinese text is not getting rendered in PDF document. Can anyone help me out with this.Thanks in advance

pdf.font_families.update("Neue Haas Grotesk Disp Reg" => {
:normal =>"#{Rails.root.join('vendor/assets/fonts/custom_font/gkai00mp.ttf')}"
})

Aucun commentaire:

Enregistrer un commentaire