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
12class PODOFO_API PdfFontCIDCFF final : public PdfFontCID
13{
14 friend class PdfFont;
15
16private:
25 const PdfEncoding& encoding);
26
27public:
28 bool SupportsSubsetting() const override;
29
30protected:
31 void embedFontFileSubset(const std::vector<PdfCharGIDInfo>& infos,
32 const PdfCIDSystemInfo& cidInfo) override;
33};
34
35};
36
37#endif // PDF_FONT_CID_TYPE1_H
PdfDocument is the core interface for working with PDF documents.
Definition PdfDocument.h:108
A PdfEncoding is in PdfFont to transform a text string into a representation so that it can be displa...
Definition PdfEncoding.h:51
A PdfFont that represents a CID-keyed font that has a CFF font backend (aka "CIDFontType0")
Definition PdfFontCIDCFF.h:13
A PdfFont that represents a CID-keyed font.
Definition PdfFontCID.h:14
Before you can draw text on a PDF document, you have to create a font object first.
Definition PdfFont.h:42
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
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:24