Ir al contenido
Menú
Se marcó esta pregunta
10 Respuestas
8605 Vistas

Will changing PDF font solve the problem?I have read a lot of forum but i still don't know how to change PDF font. 

I will willing to pay if someone can help me solve this. Thanks

https://imgur.com/a/UxNHFxK
Myanmar unicode font. 

Trying on Odoo 13 community.(newbie)

Avatar
Descartar
Mejor respuesta

If you're running Odoo on Linux, try installing the appropriate font. Then restart Odoo before testing.

Try this, for example,

$ apt-get update
$ apt-get install fonts-sil-padauk
Avatar
Descartar
Autor

i don’t know how to use ubuntu.

i only use windows 10.

Autor

**If i can change PDF report font style to myanmarfont.ttf (support both english & myanmar font) , everything will be solved, but i don't know how to change PDF report font style.***

I have read this https://www.odoo.com/forum/help-1/question/how-to-add-custom-fonts-to-qweb-reports-88923

I am not a programmer , it is so hard to understand.

This link may help. It provides instructions on how to use a custom font in a report.

https://www.odoo.com/documentation/13.0/reference/reports.html#custom-fonts

Autor

Hi i still don't understand https://www.odoo.com/documentation/13.0/reference/reports.html#custom-fonts

Can i hire you to do it for me? I will provide you necessary ttf file font.

Email - htetmyomyintwin@gmail.com

windows 10 odoo community.

Mejor respuesta

If you using Linux Download  you want set path of this font in template 

Avatar
Descartar
Mejor respuesta

We face Unicode font problem in qweb report  on early of October but now we solved this problem. 

We install Ubuntu 20.04 ,python 3.8.2 , wkhtmltopdf 0.12.5 not (patched qt) version and padauk font.

 


Avatar
Descartar

it worked but got new issue missing header and footer

Missing header and footer? I think that's because of wkhtmltopdf 0.12.6. Have you try with 0.12.5?

Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 25
617
0
may 24
1003
0
feb 23
76
2
ene 21
4204
0
sept 18
4188