mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 08:21:32 +01:00
[subset] Add hb-subset section documentation.
This commit is contained in:
1 parent
792e2ed61c
commit
89fc399eba
2 files changed
+11
-4
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user