do not need to load 'lmodern' every time

This commit is contained in:
romjerome 2019-12-07 09:00:54 +01:00 committed by GitHub
parent c460506e4f
commit 9e013f6781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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':