This commit is contained in:
Behdad Esfahbod 2018-05-08 02:55:20 -07:00
parent 2a46a020fd
commit 57bac8f699
2 changed files with 7 additions and 7 deletions

View File

@ -1181,7 +1181,7 @@ struct BinSearchArrayOf : SortedArrayOf<Type, BinSearchHeader> {};
/* Lazy struct and blob loaders. */ /* Lazy struct and blob loaders. */
/* Logic is shared between hb_lazy_loader_t and hb_lazy_table_loader_t */ /* Logic is shared between hb_lazy_loader_t and hb_table_lazy_loader_t */
template <typename T> template <typename T>
struct hb_lazy_loader_t struct hb_lazy_loader_t
{ {
@ -1231,9 +1231,9 @@ struct hb_lazy_loader_t
T *instance; T *instance;
}; };
/* Logic is shared between hb_lazy_loader_t and hb_lazy_table_loader_t */ /* Logic is shared between hb_lazy_loader_t and hb_table_lazy_loader_t */
template <typename T> template <typename T>
struct hb_lazy_table_loader_t struct hb_table_lazy_loader_t
{ {
inline void init (hb_face_t *face_) inline void init (hb_face_t *face_)
{ {

View File

@ -172,10 +172,10 @@ struct hb_ot_layout_t
const struct OT::GPOS *gpos; const struct OT::GPOS *gpos;
/* TODO Move the following out of this struct. */ /* TODO Move the following out of this struct. */
OT::hb_lazy_table_loader_t<struct OT::BASE> base; OT::hb_table_lazy_loader_t<struct OT::BASE> base;
OT::hb_lazy_table_loader_t<struct OT::MATH> math; OT::hb_table_lazy_loader_t<struct OT::MATH> math;
OT::hb_lazy_table_loader_t<struct OT::fvar> fvar; OT::hb_table_lazy_loader_t<struct OT::fvar> fvar;
OT::hb_lazy_table_loader_t<struct OT::avar> avar; OT::hb_table_lazy_loader_t<struct OT::avar> avar;
unsigned int gsub_lookup_count; unsigned int gsub_lookup_count;
unsigned int gpos_lookup_count; unsigned int gpos_lookup_count;