Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jenskutilek committed May 8, 2024
1 parent 64bc4ed commit 7716a37
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Lib/ufo2ft/instructionCompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def __init__(
def _check_glyph_hash(
self, glyph: Glyph, ttglyph: TTGlyph, stored_hash: Optional[str]
) -> bool:
"""Check if the supplied stored glyph hash from the ufo matches the current
outlines in the UFO and the TTGlyph."""
"""Check if the supplied stored glyph hash from the ufo matches the TTGlyph."""
if stored_hash is None:
# The glyph hash is required
logger.error(
Expand All @@ -57,8 +56,6 @@ def _check_glyph_hash(
)
return False

# Check the stored glyph hash against the TTGlyph that is being built

ttwidth = self.otf["hmtx"][glyph.name][0]
hash_pen = HashPointPen(ttwidth, self.otf.getGlyphSet())
round_pen = RoundingPointPen(
Expand Down

0 comments on commit 7716a37

Please sign in to comment.