- added ability for the app to detect the current DPI used on the screen; applied this information in the Film Tool when exporting PNG files

- found that Pillow v >= 7.2 breaks Reportlab 3.5.53 (latest version) and creates an error in Film Tool when exporting PNG files. Pillow 7.2 still works.
This commit is contained in:
Marius Stanciu
2020-10-25 02:42:47 +03:00
committed by Marius
parent b699f67855
commit 1b8f711d8e
4 changed files with 15 additions and 12 deletions

View File

@@ -267,7 +267,7 @@ class App(QtCore.QObject):
# graphic residues behind
cleanup = pyqtSignal()
def __init__(self, user_defaults=True):
def __init__(self, qapp, user_defaults=True):
"""
Starts the application.
@@ -279,6 +279,8 @@ class App(QtCore.QObject):
App.log.info("FlatCAM Starting...")
self.qapp = qapp
# ############################################################################################################
# ################# Setup the listening thread for another instance launching with args ######################
# ############################################################################################################