diff options
author | Nicolas Pena <npm@chromium.org> | 2017-07-06 10:53:01 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-10 14:33:02 +0000 |
commit | 217644c0d65abfc9729c083074d505b22cd7ccf6 (patch) | |
tree | 4b8fb7bb97c4573fa85df466fc3d6e8a3a4cd896 /fpdfsdk/cpdfsdk_pageview.cpp | |
parent | 4183f201c5155717762df48e5d68330b754070f3 (diff) | |
download | pdfium-217644c0d65abfc9729c083074d505b22cd7ccf6.tar.xz |
Force unicodes into valid ranges
U+D800 to U+DFFF should not be encoded in UTF-16. However, FreeType may
have charcodes in that range, so in that case we just say that the
corresponding unicode is U+0000, NULL.
Bug: chromium:732272
Change-Id: I64e82856bab7f69545a307da1fef4df7f9df1f00
Reviewed-on: https://pdfium-review.googlesource.com/7312
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_pageview.cpp')
0 files changed, 0 insertions, 0 deletions