1namespace Poppler { 2 3class FontInfo { 4%TypeHeaderCode 5#include <qt5/poppler-qt5.h> 6%End 7 8public: 9 enum Type { 10 unknown, 11 Type1, 12 Type1C, 13 Type1COT, 14 Type3, 15 TrueType, 16 TrueTypeOT, 17 CIDType0, 18 CIDType0C, 19 CIDType0COT, 20 CIDTrueType, 21 CIDTrueTypeOT, 22 }; 23 FontInfo(); 24// FontInfo( const FontInfoData &fid ); 25 FontInfo( const Poppler::FontInfo &fi ); 26 ~FontInfo(); 27 QString name() const; 28 QString file() const; 29 bool isEmbedded() const; 30 bool isSubset() const; 31 Type type() const; 32 QString typeName() const; 33 34}; // class FontInfo 35 36}; // namespace Poppler 37