OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Font_FTFontParams Struct Reference

    Font initialization parameters. More...

    #include <Font_FTFont.hxx>

    Public Member Functions

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

    Data Fields

    unsigned int PointSize
     face size in points (1/72 inch)
    unsigned int Resolution
     resolution of the target device in dpi for FT_Set_Char_Size()
    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
    bool ToSynthesizeItalic
     generate italic style (e.g. for font family having no italic style); FALSE by default
    bool IsSingleStrokeFont
     single-stroke (one-line) font, FALSE by default

    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: