From c83326a4d6579d4cbe20e5e259219f831ade8b81 Mon Sep 17 00:00:00 2001 From: prculley Date: Sat, 30 Jul 2016 11:19:22 -0500 Subject: [PATCH] bug 9549 Chinese characters are not rendered properly in pdf reports --- gramps/grampsapp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/grampsapp.py b/gramps/grampsapp.py index ef06b0490..3257e2cc1 100644 --- a/gramps/grampsapp.py +++ b/gramps/grampsapp.py @@ -449,6 +449,8 @@ def run(): startcli(error, argpars) def main(): + if win() and ('PANGOCAIRO_BACKEND' not in os.environ): + os.environ['PANGOCAIRO_BACKEND'] = "fontconfig" errors = run() if errors and isinstance(errors, list): for error in errors: