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
cpdf_cid2unicodemap.h
Go to the documentation of this file.
1// Copyright 2017 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#ifndef CORE_FPDFAPI_FONT_CPDF_CID2UNICODEMAP_H_
8#define CORE_FPDFAPI_FONT_CPDF_CID2UNICODEMAP_H_
9
10#include "core/fpdfapi/font/cpdf_cidfont.h"
11#include "third_party/base/containers/span.h"
12
14 public:
15 explicit CPDF_CID2UnicodeMap(CIDSet charset);
17
18 bool IsLoaded() const;
19 wchar_t UnicodeFromCID(uint16_t cid) const;
20
21 private:
22 const CIDSet m_Charset;
23 const pdfium::span<const uint16_t> m_pEmbeddedMap;
24};
25
26#endif // CORE_FPDFAPI_FONT_CPDF_CID2UNICODEMAP_H_
wchar_t UnicodeFromCID(uint16_t cid) const
CPDF_CID2UnicodeMap(CIDSet charset)
CIDSet
@ CIDSET_UNICODE