[docs] Document remaining sections

pull/1319/head
Behdad Esfahbod 7 years ago
parent cf5fa57f00
commit 80d9a427cf
  1. 10
      src/hb-ot-color.cc
  2. 10
      src/hb-ot-font.cc
  3. 10
      src/hb-ot-layout.cc
  4. 11
      src/hb-ot-math.cc
  5. 10
      src/hb-ot-name.cc
  6. 10
      src/hb-ot-shape.cc

@ -40,6 +40,16 @@
#include "hb-ot-layout.hh"
/**
* SECTION:hb-ot-color
* @title: hb-ot-color
* @short_description: OpenType Color Fonts
* @include: hb-ot.h
*
* Functions for fetching color-font information from OpenType font faces.
**/
static inline const OT::COLR&
_get_colr (hb_face_t *face)
{

@ -41,6 +41,16 @@
#include "hb-ot-color-cbdt-table.hh"
/**
* SECTION:hb-ot-font
* @title: hb-ot-font
* @short_description: OpenType font implementation
* @include: hb-ot.h
*
* Functions for using OpenType fonts with hb_shape().
**/
static hb_bool_t
hb_ot_get_nominal_glyph (hb_font_t *font HB_UNUSED,
void *font_data,

@ -45,6 +45,16 @@
#include "hb-ot-name-table.hh"
/**
* SECTION:hb-ot-layout
* @title: hb-ot-layout
* @short_description: OpenType Layout
* @include: hb-ot.h
*
* Functions for querying OpenType Layout features in the font face.
**/
static const OT::kern::accelerator_t& _get_kern (hb_face_t *face)
{
if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return Null(OT::kern::accelerator_t);

@ -29,6 +29,17 @@
#include "hb-ot-face.hh"
#include "hb-ot-math-table.hh"
/**
* SECTION:hb-ot-math
* @title: hb-ot-math
* @short_description: OpenType Math information
* @include: hb-ot.h
*
* Functions for fetching mathematics layout data from OpenType fonts.
**/
static inline const OT::MATH&
_get_math (hb_face_t *face)
{

@ -32,6 +32,16 @@
#include "hb-utf.hh"
/**
* SECTION:hb-ot-name
* @title: hb-ot-name
* @short_description: OpenType font name information
* @include: hb-ot.h
*
* Functions for fetching name strings from OpenType fonts.
**/
static inline const OT::name_accelerator_t&
_get_name (hb_face_t *face)
{

@ -42,6 +42,16 @@
#include "hb-aat-layout.hh"
/**
* SECTION:hb-ot-shape
* @title: hb-ot-shape
* @short_description: OpenType shaping support
* @include: hb-ot.h
*
* Support functions for OpenType shaping related queries.
**/
static bool
_hb_apply_morx (hb_face_t *face)
{

Loading…
Cancel
Save