Is it possible to use Ghostscript instead of wkhtmltopdf?

Recently I have been playing with Ghostscript and it is more accurate in generating PDF compared to wkhtmltopdf.

Would it be possible to replace wkhtmltopdf with Ghostscript?

Just a suggestion.

Frappe has started to use weasyprint for new features, though it looks like they’re taking it slow to switch over existing features.

In either case, it’s definitely possible to feed the html over to a different pdf generator, but it would take some work and testing.