DynaPDF Manual - Page 409

Previous Page 408   Index   Next Page 410

Function Reference
Page 409 of 818
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.
SI32 pdfGetFontSelMode(
const PPDF* IPDF) // Instance pointer
typedef enum
= 0,
smPostScriptName = 1,
= 2
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
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