Poppler Qt5 24.12.0
Public Types | Public Member Functions | List of all members
Poppler::FontInfo Class Reference

#include <poppler-qt5.h>

Public Types

enum  Type {
  unknown , Type1 , Type1C , Type1COT ,
  Type3 , TrueType , TrueTypeOT , CIDType0 ,
  CIDType0C , CIDType0COT , CIDTrueType , CIDTrueTypeOT
}
 

Public Member Functions

QString file () const
 
 FontInfo (const FontInfo &fi)
 
bool isEmbedded () const
 
bool isSubset () const
 
QString name () const
 
FontInfooperator= (const FontInfo &fi)
 
QString substituteName () const
 
Type type () const
 
QString typeName () const
 
 ~FontInfo ()
 

Detailed Description

Container class for information about a font within a PDF document.

Member Function Documentation

◆ isEmbedded()

bool Poppler::FontInfo::isEmbedded ( ) const

Whether the font is embedded in the file, or not.

Returns
true if the font is embedded

◆ isSubset()

bool Poppler::FontInfo::isSubset ( ) const

Whether the font provided is only a subset of the full font or not.

This only has meaning if the font is embedded.

Returns
true if the font is only a subset

◆ name()

QString Poppler::FontInfo::name ( ) const

The name of the font.

Can be a null QString if the font has no name

◆ substituteName()

QString Poppler::FontInfo::substituteName ( ) const

The name of the substitute font.

Can be a null QString if the font has no substitute font

Since
0.80

◆ type()

Type Poppler::FontInfo::type ( ) const

The type of font encoding.

Returns
a enumerated value corresponding to the font encoding used
See also
typeName for a string equivalent

◆ typeName()

QString Poppler::FontInfo::typeName ( ) const

The name of the font encoding used.

Note
if you are looking for the name of the font (as opposed to the encoding format used), you probably want name().
See also
type for a enumeration version

The documentation for this class was generated from the following file: