PoDoFo 1.0.0-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
PdfFontTrueType.h
1
7#ifndef PDF_FONT_TRUE_TYPE_H
8#define PDF_FONT_TRUE_TYPE_H
9
10#include "PdfDeclarations.h"
11
12#include "PdfFontSimple.h"
13
14namespace PoDoFo {
15
22class PODOFO_API PdfFontTrueType final : public PdfFontSimple
23{
24 friend class PdfFont;
25
26private:
27
42 const PdfEncoding& encoding);
43
44public:
45 PdfFontType GetType() const override;
46};
47
48};
49
50#endif // PDF_FONT_TRUE_TYPE_H
51
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domseichter@web.de SPDX-FileCopyrightText: (C) 2020...
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
This is a common base class for simple, non CID-keyed fonts like Type1, TrueType and Type3.
Definition PdfFontSimple.h:20
A PdfFont implementation that can be used to embed truetype fonts into a PDF file or to draw with tru...
Definition PdfFontTrueType.h:23
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