7 #ifndef PDF_ENCODING_MAP_FACTORY_H
8 #define PDF_ENCODING_MAP_FACTORY_H
10 #include "PdfEncodingMap.h"
11 #include "PdfCMapEncoding.h"
22 friend class PdfFontMetricsFreetype;
28 static bool TryParseCMapEncoding(
const PdfObject& cmapObj, std::unique_ptr<PdfEncodingMap>& encoding);
34 static std::unique_ptr<PdfEncodingMap> ParseCMapEncoding(
const PdfObject& cmapObj);
PdfDifferenceEncoding is an encoding, which is based on either the fonts encoding or a predefined enc...
Definition: PdfDifferenceEncoding.h:108
This factory creates a PdfEncoding from an existing object in the PDF.
Definition: PdfEncodingFactory.h:20
This factory creates a PdfEncodingMap.
Definition: PdfEncodingMapFactory.h:18
A PdfEncoding is in PdfFont to transform a text string into a representation so that it can be displa...
Definition: PdfEncoding.h:55
This class represents a PDF indirect Object in memory.
Definition: PdfObject.h:35
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16
std::shared_ptr< const PdfCMapEncoding > PdfCMapEncodingConstPtr
Convenience typedef for a const CMap encoding shared ptr.
Definition: PdfCMapEncoding.h:25
std::shared_ptr< const PdfBuiltInEncoding > PdfBuiltInEncodingConstPtr
Convenience typedef for a const /Encoding map entry shared ptr.
Definition: PdfEncodingMap.h:347
std::shared_ptr< const PdfEncodingMap > PdfEncodingMapConstPtr
Convenience typedef for a const /Encoding map entry shared ptr.
Definition: PdfEncodingMap.h:343