QtBase  v6.3.1
Functions
hb-aat-layout.cc File Reference
#include "hb.hh"
#include "hb-aat-layout.hh"
#include "hb-aat-layout-ankr-table.hh"
#include "hb-aat-layout-bsln-table.hh"
#include "hb-aat-layout-feat-table.hh"
#include "hb-aat-layout-just-table.hh"
#include "hb-aat-layout-kerx-table.hh"
#include "hb-aat-layout-morx-table.hh"
#include "hb-aat-layout-trak-table.hh"
#include "hb-aat-ltag-table.hh"
Include dependency graph for hb-aat-layout.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const hb_aat_feature_mapping_thb_aat_layout_find_feature_mapping (hb_tag_t tag)
 
void hb_aat_layout_compile_map (const hb_aat_map_builder_t *mapper, hb_aat_map_t *map)
 
hb_bool_t hb_aat_layout_has_substitution (hb_face_t *face)
 
void hb_aat_layout_substitute (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer)
 
void hb_aat_layout_zero_width_deleted_glyphs (hb_buffer_t *buffer)
 
void hb_aat_layout_remove_deleted_glyphs (hb_buffer_t *buffer)
 
hb_bool_t hb_aat_layout_has_positioning (hb_face_t *face)
 
void hb_aat_layout_position (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer)
 
hb_bool_t hb_aat_layout_has_tracking (hb_face_t *face)
 
void hb_aat_layout_track (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer)
 
unsigned int hb_aat_layout_get_feature_types (hb_face_t *face, unsigned int start_offset, unsigned int *feature_count, hb_aat_layout_feature_type_t *features)
 
hb_ot_name_id_t hb_aat_layout_feature_type_get_name_id (hb_face_t *face, hb_aat_layout_feature_type_t feature_type)
 
unsigned int hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face, hb_aat_layout_feature_type_t feature_type, unsigned int start_offset, unsigned int *selector_count, hb_aat_layout_feature_selector_info_t *selectors, unsigned int *default_index)
 

Function Documentation

◆ hb_aat_layout_compile_map()

void hb_aat_layout_compile_map ( const hb_aat_map_builder_t mapper,
hb_aat_map_t map 
)

Definition at line 204 of file hb-aat-layout.cc.

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

◆ hb_aat_layout_feature_type_get_name_id()

hb_ot_name_id_t hb_aat_layout_feature_type_get_name_id ( hb_face_t face,
hb_aat_layout_feature_type_t  feature_type 
)

hb_aat_layout_feature_type_get_name_id: @face: hb_face_t to work upon @feature_type: The hb_aat_layout_feature_type_t of the requested feature type

Fetches the name identifier of the specified feature type in the face's name table.

Return value: Name identifier of the requested feature type

Since: 2.2.0

Definition at line 392 of file hb-aat-layout.cc.

◆ hb_aat_layout_feature_type_get_selector_infos()

unsigned int hb_aat_layout_feature_type_get_selector_infos ( hb_face_t face,
hb_aat_layout_feature_type_t  feature_type,
unsigned int  start_offset,
unsigned int *  selector_count,
hb_aat_layout_feature_selector_info_t selectors,
unsigned int *  default_index 
)

hb_aat_layout_feature_type_get_selector_infos: @face: hb_face_t to work upon @feature_type: The hb_aat_layout_feature_type_t of the requested feature type @start_offset: offset of the first feature type to retrieve @selector_count: (inout) (optional): Input = the maximum number of selectors to return; Output = the actual number of selectors returned (may be zero) @selectors: (out caller-allocates) (array length=selector_count) (optional): A buffer pointer. The selectors available for the feature type queries. @default_index: (out) (optional): The index of the feature's default selector, if any

Fetches a list of the selectors available for the specified feature in the given face.

If upon return, @default_index is set to HB_AAT_LAYOUT_NO_SELECTOR_INDEX, then the feature type is non-exclusive. Otherwise, @default_index is the index of the selector that is selected by default.

Return value: Number of all available feature selectors

Since: 2.2.0

Definition at line 420 of file hb-aat-layout.cc.

◆ hb_aat_layout_find_feature_mapping()

const hb_aat_feature_mapping_t* hb_aat_layout_find_feature_mapping ( hb_tag_t  tag)

hb_aat_layout_find_feature_mapping: @tag: The requested hb_tag_t feature tag

Fetches the AAT feature-and-selector combination that corresponds to a given OpenType feature tag.

Return value: the AAT features and selectors corresponding to the OpenType feature tag queried

Definition at line 189 of file hb-aat-layout.cc.

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

◆ hb_aat_layout_get_feature_types()

unsigned int hb_aat_layout_get_feature_types ( hb_face_t face,
unsigned int  start_offset,
unsigned int *  feature_count,
hb_aat_layout_feature_type_t features 
)

hb_aat_layout_get_feature_types: @face: hb_face_t to work upon @start_offset: offset of the first feature type to retrieve @feature_count: (inout) (optional): Input = the maximum number of feature types to return; Output = the actual number of feature types returned (may be zero) @features: (out caller-allocates) (array length=feature_count): Array of feature types found

Fetches a list of the AAT feature types included in the specified face.

Return value: Number of all available feature types.

Since: 2.2.0

Definition at line 372 of file hb-aat-layout.cc.

◆ hb_aat_layout_has_positioning()

hb_bool_t hb_aat_layout_has_positioning ( hb_face_t face)

hb_aat_layout_has_positioning: @face: hb_face_t to work upon

Tests whether the specified face includes any positioning information in the kerx table.

<note>Note: does not examine the GPOS table.</note>

Return value: true if data found, false otherwise

Since: 2.3.0

Definition at line 308 of file hb-aat-layout.cc.

Here is the caller graph for this function:

◆ hb_aat_layout_has_substitution()

hb_bool_t hb_aat_layout_has_substitution ( hb_face_t face)

hb_aat_layout_has_substitution: @face: hb_face_t to work upon

Tests whether the specified face includes any substitutions in the morx or mort tables.

<note>Note: does not examine the GSUB table.</note>

Return value: true if data found, false otherwise

Since: 2.3.0

Definition at line 237 of file hb-aat-layout.cc.

◆ hb_aat_layout_has_tracking()

hb_bool_t hb_aat_layout_has_tracking ( hb_face_t face)

hb_aat_layout_has_tracking: @face:: hb_face_t to work upon

Tests whether the specified face includes any tracking information in the trak table.

Return value: true if data found, false otherwise

Since: 2.3.0

Definition at line 341 of file hb-aat-layout.cc.

Here is the caller graph for this function:

◆ hb_aat_layout_position()

void hb_aat_layout_position ( const hb_ot_shape_plan_t plan,
hb_font_t font,
hb_buffer_t buffer 
)

Definition at line 314 of file hb-aat-layout.cc.

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

◆ hb_aat_layout_remove_deleted_glyphs()

void hb_aat_layout_remove_deleted_glyphs ( hb_buffer_t buffer)

Definition at line 289 of file hb-aat-layout.cc.

Here is the call graph for this function:

◆ hb_aat_layout_substitute()

void hb_aat_layout_substitute ( const hb_ot_shape_plan_t plan,
hb_font_t font,
hb_buffer_t buffer 
)

Definition at line 244 of file hb-aat-layout.cc.

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

◆ hb_aat_layout_track()

void hb_aat_layout_track ( const hb_ot_shape_plan_t plan,
hb_font_t font,
hb_buffer_t buffer 
)

Definition at line 347 of file hb-aat-layout.cc.

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

◆ hb_aat_layout_zero_width_deleted_glyphs()

void hb_aat_layout_zero_width_deleted_glyphs ( hb_buffer_t buffer)

Definition at line 272 of file hb-aat-layout.cc.