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
9namespace fxcmap {
10namespace {
11
12const CMap kGB1_cmaps[] = {
13 {"GB-EUC-H", kGB_EUC_H_0, nullptr, 90, 0, CMap::Type::kRange, 0},
14 {"GB-EUC-V", kGB_EUC_V_0, nullptr, 20, 0, CMap::Type::kRange, -1},
15 {"GBpc-EUC-H", kGBpc_EUC_H_0, nullptr, 91, 0, CMap::Type::kRange, 0},
16 {"GBpc-EUC-V", kGBpc_EUC_V_0, nullptr, 20, 0, CMap::Type::kRange, -1},
17 {"GBK-EUC-H", kGBK_EUC_H_2, nullptr, 4071, 0, CMap::Type::kRange, 0},
18 {"GBK-EUC-V", kGBK_EUC_V_2, nullptr, 20, 0, CMap::Type::kRange, -1},
19 {"GBKp-EUC-H", kGBKp_EUC_H_2, nullptr, 4070, 0, CMap::Type::kRange, -2},
20 {"GBKp-EUC-V", kGBKp_EUC_V_2, nullptr, 20, 0, CMap::Type::kRange, -1},
21 {"GBK2K-H", kGBK2K_H_5, kGBK2K_H_5_DWord, 4071, 1017, CMap::Type::kRange,
22 -4},
23 {"GBK2K-V", kGBK2K_V_5, nullptr, 41, 0, CMap::Type::kRange, -1},
24 {"UniGB-UCS2-H", kUniGB_UCS2_H_4, nullptr, 13825, 0, CMap::Type::kRange, 0},
25 {"UniGB-UCS2-V", kUniGB_UCS2_V_4, nullptr, 24, 0, CMap::Type::kRange, -1},
26 {"UniGB-UTF16-H", kUniGB_UCS2_H_4, nullptr, 13825, 0, CMap::Type::kRange,
27 0},
28 {"UniGB-UTF16-V", kUniGB_UCS2_V_4, nullptr, 24, 0, CMap::Type::kRange, -1},
29};
30
31} // namespace
32
33const pdfium::span<const CMap> kGB1_cmaps_span{kGB1_cmaps};
34
35} // namespace fxcmap
const uint16_t kGBpc_EUC_H_0[]
const uint16_t kGB_EUC_V_0[]
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 pdfium::span< const CMap > kGB1_cmaps_span
Definition cmaps_gb1.cpp:33
const uint16_t kGB_EUC_H_0[]
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 uint16_t kGBKp_EUC_H_2[]