[cff-common] Hide more INDEX internals

This commit is contained in:
Behdad Esfahbod 2022-05-09 15:23:59 -06:00
parent d3b21387fd
commit d1bb3b08f6
1 changed files with 2 additions and 0 deletions

View File

@ -236,6 +236,7 @@ struct CFFIndex
} }
} }
private:
unsigned int offset_at (unsigned int index) const unsigned int offset_at (unsigned int index) const
{ {
assert (index <= count); assert (index <= count);
@ -257,6 +258,7 @@ struct CFFIndex
const unsigned char *data_base () const const unsigned char *data_base () const
{ return (const unsigned char *) this + min_size + offSize.static_size + offset_array_size (); } { return (const unsigned char *) this + min_size + offSize.static_size + offset_array_size (); }
public:
unsigned int data_size () const { return HBINT8::static_size; } unsigned int data_size () const { return HBINT8::static_size; }