bug 9549 Chinese characters are not rendered properly in pdf reports
This commit is contained in:
parent
a6126dbd03
commit
c83326a4d6
@ -449,6 +449,8 @@ def run():
|
|||||||
startcli(error, argpars)
|
startcli(error, argpars)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
if win() and ('PANGOCAIRO_BACKEND' not in os.environ):
|
||||||
|
os.environ['PANGOCAIRO_BACKEND'] = "fontconfig"
|
||||||
errors = run()
|
errors = run()
|
||||||
if errors and isinstance(errors, list):
|
if errors and isinstance(errors, list):
|
||||||
for error in errors:
|
for error in errors:
|
||||||
|
Loading…
Reference in New Issue
Block a user