PoDoFo 1.0.0-dev
Loading...
Searching...
No Matches
PdfFontCIDTrueType.h
1
7#ifndef PDF_FONT_CID_TRUE_TYPE_H
8#define PDF_FONT_CID_TRUE_TYPE_H
9
10#include "PdfFontCID.h"
11
12namespace PoDoFo {
13
16class PODOFO_API PdfFontCIDTrueType final : public PdfFontCID
17{
18 friend class PdfFont;
19
20private:
30 const PdfEncoding& encoding);
31
32public:
33 PdfFontType GetType() const override;
34
35protected:
36 void embedFontFileSubset(const std::vector<PdfCharGIDInfo>& infos,
37 const PdfCIDSystemInfo& cidInfo) override;
38};
39
40};
41
42#endif // PDF_FONT_CID_TRUE_TYPE_H
PdfDocument is the core interface for working with PDF documents.
Definition PdfDocument.h:111
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 TrueType/OpenType font backend (aka "CIDFontTyp...
Definition PdfFontCIDTrueType.h:17
A PdfFont that represents a CID-keyed font.
Definition PdfFontCID.h:17
Before you can draw text on a PDF document, you have to create a font object first.
Definition PdfFont.h:45
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
std::shared_ptr< const PdfFontMetrics > PdfFontMetricsConstPtr
Convenience typedef for a const PdfEncoding shared ptr.
Definition PdfFontMetrics.h:27
PdfFontType
Enum specifying the type of the font.
Definition PdfDeclarations.h:286