update: backport from Dolibarr (for odt2pdf)

Signed-off-by: Stephen L. <lrq3000@gmail.com>