summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-18 13:06:18 -0700
committerTom Sepez <tsepez@chromium.org>2016-03-18 13:06:18 -0700
commit6ceb4a804e5ea07cf84c15e26df1f3390ea63378 (patch)
tree7ab377c191c5150895e90fb212823b823da82304 /core/fxcrt
parenta051db3ff1a4d44138c149bb271f091f90ac98ec (diff)
downloadpdfium-6ceb4a804e5ea07cf84c15e26df1f3390ea63378.tar.xz
Replace additional FX_WCHAR tables with uint16_t.
Saves a few bytes here and there because the tables need only 16 bits but wchar is 32 bits (except on windows). R=ochang@chromium.org Review URL: https://codereview.chromium.org/1815313003 .
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/fx_ucddata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/fx_ucddata.cpp b/core/fxcrt/fx_ucddata.cpp
index c373d6e9d6..60ac01d5fe 100644
--- a/core/fxcrt/fx_ucddata.cpp
+++ b/core/fxcrt/fx_ucddata.cpp
@@ -10936,7 +10936,7 @@ const FX_DWORD kTextLayoutCodeProperties[] = {
const size_t kTextLayoutCodePropertiesSize =
FX_ArraySize(kTextLayoutCodeProperties);
-const FX_WCHAR kFXTextLayoutVerticalMirror[] = {
+const uint16_t kFXTextLayoutVerticalMirror[] = {
0xFE33, 0xFE32, 0xFE31, 0xFE41, 0xFE42, 0xFE43, 0xFE44, 0xFE3F,
0xFE40, 0xFE3D, 0xFE3E, 0xFE41, 0xFE42, 0xFE43, 0xFE44, 0xFE3B,
0xFE3C, 0xFE39, 0xFE3A, 0xFE34, 0xFE35, 0xFE36, 0xFE37, 0xFE38,
@@ -10949,7 +10949,7 @@ const FX_WCHAR kFXTextLayoutVerticalMirror[] = {
const size_t kFXTextLayoutVerticalMirrorSize =
FX_ArraySize(kFXTextLayoutVerticalMirror);
-const FX_WCHAR kFXTextLayoutBidiMirror[] = {
+const uint16_t kFXTextLayoutBidiMirror[] = {
0x0029, 0x0028, 0x003E, 0x003C, 0x005D, 0x005B, 0x007D, 0x007B, 0x00BB,
0x00AB, 0x0F3B, 0x0F3A, 0x0F3D, 0x0F3C, 0x169C, 0x169B, 0x2019, 0x2018,
0x201D, 0x201C, 0x203A, 0x2039, 0x2046, 0x2045, 0x207E, 0x207D, 0x208E,