[subset] Add hb-subset section documentation.

This commit is contained in:
Garret Rieger 2021-07-22 13:00:34 -07:00
parent 792e2ed61c
commit 89fc399eba
2 changed files with 11 additions and 4 deletions

View File

@ -53,6 +53,17 @@
#include "hb-ot-var-hvar-table.hh"
#include "hb-repacker.hh"
/**
* SECTION:hb-subset
* @title: hb-subset
* @short_description: Subsets font files.
* @include: hb-subset.h
*
* Subsetting reduces the codepoint coverage of font files and removes all data
* that is no longer needed. A subset input describes the desired subset. The input is
* provided along with a font to the subsetting operation. Output is a new font file
* containing only the data specified in the input.
*/
static unsigned
_plan_estimate_subset_table_size (hb_subset_plan_t *plan, unsigned table_len)

View File

@ -134,10 +134,6 @@ hb_subset_input_set_flag (hb_subset_input_t *input,
hb_subset_flag_t flag,
hb_bool_t value);
/* hb_subset () */
HB_EXTERN hb_face_t *
hb_subset (hb_face_t *source, const hb_subset_input_t *input);
HB_EXTERN hb_face_t *
hb_subset_or_fail (hb_face_t *source, const hb_subset_input_t *input);