QtBase  v6.3.1
Functions
hb-style.cc File Reference
#include "hb.hh"
#include "hb-ot-var-avar-table.hh"
#include "hb-ot-var-fvar-table.hh"
#include "hb-ot-stat-table.hh"
#include "hb-ot-os2-table.hh"
#include "hb-ot-head-table.hh"
#include "hb-ot-post-table.hh"
#include "hb-ot-face.hh"
Include dependency graph for hb-style.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float hb_style_get_value (hb_font_t *font, hb_style_tag_t style_tag)
 

Function Documentation

◆ hb_style_get_value()

float hb_style_get_value ( hb_font_t font,
hb_style_tag_t  style_tag 
)

hb_style_get_value: @font: a hb_font_t object. @style_tag: a style tag.

Searches variation axes of a hb_font_t object for a specific axis first, if not set, then tries to get default style values from different tables of the font.

Returns: Corresponding axis or default value to a style tag.

Since: 3.0.0

Definition at line 72 of file hb-style.cc.