From 9e013f678137767a62cb5dda6599919e349611d6 Mon Sep 17 00:00:00 2001 From: romjerome Date: Sat, 7 Dec 2019 09:00:54 +0100 Subject: [PATCH] do not need to load 'lmodern' every time --- gramps/gen/plug/docgen/treedoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/plug/docgen/treedoc.py b/gramps/gen/plug/docgen/treedoc.py index 84ce5c08f..836d92c1c 100644 --- a/gramps/gen/plug/docgen/treedoc.py +++ b/gramps/gen/plug/docgen/treedoc.py @@ -344,11 +344,11 @@ class TreeDocBase(BaseDoc, TreeDoc): self.write(0, '\\usepackage[%s,%s]{geometry}\n' % (paper, margin)) self.write(0, '\\usepackage[all]{genealogytree}\n') self.write(0, '\\usepackage{color}\n') - self.write(0, '\\usepackage{lmodern}\n') trans = glocale.language[0][:2] lang_en = _locale._get_language_string(trans).lower() if lang_en in LANG_SUPPORT: self.write(0, '\\gtrset{language=%s}\n' % lang_en) + self.write(0, '\\usepackage{lmodern}\n') self.write(0, '\\begin{document}\n') if self.nodecolor == 'preferences':