Merge changes I62dd7b2a,I9fed9521

* changes:
  Refactor getSearchRange()
  Fix rangeShift calculations for count=0 in sfnt, cmap, and kern