Poppler::FontInfo Class Reference

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

#include <poppler-qt4.h>

List of all members.

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)
Type type () const
QString typeName () const
 ~FontInfo ()

Detailed Description

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


Member Function Documentation

bool Poppler::FontInfo::isEmbedded (  )  const

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

Returns:
true if the font is embedded
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
QString Poppler::FontInfo::name (  )  const

The name of the font.

Can be QString::null if the font has no name

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
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:

Generated on Sun Oct 18 01:52:17 2009 for Poppler Qt4 by  doxygen 1.6.1