summaryrefslogtreecommitdiff
path: root/src/qdoc/clangcodeparser.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2019-06-19 15:06:40 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2019-06-20 08:33:30 +0000
commit73ecd39debe850c11293fcf175c1e2b637edc5f3 (patch)
treef737f65a073c46549be8c5822284801d8f3b1b87 /src/qdoc/clangcodeparser.cpp
parenta05eb132416fcce8eb6a9fb240d0867796ed9deb (diff)
downloadqttools-73ecd39debe850c11293fcf175c1e2b637edc5f3.tar.gz
distancefieldgenerator: Fix failure reading CMAP for some fonts
If all the range offsets in the type 4 subtable in CMAP is equal to 0, there is no need for a glyph ID array, so this array can actually have zero length. We did not account for this, and would fail to read those fonts. Task-number: QTBUG-76188 Change-Id: I11873fba7214d179af1fcd7ccff9a9fd1c72ce10 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions