Open CASCADE Technology  7.7.0
Public Member Functions | Data Fields
Font_FTFontParams Struct Reference

Font initialization parameters. More...

#include <Font_FTFont.hxx>

Public Member Functions

 Font_FTFontParams ()
 Empty constructor. More...
 
 Font_FTFontParams (unsigned int thePointSize, unsigned int theResolution)
 Constructor. More...
 

Data Fields

unsigned int PointSize
 face size in points (1/72 inch) More...
 
unsigned int Resolution
 resolution of the target device in dpi for FT_Set_Char_Size() More...
 
Font_Hinting FontHinting
 request hinting (exclude FT_LOAD_NO_HINTING flag), Font_Hinting_Off by default; hinting improves readability of thin text on low-resolution screen, but adds distortions to original font depending on font family and font library version More...
 
bool ToSynthesizeItalic
 generate italic style (e.g. for font family having no italic style); FALSE by default More...
 
bool IsSingleStrokeFont
 single-stroke (one-line) font, FALSE by default More...
 

Detailed Description

Font initialization parameters.

Constructor & Destructor Documentation

◆ Font_FTFontParams() [1/2]

Font_FTFontParams::Font_FTFontParams ( )
inline

Empty constructor.

◆ Font_FTFontParams() [2/2]

Font_FTFontParams::Font_FTFontParams ( unsigned int  thePointSize,
unsigned int  theResolution 
)
inline

Constructor.

Field Documentation

◆ FontHinting

Font_Hinting Font_FTFontParams::FontHinting

request hinting (exclude FT_LOAD_NO_HINTING flag), Font_Hinting_Off by default; hinting improves readability of thin text on low-resolution screen, but adds distortions to original font depending on font family and font library version

◆ IsSingleStrokeFont

bool Font_FTFontParams::IsSingleStrokeFont

single-stroke (one-line) font, FALSE by default

◆ PointSize

unsigned int Font_FTFontParams::PointSize

face size in points (1/72 inch)

◆ Resolution

unsigned int Font_FTFontParams::Resolution

resolution of the target device in dpi for FT_Set_Char_Size()

◆ ToSynthesizeItalic

bool Font_FTFontParams::ToSynthesizeItalic

generate italic style (e.g. for font family having no italic style); FALSE by default


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