Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
hb_glyph_info_t Struct Reference

#include <hb-buffer.h>

Data Fields

hb_codepoint_t codepoint
 
hb_mask_t mask
 
uint32_t cluster
 
hb_var_int_t var1
 
hb_var_int_t var2
 

Detailed Description

hb_glyph_info_t: @codepoint: either a Unicode code point (before shaping) or a glyph index (after shaping). @cluster: the index of the character in the original text that corresponds to this hb_glyph_info_t, or whatever the client passes to hb_buffer_add(). More than one hb_glyph_info_t can have the same @cluster value, if they resulted from the same character (e.g. one to many glyph substitution), and when more than one character gets merged in the same glyph (e.g. many to one glyph substitution) the hb_glyph_info_t will have the smallest cluster value of them. By default some characters are merged into the same cluster (e.g. combining marks have the same cluster as their bases) even if they are separate glyphs, hb_buffer_set_cluster_level() allow selecting more fine-grained cluster handling.

The hb_glyph_info_t is the structure that holds information about the glyphs and their relation to input text.

Definition at line 62 of file hb-buffer.h.

Field Documentation

◆ cluster

uint32_t hb_glyph_info_t::cluster

Definition at line 67 of file hb-buffer.h.

◆ codepoint

hb_codepoint_t hb_glyph_info_t::codepoint

Definition at line 63 of file hb-buffer.h.

◆ mask

hb_mask_t hb_glyph_info_t::mask

Definition at line 65 of file hb-buffer.h.

◆ var1

hb_var_int_t hb_glyph_info_t::var1

Definition at line 70 of file hb-buffer.h.

◆ var2

hb_var_int_t hb_glyph_info_t::var2

Definition at line 71 of file hb-buffer.h.


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