libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
U_FontInfoParams Struct Reference

FontInfoParams hold font information that is needed by U_PMR_drawstring so that it can place text on the baseline. This must be extracted from the font file using an appropriate utility. (See testbed_pmf.c for a table of these values for some common fonts.) More...

#include <upmf.h>

Data Fields

char * name
 
int Ascent
 
int Descent
 
int LineGap
 
int EmSize
 
int yMax
 
int yMin
 

Detailed Description

FontInfoParams hold font information that is needed by U_PMR_drawstring so that it can place text on the baseline. This must be extracted from the font file using an appropriate utility. (See testbed_pmf.c for a table of these values for some common fonts.)

Field Documentation

int U_FontInfoParams::Ascent

in Font units (positive)

int U_FontInfoParams::Descent

in Font units (negative)

int U_FontInfoParams::EmSize

Y extent of Em square, usually 2048

int U_FontInfoParams::LineGap

in Font units (positive)

char* U_FontInfoParams::name

Font name (like "Arial")

int U_FontInfoParams::yMax

in Font units (positive)

int U_FontInfoParams::yMin

in Font units (negative)


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