This question has been flagged
1 Reply
3336 Views

I'm getting this error every time I try to print an PDF:

Odoo Server Error - Warning

Wkhtmltopdf failed (error code: -8). Message: b'load glyph failed err=24 face=0x3de0a70, glyph=0\nQFontEngine: Glyph neither outline nor bitmap format=0\nload glyph failed err=24 face=0x3de0a70, glyph=3\nQFontEngine: Glyph neither outline nor bitmap format=0\n'

Server details:

[root@ex099 tmp]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 7.6 (Maipo)

[root@ex099 tmp]# uname -a

Linux ex099 3.10.0-957.10.1.el7.x86_64 #1 SMP Thu Feb 7 07:12:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

[root@ex099 tmp]# rpm -qa | grep -i wkhtmlt

wkhtmltopdf-0.12.1-1.el7.x86_64

wkhtmltox-0.12.5-1.centos7.x86_64

[root@ex099 tmp]#


Odoo 12, tried with wkhtmltox v0.12.1 also. Same error. Then installed the RHEL wkhtmltopdf v0.12.1.1, no luck.

Any suggestions, community?

Thank you and have a great day. :-)

Avatar
Discard
Best Answer

I have try this. Problem has been fixed:


sudo apt install ttf-mscorefonts-installer

sudo fc-cache -f -v

Avatar
Discard