summaryrefslogtreecommitdiff
path: root/core/fpdfapi/cmaps/Korea1
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-06 15:27:20 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-06 15:27:20 +0000
commit05ac5961fec712fe9d0f364012982620d814aade (patch)
tree519f12eb06a44c41697dc3f14cf58c47ed7d63d3 /core/fpdfapi/cmaps/Korea1
parent52008e9c520e8b1a7e2a9d76578ac2b27fe3e06a (diff)
downloadpdfium-05ac5961fec712fe9d0f364012982620d814aade.tar.xz
Pack struct FXCMAP_CMap more densely to save 1 KB.
Change-Id: Ida9738f4ad7ef266c2edb794f12dcf49b64fc590 Reviewed-on: https://pdfium-review.googlesource.com/17750 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/cmaps/Korea1')
-rw-r--r--core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp b/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp
index 690ce2a4ea..938344a316 100644
--- a/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp
+++ b/core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp
@@ -12,28 +12,28 @@
#include "core/fpdfapi/page/cpdf_pagemodule.h"
static const FXCMAP_CMap g_FXCMAP_Korea1_cmaps[] = {
- {"KSC-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_KSC_EUC_H_0, 467,
- FXCMAP_CMap::None, nullptr, 0, 0},
- {"KSC-EUC-V", FXCMAP_CMap::Range, g_FXCMAP_KSC_EUC_V_0, 16,
- FXCMAP_CMap::None, nullptr, 0, -1},
- {"KSCms-UHC-H", FXCMAP_CMap::Range, g_FXCMAP_KSCms_UHC_H_1, 675,
- FXCMAP_CMap::None, nullptr, 0, -2},
- {"KSCms-UHC-V", FXCMAP_CMap::Range, g_FXCMAP_KSCms_UHC_V_1, 16,
- FXCMAP_CMap::None, nullptr, 0, -1},
- {"KSCms-UHC-HW-H", FXCMAP_CMap::Range, g_FXCMAP_KSCms_UHC_HW_H_1, 675,
- FXCMAP_CMap::None, nullptr, 0, 0},
- {"KSCms-UHC-HW-V", FXCMAP_CMap::Range, g_FXCMAP_KSCms_UHC_HW_V_1, 16,
- FXCMAP_CMap::None, nullptr, 0, -1},
- {"KSCpc-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_KSCpc_EUC_H_0, 509,
- FXCMAP_CMap::None, nullptr, 0, -6},
- {"UniKS-UCS2-H", FXCMAP_CMap::Range, g_FXCMAP_UniKS_UCS2_H_1, 8394,
- FXCMAP_CMap::None, nullptr, 0, 0},
- {"UniKS-UCS2-V", FXCMAP_CMap::Range, g_FXCMAP_UniKS_UCS2_V_1, 18,
- FXCMAP_CMap::None, nullptr, 0, -1},
- {"UniKS-UTF16-H", FXCMAP_CMap::Single, g_FXCMAP_UniKS_UTF16_H_0, 158,
- FXCMAP_CMap::None, nullptr, 0, -2},
- {"UniKS-UTF16-V", FXCMAP_CMap::Range, g_FXCMAP_UniKS_UCS2_V_1, 18,
- FXCMAP_CMap::None, nullptr, 0, -1},
+ {"KSC-EUC-H", g_FXCMAP_KSC_EUC_H_0, nullptr, 467, 0, FXCMAP_CMap::Range,
+ FXCMAP_CMap::None, 0},
+ {"KSC-EUC-V", g_FXCMAP_KSC_EUC_V_0, nullptr, 16, 0, FXCMAP_CMap::Range,
+ FXCMAP_CMap::None, -1},
+ {"KSCms-UHC-H", g_FXCMAP_KSCms_UHC_H_1, nullptr, 675, 0, FXCMAP_CMap::Range,
+ FXCMAP_CMap::None, -2},
+ {"KSCms-UHC-V", g_FXCMAP_KSCms_UHC_V_1, nullptr, 16, 0, FXCMAP_CMap::Range,
+ FXCMAP_CMap::None, -1},
+ {"KSCms-UHC-HW-H", g_FXCMAP_KSCms_UHC_HW_H_1, nullptr, 675, 0,
+ FXCMAP_CMap::Range, FXCMAP_CMap::None, 0},
+ {"KSCms-UHC-HW-V", g_FXCMAP_KSCms_UHC_HW_V_1, nullptr, 16, 0,
+ FXCMAP_CMap::Range, FXCMAP_CMap::None, -1},
+ {"KSCpc-EUC-H", g_FXCMAP_KSCpc_EUC_H_0, nullptr, 509, 0, FXCMAP_CMap::Range,
+ FXCMAP_CMap::None, -6},
+ {"UniKS-UCS2-H", g_FXCMAP_UniKS_UCS2_H_1, nullptr, 8394, 0,
+ FXCMAP_CMap::Range, FXCMAP_CMap::None, 0},
+ {"UniKS-UCS2-V", g_FXCMAP_UniKS_UCS2_V_1, nullptr, 18, 0,
+ FXCMAP_CMap::Range, FXCMAP_CMap::None, -1},
+ {"UniKS-UTF16-H", g_FXCMAP_UniKS_UTF16_H_0, nullptr, 158, 0,
+ FXCMAP_CMap::Single, FXCMAP_CMap::None, -2},
+ {"UniKS-UTF16-V", g_FXCMAP_UniKS_UCS2_V_1, nullptr, 18, 0,
+ FXCMAP_CMap::Range, FXCMAP_CMap::None, -1},
};
void CPDF_ModuleMgr::LoadEmbeddedKorea1CMaps() {