Details
Description
How to reproduce
- Error happens when font file is loaded
- End of cmap table reached when parsing subtable format '4'
- End of cmap, subtable format '4', reached when fetching character '%1' in range [%2, %3]
- It generates distance field even if the above error happens
- It crashes at several different points but same function MainWindow::createSfntTable()
- buffer.write(reinterpret_cast<char *>(&glyphRecord), sizeof(QtdfGlyphRecord));
- memcpy(outBits, inBits, image.width());
- QVector<QDistanceField> textures;
Font for testing:Â NanumBarunGothic.ttf