summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_unicode.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-07-06 10:53:01 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-10 14:33:02 +0000
commit217644c0d65abfc9729c083074d505b22cd7ccf6 (patch)
tree4b8fb7bb97c4573fa85df466fc3d6e8a3a4cd896 /core/fxcrt/fx_unicode.cpp
parent4183f201c5155717762df48e5d68330b754070f3 (diff)
downloadpdfium-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 'core/fxcrt/fx_unicode.cpp')
0 files changed, 0 insertions, 0 deletions