1 // Copyright 2014 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #include "core/fpdfapi/cmaps/Japan1/cmaps_japan1.h" 8 9 #include <iterator> 10 11 namespace fxcmap { 12 13 const CMap kJapan1_cmaps[] = { 14 {"83pv-RKSJ-H", k83pv_RKSJ_H_1, nullptr, 222, 0, CMap::Type::kRange, 0}, 15 {"90ms-RKSJ-H", k90ms_RKSJ_H_2, nullptr, 171, 0, CMap::Type::kRange, 0}, 16 {"90ms-RKSJ-V", k90ms_RKSJ_V_2, nullptr, 78, 0, CMap::Type::kRange, -1}, 17 {"90msp-RKSJ-H", k90msp_RKSJ_H_2, nullptr, 170, 0, CMap::Type::kRange, -2}, 18 {"90msp-RKSJ-V", k90msp_RKSJ_V_2, nullptr, 78, 0, CMap::Type::kRange, -1}, 19 {"90pv-RKSJ-H", k90pv_RKSJ_H_1, nullptr, 263, 0, CMap::Type::kRange, 0}, 20 {"Add-RKSJ-H", kAdd_RKSJ_H_1, nullptr, 635, 0, CMap::Type::kRange, 0}, 21 {"Add-RKSJ-V", kAdd_RKSJ_V_1, nullptr, 57, 0, CMap::Type::kRange, -1}, 22 {"EUC-H", kEUC_H_1, nullptr, 120, 0, CMap::Type::kRange, 0}, 23 {"EUC-V", kEUC_V_1, nullptr, 27, 0, CMap::Type::kRange, -1}, 24 {"Ext-RKSJ-H", kExt_RKSJ_H_2, nullptr, 665, 0, CMap::Type::kRange, -4}, 25 {"Ext-RKSJ-V", kExt_RKSJ_V_2, nullptr, 39, 0, CMap::Type::kRange, -1}, 26 {"H", kH_1, nullptr, 118, 0, CMap::Type::kRange, 0}, 27 {"V", kV_1, nullptr, 27, 0, CMap::Type::kRange, -1}, 28 {"UniJIS-UCS2-H", kUniJIS_UCS2_H_4, nullptr, 9772, 0, CMap::Type::kSingle, 29 0}, 30 {"UniJIS-UCS2-V", kUniJIS_UCS2_V_4, nullptr, 251, 0, CMap::Type::kSingle, 31 -1}, 32 {"UniJIS-UCS2-HW-H", kUniJIS_UCS2_HW_H_4, nullptr, 4, 0, CMap::Type::kRange, 33 -2}, 34 {"UniJIS-UCS2-HW-V", kUniJIS_UCS2_HW_V_4, nullptr, 199, 0, 35 CMap::Type::kRange, -1}, 36 {"UniJIS-UTF16-H", kUniJIS_UCS2_H_4, nullptr, 9772, 0, CMap::Type::kSingle, 37 0}, 38 {"UniJIS-UTF16-V", kUniJIS_UCS2_V_4, nullptr, 251, 0, CMap::Type::kSingle, 39 -1}, 40 }; 41 42 const size_t kJapan1_cmaps_size = std::size(kJapan1_cmaps); 43 44 } // namespace fxcmap 45