PDFTool  7.0
PtlFontInfo.h
1 // PtlFontInfo.h
3 // Copyright (C) 2020 Antenna House,Inc.
4 // All rights reserved.
6 #ifndef PDFTK_PTLFONTINFO_H_
7 #define PDFTK_PTLFONTINFO_H_
8 
9 #include "PtlParamString.h"
10 
11 namespace PdfTk {
12 
17 class PDFTK_API PtlFontInfo
18 {
19 public:
23  enum FONT_TYPE {
24  FONT_TRUETYPE = 1,
25  FONT_TYPE1 = 2,
26  FONT_MMType1 = 3,
27  FONT_TYPE3 = 4,
28  FONT_CID_TRUETYPE = 5,
29  FONT_CID_TYPE1 = 6,
30  FONT_UNKNOWN = 100
31  };
32 
37  ENCODING_NAME = 1,
38  ENCODING_CUSTOM = 2,
39  ENCODING_BUILTIN = 3,
40  ENCODING_UNKNOWN = 100
41  };
42 
43 private:
44  int m_dataFontInfo;
45 public:
46  int getHandle() const;
47 
48 public:
54 
60  PtlFontInfo(const PtlFontInfo& obj);
61 
66 
67 public:
73 
74 public:
81 
88 
95 
102 
108  bool isEmbedded() const;
109 };
110 
111 }
112 #endif
113 
PdfTk::PtlFontInfo::getFontType
FONT_TYPE getFontType() const
フォントタイプを取得。
PdfTk::PtlFontInfo::getEncodingType
ENCODING_TYPE getEncodingType() const
エンコーディングタイプを取得。
PdfTk::PtlFontInfo::operator=
PtlFontInfo & operator=(const PtlFontInfo &obj)
コピーオペレータ
PdfTk::PtlFontInfo::PtlFontInfo
PtlFontInfo()
コンストラクタ
PdfTk::PtlFontInfo::PtlFontInfo
PtlFontInfo(const PtlFontInfo &obj)
コピーコンストラクタ
PdfTk::PtlFontInfo::getFontName
PtlParamString getFontName() const
フォント名を取得。
PdfTk::PtlFontInfo::getEncodingName
PtlParamString getEncodingName() const
エンコーディング名を取得。
PdfTk::PtlParamString
文字列を扱うクラスです。
Definition: PtlParamString.h:27
PdfTk::PtlFontInfo::ENCODING_TYPE
ENCODING_TYPE
エンコーディングタイプ
Definition: PtlFontInfo.h:36
PdfTk::PtlFontInfo
フォントの情報を表現したクラスです。
Definition: PtlFontInfo.h:18
PdfTk::PtlFontInfo::FONT_TYPE
FONT_TYPE
フォントタイプ
Definition: PtlFontInfo.h:23
PdfTk::PtlFontInfo::‾PtlFontInfo
‾PtlFontInfo()
デストラクタ
PdfTk::PtlFontInfo::isEmbedded
bool isEmbedded() const
フォント埋め込みされているかどうかを取得。