Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qharfbuzzng_p.h File Reference
#include <QtGui/private/qtguiglobal_p.h>
#include <QtCore/qchar.h>
+ Include dependency graph for qharfbuzzng_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct hb_face_t hb_face_t
 
typedef struct hb_font_t hb_font_t
 

Functions

 QT_REQUIRE_CONFIG (harfbuzz)
 
Q_GUI_EXPORT hb_face_thb_qt_face_get_for_engine (QFontEngine *fe)
 
Q_GUI_EXPORT hb_font_thb_qt_font_get_for_engine (QFontEngine *fe)
 
Q_GUI_EXPORT void hb_qt_font_set_use_design_metrics (hb_font_t *font, uint value)
 
Q_GUI_EXPORT uint hb_qt_font_get_use_design_metrics (hb_font_t *font)
 

Typedef Documentation

◆ hb_face_t

typedef struct hb_face_t hb_face_t

Definition at line 30 of file qharfbuzzng_p.h.

◆ hb_font_t

typedef struct hb_font_t hb_font_t

Definition at line 31 of file qharfbuzzng_p.h.

Function Documentation

◆ hb_qt_face_get_for_engine()

Q_GUI_EXPORT hb_face_t * hb_qt_face_get_for_engine ( QFontEngine fe)

Definition at line 638 of file qharfbuzzng.cpp.

References _hb_qt_face_create(), _hb_qt_face_release(), QFontEngine::face_, QFontEngine::Holder::get(), QFontEngine::Multi, Q_ASSERT, Q_UNLIKELY, and QFontEngine::type().

Referenced by _hb_qt_font_create(), QFontEngine::harfbuzzFace(), and QFontEngine::supportsScript().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hb_qt_font_get_for_engine()

Q_GUI_EXPORT hb_font_t * hb_qt_font_get_for_engine ( QFontEngine fe)

Definition at line 674 of file qharfbuzzng.cpp.

References _hb_qt_font_create(), _hb_qt_font_release(), QFontEngine::font_, QFontEngine::Holder::get(), QFontEngine::Multi, Q_ASSERT, Q_UNLIKELY, and QFontEngine::type().

Referenced by QFontEngine::harfbuzzFont().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hb_qt_font_get_use_design_metrics()

Q_GUI_EXPORT uint hb_qt_font_get_use_design_metrics ( hb_font_t font)

Definition at line 559 of file qharfbuzzng.cpp.

References _useDesignMetricsKey, and font.

Referenced by _hb_qt_font_get_glyph_h_advance(), and _hb_qt_font_get_glyph_h_kerning().

+ Here is the caller graph for this function:

◆ hb_qt_font_set_use_design_metrics()

Q_GUI_EXPORT void hb_qt_font_set_use_design_metrics ( hb_font_t font,
uint  value 
)

Definition at line 554 of file qharfbuzzng.cpp.

References _useDesignMetricsKey, and font.

◆ QT_REQUIRE_CONFIG()

QT_REQUIRE_CONFIG ( harfbuzz  )