7 #ifndef PDF_PREDEFINED_TO_UNICODE_CMAP_H
8 #define PDF_PREDEFINED_TO_UNICODE_CMAP_H
10 #include "PdfCMapEncoding.h"
28 const PdfEncodingLimits& GetLimits()
const override;
32 bool tryGetCharCode(char32_t codePoint,
PdfCharCode& codeUnit)
const override;
39 const PdfCMapEncoding& GetToUnicodeMap() {
return *m_ToUnicode; }
40 const PdfCMapEncoding& GetCIDEncodingMap() {
return *m_CIDEncoding; }
A memory owning immutable block of code points, optimized for small segments as up to 3 elements can ...
Definition: PdfCharCodeMap.h:29
An interface for writing blocks of data to a data source.
Definition: OutputStream.h:18
This factory creates a PdfEncoding from an existing object in the PDF.
Definition: PdfEncodingFactory.h:20
A PdfEncodingMap is a low level interface to convert between utf8 and encoded strings in and to deter...
Definition: PdfEncodingMap.h:28
Before you can draw text on a PDF document, you have to create a font object first.
Definition: PdfFont.h:49
Represents a predefined ToUnicode CMap as the ones described in ISO 32000-2:2020 "9....
Definition: PdfPredefinedToUnicodeCMap.h:21
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition: basetypes.h:38
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16
cspan< char32_t > unicodeview
Unicode code point view.
Definition: basetypes.h:27
std::shared_ptr< const PdfCMapEncoding > PdfCMapEncodingConstPtr
Convenience typedef for a const CMap encoding shared ptr.
Definition: PdfCMapEncoding.h:25
A character code unit.
Definition: PdfEncodingCommon.h:20