ADi-FontEngine  1.0
PDF Optimized FontEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FontEngine::TFontDictionary Struct Reference

contain font properties, derived from PDF format, see also FontDescriptor
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf More...

#include <FontEngineTypes.h>

Public Member Functions

 TFontDictionary ()
 default ctor More...
 

Public Attributes

std::string _fontname
 UTF-8 encoded; the font name. More...
 
std::string _fontfamily
 UTF-8 encoded; the font family name. More...
 
TPDFFontFlags _pdfflags
 the font characteristics as bit mask (same as in PDF FontDescriptor), see EPDFFontFlags More...
 
TBBox _fontbox
 the font bounding box all glyphs must be inside these rectangle More...
 
double _italicangle
 a font angle to describe angle of italic or oblique fonts shall be 0 if unknown More...
 
double _fontweight
 the font weigth, possible values shall be 100, 200, 300, 400, 500, 600, 700, 800, or 900 More...
 
double _ascent
 the maximum height above the baseline More...
 
double _descent
 the maximum depth below the baseline, shall be nagativ or 0 More...
 
double _capheight
 the vertical coordinate of the top of flat capital letters from baseline (like the letter H) More...
 
double _xheight
 the vertical coordinate of the top of flat nonascending lowercase letters (like the letter x) More...
 
double _stemv
 the horizontally thickness of the dominant vertical stems of glyphs in the font. In TrueType fonts this will be calculated form _fontweight More...
 

Detailed Description

contain font properties, derived from PDF format, see also FontDescriptor
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf

Constructor & Destructor Documentation

FontEngine::TFontDictionary::TFontDictionary ( )
inline

default ctor

Member Data Documentation

double FontEngine::TFontDictionary::_ascent

the maximum height above the baseline

double FontEngine::TFontDictionary::_capheight

the vertical coordinate of the top of flat capital letters from baseline (like the letter H)

double FontEngine::TFontDictionary::_descent

the maximum depth below the baseline, shall be nagativ or 0

TBBox FontEngine::TFontDictionary::_fontbox

the font bounding box all glyphs must be inside these rectangle

std::string FontEngine::TFontDictionary::_fontfamily

UTF-8 encoded; the font family name.

std::string FontEngine::TFontDictionary::_fontname

UTF-8 encoded; the font name.

double FontEngine::TFontDictionary::_fontweight

the font weigth, possible values shall be 100, 200, 300, 400, 500, 600, 700, 800, or 900

double FontEngine::TFontDictionary::_italicangle

a font angle to describe angle of italic or oblique fonts shall be 0 if unknown

TPDFFontFlags FontEngine::TFontDictionary::_pdfflags

the font characteristics as bit mask (same as in PDF FontDescriptor), see EPDFFontFlags

double FontEngine::TFontDictionary::_stemv

the horizontally thickness of the dominant vertical stems of glyphs in the font. In TrueType fonts this will be calculated form _fontweight

double FontEngine::TFontDictionary::_xheight

the vertical coordinate of the top of flat nonascending lowercase letters (like the letter x)


The documentation for this struct was generated from the following file:
InsideFont and ADI-FontEngine : Andreas Dippe, © 2013
http://www.insidefont.de