DynaPDF Manual - Page 392

Previous Page 391   Index   Next Page 393

Function Reference
Page 392 of 787
GetFontSearchOrder
Syntax:
void pdfGetFontSearchOrder(
const PPDF* IPDF,
// Instance pointer
TFontBaseType Order[4]) // Array to which the order can be copied
The function copies the current font search order to the parameter Order. Note that the function does
not perform any validity check.
GetFontSelMode
Syntax:
SI32 pdfGetFontSelMode(
const PPDF* IPDF) // Instance pointer
typedef enum
{
smFamilyName
= 0,
smPostScriptName = 1,
smFullName
= 2
}TFontSelMode;
The function returns the current font selection mode. The font selection mode describes what kind
of font name must be passed to SetFont(). Note that a font cannot be found if the wrong mode is set.
Default value = smFamilyName
GetFontWeight
Syntax:
SI32 pdfGetFontWeight(
const PPDF* IPDF) // Instance pointer
The function returns the weight that will be used to emulate a bold font style. See SetFontWeight()
for further information.
Font weights:
100 - 300
// Ultra light, Light
400 - 500
// Standard
600 - 1000 // Bold, Extra bold
 

Previous topic: GetFontMetrics

Next topic: GetFTextHeight, GetFTextHeightEx

Start Chat