diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-10-16 03:10:13 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-10-16 03:10:13 +0300 |
commit | 1412d3efc18ff3a174637744404f7e3fcf60773a (patch) | |
tree | 565ce4ea9364ae490e4f66f1d6827b096315c63b /misc | |
parent | 8c2631206b58fc9f8947a6a9d63af12a72a079b7 (diff) | |
download | inter-1412d3efc18ff3a174637744404f7e3fcf60773a.tar.xz |
fix to float detection in postprocess_instance_ufo.py
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tools/postprocess_instance_ufo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tools/postprocess_instance_ufo.py b/misc/tools/postprocess_instance_ufo.py index dcd9c397f..8b5b60970 100644 --- a/misc/tools/postprocess_instance_ufo.py +++ b/misc/tools/postprocess_instance_ufo.py @@ -20,7 +20,7 @@ def ufo_set_wws(ufo): def fix_fractional_advance_width(ufo): for g in ufo: w = int(round(g.width)) - if w != g.width: + if str(g.width) != str(w): # set twice to work around bug or weird behavior in defcon. # If we don't do this, then fractional widths with .0 fraction are # not updated to integer values. |