Fixes reading of the widths for CID fonts

Resolves #2627