poppler::font_info Class Reference

The information about a font used in a PDF document. More...

#include "poppler/cpp/poppler-font.h"

List of all members.

Public Types

enum  type_enum {
  unknown,
  type1,
  type1c,
  type1c_ot,
  type3,
  truetype,
  truetype_ot,
  cid_type0,
  cid_type0c,
  cid_type0c_ot,
  cid_truetype,
  cid_truetype_ot
}

Public Member Functions

 font_info (const font_info &fi)
 font_info ()
 ~font_info ()
std::string file () const
bool is_embedded () const
bool is_subset () const
std::string name () const
font_infooperator= (const font_info &fi)
type_enum type () const

Detailed Description

The information about a font used in a PDF document.


Member Enumeration Documentation

The various types of fonts available in a PDF document.


Constructor & Destructor Documentation

font_info::font_info (  ) 

Constructs an invalid font information.

font_info::font_info ( const font_info fi  ) 

Copy constructor.

font_info::~font_info (  ) 

Destructor.


Member Function Documentation

std::string font_info::file (  )  const
Returns:
the file name of the font, in case the font is not embedded nor subset
bool font_info::is_embedded (  )  const
Returns:
whether the font is totally embedded in the document
bool font_info::is_subset (  )  const
Returns:
whether there is a subset of the font embedded in the document
std::string font_info::name (  )  const
Returns:
the name of the font
font_info & font_info::operator= ( const font_info fi  ) 

Assignment operator.

font_info::type_enum font_info::type (  )  const
Returns:
the type of the font

Generated on 27 Dec 2015 for Poppler CPP by  doxygen 1.6.1