Fixes gidStart for CID fonts
Merge pull request #3917 from yurydelendik/issue-3857

Fixes gidStart for CID fonts