|
|
@ -3707,6 +3707,11 @@ var Font = (function FontClosure() { |
|
|
|
if (ttContext.tooComplexToFollowFunctions) { |
|
|
|
if (ttContext.tooComplexToFollowFunctions) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (ttContext.functionsDefined.length > maxFunctionDefs) { |
|
|
|
|
|
|
|
warn('TT: more functions defined than expected'); |
|
|
|
|
|
|
|
ttContext.hintsValid = false; |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
for (var j = 0, jj = ttContext.functionsUsed.length; j < jj; j++) { |
|
|
|
for (var j = 0, jj = ttContext.functionsUsed.length; j < jj; j++) { |
|
|
|
if (j > maxFunctionDefs) { |
|
|
|
if (j > maxFunctionDefs) { |
|
|
|
warn('TT: invalid function id: ' + j); |
|
|
|
warn('TT: invalid function id: ' + j); |
|
|
|