+ /*
+ * There are some fonts that have a large, bogus value for scriptCount. To try
+ * and protect against this, we use the offset in the first scriptRecord,
+ * which we know has to be past the end of the scriptRecordArray, to compute
+ * a value which is greater than or equal to the actual script count.
+ *
+ * Note: normally, the first offset will point to just after the scriptRecordArray,
+ * but there's no guarantee of this, only that it's *after* the scriptRecordArray.
+ * Because of this, a binary serach isn't safe, because the new count may include
+ * data that's not actually in the scriptRecordArray and hence the array will appear
+ * to be unsorted.
+ */