- fixed bug in FlatCAMObj.FlatCAMGeometry.ui_disconnect(); the widgets signals were not disconnected from handlers when required therefore the signals were connected in an exponential way
- some changes in the widgets used in the Selected tab for Geometry object - some PEP8 cleanup in FlatCAMObj.py
This commit is contained in:
@@ -270,7 +270,7 @@ class ParseFont():
|
||||
else:
|
||||
try:
|
||||
name = name.replace(" Regular", '')
|
||||
except:
|
||||
except Exception as e:
|
||||
pass
|
||||
self.regular_f.update({name: font})
|
||||
log.debug("Font parsing is finished.")
|
||||
@@ -313,7 +313,7 @@ class ParseFont():
|
||||
if previous > 0 and glyph_index > 0:
|
||||
delta = face.get_kerning(previous, glyph_index)
|
||||
pen_x += delta.x
|
||||
except:
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
face.load_glyph(glyph_index)
|
||||
|
||||
Reference in New Issue
Block a user