PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfFontCIDTrueType.h
1// SPDX-FileCopyrightText: 2007 Dominik Seichter <domseichter@web.de>
2// SPDX-FileCopyrightText: 2020 Francesco Pretto <ceztko@gmail.com>
3// SPDX-License-Identifier: LGPL-2.0-or-later OR MPL-2.0
4
5#ifndef PDF_FONT_CID_TRUE_TYPE_H
6#define PDF_FONT_CID_TRUE_TYPE_H
7
8#include "PdfFontCID.h"
9
10namespace PoDoFo {
11
13class PODOFO_API PdfFontCIDTrueType final : public PdfFontCID
14{
15 friend class PdfFont;
16
17private:
26 const PdfEncoding& encoding);
27
28protected:
29 void embedFontFileSubset(const std::vector<PdfCharGIDInfo>& infos,
30 const PdfCIDSystemInfo& cidInfo) override;
31};
32
33};
34
35#endif // PDF_FONT_CID_TRUE_TYPE_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 TrueType/OpenType font backend (aka "CIDFontTyp...
Definition PdfFontCIDTrueType.h:14
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