#include "core/fpdfapi/font/cpdf_cmapparser.h"
#include <ctype.h>
#include <array>
#include <iterator>
#include "core/fpdfapi/cmaps/fpdf_cmaps.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_simple_parser.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/fx_safe_types.h"
namespace {
ByteStringView CMap_GetString(ByteStringView word) { … }
}
CPDF_CMapParser::CPDF_CMapParser(CPDF_CMap* pCMap) : … { … }
CPDF_CMapParser::~CPDF_CMapParser() { … }
void CPDF_CMapParser::ParseWord(ByteStringView word) { … }
void CPDF_CMapParser::HandleCid(ByteStringView word) { … }
void CPDF_CMapParser::HandleCodeSpaceRange(ByteStringView word) { … }
uint32_t CPDF_CMapParser::GetCode(ByteStringView word) { … }
std::optional<CPDF_CMap::CodeRange> CPDF_CMapParser::GetCodeRange(
ByteStringView first,
ByteStringView second) { … }
CIDSet CPDF_CMapParser::CharsetFromOrdering(ByteStringView ordering) { … }