Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qharfbuzzng.cpp File Reference

(85899ff181984a1310cd1ad10cdb0824f1ca5118)

#include "qharfbuzzng_p.h"
#include <qstring.h>
#include <private/qstringiterator_p.h>
#include "qfontengine_p.h"
Include dependency graph for qharfbuzzng.cpp:

Go to the source code of this file.

Classes

struct  _hb_unicode_funcs_t
struct  _hb_qt_font_funcs_t

Functions

hb_script_t hb_qt_script_to_script (QChar::Script script)
QChar::Script hb_qt_script_from_script (hb_script_t script)
static hb_unicode_combining_class_t _hb_qt_unicode_combining_class (hb_unicode_funcs_t *, hb_codepoint_t unicode, void *)
static hb_unicode_general_category_t _hb_qt_unicode_general_category (hb_unicode_funcs_t *, hb_codepoint_t unicode, void *)
static hb_codepoint_t _hb_qt_unicode_mirroring (hb_unicode_funcs_t *, hb_codepoint_t unicode, void *)
static hb_script_t _hb_qt_unicode_script (hb_unicode_funcs_t *, hb_codepoint_t unicode, void *)
static hb_bool_t _hb_qt_unicode_compose (hb_unicode_funcs_t *, hb_codepoint_t a, hb_codepoint_t b, hb_codepoint_t *ab, void *)
static hb_bool_t _hb_qt_unicode_decompose (hb_unicode_funcs_t *, hb_codepoint_t ab, hb_codepoint_t *a, hb_codepoint_t *b, void *)
hb_unicode_funcs_t * hb_qt_get_unicode_funcs ()
static hb_bool_t _hb_qt_get_font_h_extents (hb_font_t *, void *font_data, hb_font_extents_t *metrics, void *)
static hb_bool_t _hb_qt_font_get_nominal_glyph (hb_font_t *, void *font_data, hb_codepoint_t unicode, hb_codepoint_t *glyph, void *)
static hb_bool_t _hb_qt_font_get_variation_glyph (hb_font_t *, void *font_data, hb_codepoint_t unicode, hb_codepoint_t, hb_codepoint_t *glyph, void *)
static hb_position_t _hb_qt_font_get_glyph_h_advance (hb_font_t *font, void *font_data, hb_codepoint_t glyph, void *)
static hb_position_t _hb_qt_font_get_glyph_h_kerning (hb_font_t *font, void *font_data, hb_codepoint_t first_glyph, hb_codepoint_t second_glyph, void *)
static hb_bool_t _hb_qt_font_get_glyph_extents (hb_font_t *, void *font_data, hb_codepoint_t glyph, hb_glyph_extents_t *extents, void *)
static hb_bool_t _hb_qt_font_get_glyph_contour_point (hb_font_t *, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *)
void hb_qt_font_set_use_design_metrics (hb_font_t *font, uint value)
uint hb_qt_font_get_use_design_metrics (hb_font_t *font)
static hb_blob_t * _hb_qt_reference_table (hb_face_t *, hb_tag_t tag, void *user_data)
static hb_face_t_hb_qt_face_create (QFontEngine *fe)
static void _hb_qt_face_release (void *user_data)
hb_face_thb_qt_face_get_for_engine (QFontEngine *fe)
static hb_font_t_hb_qt_font_create (QFontEngine *fe)
static void _hb_qt_font_release (void *user_data)
hb_font_thb_qt_font_get_for_engine (QFontEngine *fe)

Variables

static QT_BEGIN_NAMESPACE const hb_script_t _qtscript_to_hbscript []
static const hb_unicode_general_category_t _qtcategory_to_hbcategory []
static hb_user_data_key_t _useDesignMetricsKey

Function Documentation

◆ _hb_qt_face_create()

hb_face_t * _hb_qt_face_create ( QFontEngine * fe)
inlinestatic

Definition at line 636 of file qharfbuzzng.cpp.

◆ _hb_qt_face_release()

void _hb_qt_face_release ( void * user_data)
static

Definition at line 652 of file qharfbuzzng.cpp.

◆ _hb_qt_font_create()

hb_font_t * _hb_qt_font_create ( QFontEngine * fe)
inlinestatic

Definition at line 669 of file qharfbuzzng.cpp.

References hb_qt_face_get_for_engine().

Here is the call graph for this function:

◆ _hb_qt_font_get_glyph_contour_point()

hb_bool_t _hb_qt_font_get_glyph_contour_point ( hb_font_t * ,
void * font_data,
hb_codepoint_t glyph,
unsigned int point_index,
hb_position_t * x,
hb_position_t * y,
void *  )
static

Definition at line 550 of file qharfbuzzng.cpp.

◆ _hb_qt_font_get_glyph_extents()

hb_bool_t _hb_qt_font_get_glyph_extents ( hb_font_t * ,
void * font_data,
hb_codepoint_t glyph,
hb_glyph_extents_t * extents,
void *  )
static

Definition at line 531 of file qharfbuzzng.cpp.

◆ _hb_qt_font_get_glyph_h_advance()

hb_position_t _hb_qt_font_get_glyph_h_advance ( hb_font_t * font,
void * font_data,
hb_codepoint_t glyph,
void *  )
static

Definition at line 490 of file qharfbuzzng.cpp.

◆ _hb_qt_font_get_glyph_h_kerning()

hb_position_t _hb_qt_font_get_glyph_h_kerning ( hb_font_t * font,
void * font_data,
hb_codepoint_t first_glyph,
hb_codepoint_t second_glyph,
void *  )
static

Definition at line 510 of file qharfbuzzng.cpp.

◆ _hb_qt_font_get_nominal_glyph()

hb_bool_t _hb_qt_font_get_nominal_glyph ( hb_font_t * ,
void * font_data,
hb_codepoint_t unicode,
hb_codepoint_t * glyph,
void *  )
static

Definition at line 461 of file qharfbuzzng.cpp.

◆ _hb_qt_font_get_variation_glyph()

hb_bool_t _hb_qt_font_get_variation_glyph ( hb_font_t * ,
void * font_data,
hb_codepoint_t unicode,
hb_codepoint_t ,
hb_codepoint_t * glyph,
void *  )
static

Definition at line 475 of file qharfbuzzng.cpp.

◆ _hb_qt_font_release()

void _hb_qt_font_release ( void * user_data)
static

Definition at line 688 of file qharfbuzzng.cpp.

◆ _hb_qt_get_font_h_extents()

hb_bool_t _hb_qt_get_font_h_extents ( hb_font_t * ,
void * font_data,
hb_font_extents_t * metrics,
void *  )
static

Definition at line 446 of file qharfbuzzng.cpp.

◆ _hb_qt_reference_table()

hb_blob_t * _hb_qt_reference_table ( hb_face_t * ,
hb_tag_t tag,
void * user_data )
static

Definition at line 611 of file qharfbuzzng.cpp.

◆ _hb_qt_unicode_combining_class()

hb_unicode_combining_class_t _hb_qt_unicode_combining_class ( hb_unicode_funcs_t * ,
hb_codepoint_t unicode,
void *  )
static

Definition at line 270 of file qharfbuzzng.cpp.

◆ _hb_qt_unicode_compose()

hb_bool_t _hb_qt_unicode_compose ( hb_unicode_funcs_t * ,
hb_codepoint_t a,
hb_codepoint_t b,
hb_codepoint_t * ab,
void *  )
static

Definition at line 341 of file qharfbuzzng.cpp.

◆ _hb_qt_unicode_decompose()

hb_bool_t _hb_qt_unicode_decompose ( hb_unicode_funcs_t * ,
hb_codepoint_t ab,
hb_codepoint_t * a,
hb_codepoint_t * b,
void *  )
static

Definition at line 361 of file qharfbuzzng.cpp.

◆ _hb_qt_unicode_general_category()

hb_unicode_general_category_t _hb_qt_unicode_general_category ( hb_unicode_funcs_t * ,
hb_codepoint_t unicode,
void *  )
static

Definition at line 317 of file qharfbuzzng.cpp.

◆ _hb_qt_unicode_mirroring()

hb_codepoint_t _hb_qt_unicode_mirroring ( hb_unicode_funcs_t * ,
hb_codepoint_t unicode,
void *  )
static

Definition at line 325 of file qharfbuzzng.cpp.

◆ _hb_qt_unicode_script()

hb_script_t _hb_qt_unicode_script ( hb_unicode_funcs_t * ,
hb_codepoint_t unicode,
void *  )
static

Definition at line 333 of file qharfbuzzng.cpp.

◆ hb_qt_face_get_for_engine()

hb_face_t * hb_qt_face_get_for_engine ( QFontEngine * fe)

Definition at line 657 of file qharfbuzzng.cpp.

Referenced by _hb_qt_font_create().

Here is the caller graph for this function:

◆ hb_qt_font_get_for_engine()

hb_font_t * hb_qt_font_get_for_engine ( QFontEngine * fe)

Definition at line 693 of file qharfbuzzng.cpp.

◆ hb_qt_font_get_use_design_metrics()

uint hb_qt_font_get_use_design_metrics ( hb_font_t * font)

Definition at line 578 of file qharfbuzzng.cpp.

◆ hb_qt_font_set_use_design_metrics()

void hb_qt_font_set_use_design_metrics ( hb_font_t * font,
uint value )

Definition at line 573 of file qharfbuzzng.cpp.

◆ hb_qt_get_unicode_funcs()

hb_unicode_funcs_t * hb_qt_get_unicode_funcs ( )

Definition at line 437 of file qharfbuzzng.cpp.

◆ hb_qt_script_from_script()

QChar::Script hb_qt_script_from_script ( hb_script_t script)

Definition at line 260 of file qharfbuzzng.cpp.

◆ hb_qt_script_to_script()

hb_script_t hb_qt_script_to_script ( QChar::Script script)

Definition at line 255 of file qharfbuzzng.cpp.

Variable Documentation

◆ _qtcategory_to_hbcategory

const hb_unicode_general_category_t _qtcategory_to_hbcategory
static

Definition at line 277 of file qharfbuzzng.cpp.

◆ _qtscript_to_hbscript

QT_BEGIN_NAMESPACE const hb_script_t _qtscript_to_hbscript
static

Definition at line 17 of file qharfbuzzng.cpp.

◆ _useDesignMetricsKey

hb_user_data_key_t _useDesignMetricsKey
static

Definition at line 571 of file qharfbuzzng.cpp.