PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfFontCIDCFF.h
1// SPDX-FileCopyrightText: 2021 Francesco Pretto <ceztko@gmail.com>
2// SPDX-License-Identifier: LGPL-2.0-or-later OR MPL-2.0
3
4#ifndef PDF_FONT_CID_TYPE1_H
5#define PDF_FONT_CID_TYPE1_H
6
7#include "PdfFontCID.h"
8
9namespace PoDoFo {
10
13class PODOFO_API PdfFontCIDCFF final : public PdfFontCID
14{
15 friend class PdfFont;
16
17private:
27 const PdfEncoding& encoding);
28
29public:
30 bool SupportsSubsetting() const override;
31
32protected:
33 void embedFontFileSubset(const std::vector<PdfCharGIDInfo>& infos,
34 const PdfCIDSystemInfo& cidInfo) override;
35};
36
37};
38
39#endif // PDF_FONT_CID_TYPE1_H
PdfDocument is the core interface for working with PDF documents.
Definition PdfDocument.h:109
A PdfEncoding is in PdfFont to transform a text string into a representation so that it can be displa...
Definition PdfEncoding.h:55
A PdfFont that represents a CID-keyed font that has a CFF font backend (aka "CIDFontType0")
Definition PdfFontCIDCFF.h:14
A PdfFont that represents a CID-keyed font.
Definition PdfFontCID.h:15
Before you can draw text on a PDF document, you have to create a font object first.
Definition PdfFont.h:43
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:35
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13
std::shared_ptr< const PdfFontMetrics > PdfFontMetricsConstPtr
Convenience typedef for a const PdfEncoding shared ptr.
Definition PdfFontMetrics.h:25