PDF Generation Slow on Ubuntu

hello there,

we’re having the same issue on Centos 7

i see that there are some missing libraries in ubuntu, what about centos ?
do you guys have a solution for that ?