[docs] More
This commit is contained in:
parent
5dd86aa33b
commit
04981ee05d
|
@ -35,6 +35,16 @@
|
||||||
#include "hb-aat-layout.hh"
|
#include "hb-aat-layout.hh"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:hb-coretext
|
||||||
|
* @title: hb-coretext
|
||||||
|
* @short_description: CoreText integration
|
||||||
|
* @include: hb-coretext.h
|
||||||
|
*
|
||||||
|
* Functions for using HarfBuzz with the CoreText fonts.
|
||||||
|
**/
|
||||||
|
|
||||||
/* https://developer.apple.com/documentation/coretext/1508745-ctfontcreatewithgraphicsfont */
|
/* https://developer.apple.com/documentation/coretext/1508745-ctfontcreatewithgraphicsfont */
|
||||||
#define HB_CORETEXT_DEFAULT_FONT_SIZE 12.f
|
#define HB_CORETEXT_DEFAULT_FONT_SIZE 12.f
|
||||||
|
|
||||||
|
|
11
src/hb-ft.cc
11
src/hb-ft.cc
|
@ -40,6 +40,17 @@
|
||||||
#include FT_TRUETYPE_TABLES_H
|
#include FT_TRUETYPE_TABLES_H
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:hb-ft
|
||||||
|
* @title: hb-ft
|
||||||
|
* @short_description: FreeType integration
|
||||||
|
* @include: hb-ft.h
|
||||||
|
*
|
||||||
|
* Functions for using HarfBuzz with the FreeType library to provide face and
|
||||||
|
* font data.
|
||||||
|
**/
|
||||||
|
|
||||||
|
|
||||||
/* TODO:
|
/* TODO:
|
||||||
*
|
*
|
||||||
* In general, this file does a fine job of what it's supposed to do.
|
* In general, this file does a fine job of what it's supposed to do.
|
||||||
|
|
|
@ -33,6 +33,16 @@
|
||||||
#include "hb-machinery.hh"
|
#include "hb-machinery.hh"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:hb-glib
|
||||||
|
* @title: hb-glib
|
||||||
|
* @short_description: GLib integration
|
||||||
|
* @include: hb-glib.h
|
||||||
|
*
|
||||||
|
* Functions for using HarfBuzz with the GLib library to provide Unicode data.
|
||||||
|
**/
|
||||||
|
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION(2,29,14)
|
#if !GLIB_CHECK_VERSION(2,29,14)
|
||||||
static const hb_script_t
|
static const hb_script_t
|
||||||
glib_script_to_script[] =
|
glib_script_to_script[] =
|
||||||
|
|
|
@ -26,6 +26,18 @@
|
||||||
|
|
||||||
#include "hb.hh"
|
#include "hb.hh"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:hb-gobject
|
||||||
|
* @title: hb-gobject
|
||||||
|
* @short_description: GObject integration
|
||||||
|
* @include: hb-gobject.h
|
||||||
|
*
|
||||||
|
* Functions for using HarfBuzz with the GObject library to provide
|
||||||
|
* type data.
|
||||||
|
**/
|
||||||
|
|
||||||
|
|
||||||
/* g++ didn't like older gtype.h gcc-only code path. */
|
/* g++ didn't like older gtype.h gcc-only code path. */
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#if !GLIB_CHECK_VERSION(2,29,16)
|
#if !GLIB_CHECK_VERSION(2,29,16)
|
||||||
|
|
|
@ -36,6 +36,16 @@
|
||||||
#include "hb-ot-layout.h"
|
#include "hb-ot-layout.h"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:hb-graphite2
|
||||||
|
* @title: hb-graphite2
|
||||||
|
* @short_description: Graphite2 integration
|
||||||
|
* @include: hb-graphite2.h
|
||||||
|
*
|
||||||
|
* Functions for using HarfBuzz with the Graphite2 fonts.
|
||||||
|
**/
|
||||||
|
|
||||||
|
|
||||||
HB_SHAPER_DATA_ENSURE_DEFINE(graphite2, face)
|
HB_SHAPER_DATA_ENSURE_DEFINE(graphite2, face)
|
||||||
HB_SHAPER_DATA_ENSURE_DEFINE(graphite2, font)
|
HB_SHAPER_DATA_ENSURE_DEFINE(graphite2, font)
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,16 @@
|
||||||
#include <unicode/uversion.h>
|
#include <unicode/uversion.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:hb-icu
|
||||||
|
* @title: hb-icu
|
||||||
|
* @short_description: ICU integration
|
||||||
|
* @include: hb-icu.h
|
||||||
|
*
|
||||||
|
* Functions for using HarfBuzz with the ICU library to provide Unicode data.
|
||||||
|
**/
|
||||||
|
|
||||||
|
|
||||||
hb_script_t
|
hb_script_t
|
||||||
hb_icu_script_to_script (UScriptCode script)
|
hb_icu_script_to_script (UScriptCode script)
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,6 +39,16 @@
|
||||||
#include "hb-ot-layout.h"
|
#include "hb-ot-layout.h"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SECTION:hb-uniscribe
|
||||||
|
* @title: hb-uniscribe
|
||||||
|
* @short_description: Windows integration
|
||||||
|
* @include: hb-uniscribe.h
|
||||||
|
*
|
||||||
|
* Functions for using HarfBuzz with the Windows fonts.
|
||||||
|
**/
|
||||||
|
|
||||||
|
|
||||||
static inline uint16_t hb_uint16_swap (const uint16_t v)
|
static inline uint16_t hb_uint16_swap (const uint16_t v)
|
||||||
{ return (v >> 8) | (v << 8); }
|
{ return (v >> 8) | (v << 8); }
|
||||||
static inline uint32_t hb_uint32_swap (const uint32_t v)
|
static inline uint32_t hb_uint32_swap (const uint32_t v)
|
||||||
|
|
Loading…
Reference in New Issue