Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cmaps_gb1.cpp
Go to the documentation of this file.
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/GB1/cmaps_gb1.h"
8
9#include <iterator>
10
11namespace fxcmap {
12
13const CMap kGB1_cmaps[] = {
14 {"GB-EUC-H", kGB_EUC_H_0, nullptr, 90, 0, CMap::Type::kRange, 0},
15 {"GB-EUC-V", kGB_EUC_V_0, nullptr, 20, 0, CMap::Type::kRange, -1},
16 {"GBpc-EUC-H", kGBpc_EUC_H_0, nullptr, 91, 0, CMap::Type::kRange, 0},
17 {"GBpc-EUC-V", kGBpc_EUC_V_0, nullptr, 20, 0, CMap::Type::kRange, -1},
18 {"GBK-EUC-H", kGBK_EUC_H_2, nullptr, 4071, 0, CMap::Type::kRange, 0},
19 {"GBK-EUC-V", kGBK_EUC_V_2, nullptr, 20, 0, CMap::Type::kRange, -1},
20 {"GBKp-EUC-H", kGBKp_EUC_H_2, nullptr, 4070, 0, CMap::Type::kRange, -2},
21 {"GBKp-EUC-V", kGBKp_EUC_V_2, nullptr, 20, 0, CMap::Type::kRange, -1},
22 {"GBK2K-H", kGBK2K_H_5, kGBK2K_H_5_DWord, 4071, 1017, CMap::Type::kRange,
23 -4},
24 {"GBK2K-V", kGBK2K_V_5, nullptr, 41, 0, CMap::Type::kRange, -1},
25 {"UniGB-UCS2-H", kUniGB_UCS2_H_4, nullptr, 13825, 0, CMap::Type::kRange, 0},
26 {"UniGB-UCS2-V", kUniGB_UCS2_V_4, nullptr, 24, 0, CMap::Type::kRange, -1},
27 {"UniGB-UTF16-H", kUniGB_UCS2_H_4, nullptr, 13825, 0, CMap::Type::kRange,
28 0},
29 {"UniGB-UTF16-V", kUniGB_UCS2_V_4, nullptr, 24, 0, CMap::Type::kRange, -1},
30};
31
33
34} // namespace fxcmap
const uint16_t kGBpc_EUC_H_0[]
const uint16_t kGB_EUC_V_0[]
const size_t kGB1_cmaps_size
Definition cmaps_gb1.cpp:32
const uint16_t kUniGB_UCS2_H_4[]
const uint16_t kGBK2K_H_5[]
Definition GBK2K-H_5.cpp:11
const uint16_t kGBK2K_V_5[]
Definition GBK2K-V_5.cpp:11
const uint16_t kUniGB_UCS2_V_4[]
const uint16_t kGBKp_EUC_V_2[]
const uint16_t kGBpc_EUC_V_0[]
const uint16_t kGBK_EUC_V_2[]
const DWordCIDMap kGBK2K_H_5_DWord[]
const uint16_t kGBK_EUC_H_2[]
const CMap kGB1_cmaps[]
Definition cmaps_gb1.cpp:13
const uint16_t kGBKp_EUC_H_2[]
const uint16_t kGB_EUC_H_0[90 *3]