I installed fonts in Docker (Debian 9) by using Node11 with Nightmare, but printed PDF style is different to what I see in Ubuntu.

How do I fix it?

Right is from Docker and Left is from Ubuntu:

image

closed as off-topic by Zanna, karel, pomsky, Eric Carvalho, muru Nov 10 at 0:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Zanna, karel, pomsky, Eric Carvalho, muru
If this question can be reworded to fit the rules in the help center, please edit the question.