From d1bb3b08f65965bfc07b11becc3e344554c398cc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 9 May 2022 15:23:59 -0600 Subject: [PATCH] [cff-common] Hide more INDEX internals --- src/hb-ot-cff-common.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index 1e7a075e5..90b2bb049 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -236,6 +236,7 @@ struct CFFIndex } } + private: unsigned int offset_at (unsigned int index) const { assert (index <= count); @@ -257,6 +258,7 @@ struct CFFIndex const unsigned char *data_base () const { return (const unsigned char *) this + min_size + offSize.static_size + offset_array_size (); } + public: unsigned int data_size () const { return HBINT8::static_size; }