PR: Submitted by: Rafal Maczewski Fixes a signedness bug in handling cmaps that caused some fonts to be invalid.