Revert "[subset] Minor; towards refactoring"

This reverts commit 697811178503edefd7c1f00ae8a8dcebf32d8fbb.
This commit is contained in:
Behdad Esfahbod 2017-02-14 23:52:24 -08:00
parent 2a171c852b
commit 684cdeef41

View File

@ -2076,10 +2076,10 @@ class _DehintingT2Decompiler(psCharStrings.T2WidthExtractor):
subr_hints = subr._hints
if subr_hints.has_hint:
hints.status = max(hints.status, subr_hints.status)
if hints.status != 2:
hints.has_hint = True
hints.last_checked = index
hints.status = max(hints.status, subr_hints.status)
# Decide where to chop off from
if subr_hints.status == 0:
hints.last_hint = index