QtBase  v6.3.1
Functions
hb-subset.cc File Reference
#include "hb.hh"
#include "hb-open-type.hh"
#include "hb-subset.hh"
#include "hb-open-file.hh"
#include "hb-ot-cmap-table.hh"
#include "hb-ot-glyf-table.hh"
#include "hb-ot-hdmx-table.hh"
#include "hb-ot-head-table.hh"
#include "hb-ot-hhea-table.hh"
#include "hb-ot-hmtx-table.hh"
#include "hb-ot-maxp-table.hh"
#include "hb-ot-color-sbix-table.hh"
#include "hb-ot-color-colr-table.hh"
#include "hb-ot-color-cpal-table.hh"
#include "hb-ot-os2-table.hh"
#include "hb-ot-post-table.hh"
#include "hb-ot-post-table-v2subset.hh"
#include "hb-ot-cff1-table.hh"
#include "hb-ot-cff2-table.hh"
#include "hb-ot-vorg-table.hh"
#include "hb-ot-name-table.hh"
#include "hb-ot-color-cbdt-table.hh"
#include "hb-ot-layout-gsub-table.hh"
#include "hb-ot-layout-gpos-table.hh"
#include "hb-ot-var-gvar-table.hh"
#include "hb-ot-var-hvar-table.hh"
#include "hb-ot-math-table.hh"
#include "hb-repacker.hh"
Include dependency graph for hb-subset.cc:

Go to the source code of this file.

Functions

hb_face_thb_subset_or_fail (hb_face_t *source, const hb_subset_input_t *input)
 
hb_face_thb_subset_plan_execute_or_fail (hb_subset_plan_t *plan)
 

Function Documentation

◆ hb_subset_or_fail()

hb_face_t* hb_subset_or_fail ( hb_face_t source,
const hb_subset_input_t input 
)

hb_subset_or_fail: @source: font face data to be subset. @input: input to use for the subsetting.

Subsets a font according to provided input. Returns nullptr if the subset operation fails.

Since: 2.9.0

Definition at line 344 of file hb-subset.cc.

Here is the call graph for this function:

◆ hb_subset_plan_execute_or_fail()

hb_face_t* hb_subset_plan_execute_or_fail ( hb_subset_plan_t plan)

hb_subset_plan_execute_or_fail: @plan: a subsetting plan.

Executes the provided subsetting @plan.

Return value: on success returns a reference to generated font subset. If the subsetting operation fails returns nullptr.

Since: 4.0.0

Definition at line 372 of file hb-subset.cc.

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