Resizes loca table when needed
Merge pull request #3884 from yurydelendik/bug868745

Resizes loca table when needed