Skip to content

Commit

Permalink
Merge pull request #1201 from googlefonts/diff-adjusted
Browse files Browse the repository at this point in the history
[ttx_diff] Mark adjusted points as 'diff_adjusted'
  • Loading branch information
cmyr authored Jan 20, 2025
2 parents 51419fe + 0d8ad1c commit 4480e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/scripts/ttx_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ def allow_some_off_by_ones(fontc, fontmake, container, name_attr, coord_holder):
float(fontmake_el.attrib[attr]) - float(fontc_el.attrib[attr])
)
if 0.0 < delta_x <= 1.0:
fontc_el.attrib["adjusted"] = "1"
fontmake_el.attrib["adjusted"] = "1"
fontc_el.attrib["diff_adjusted"] = "1"
fontmake_el.attrib["diff_adjusted"] = "1"
fontc_el.attrib[attr] = fontmake_el.attrib[attr]
spent += 1
if spent >= off_by_one_budget:
Expand Down

0 comments on commit 4480e1d

Please sign in to comment.