This commit is contained in:
Behdad Esfahbod 2013-05-02 14:25:09 -04:00
parent e6f19af087
commit 2265be0a62
3 changed files with 13 additions and 9 deletions

View File

@ -31,8 +31,8 @@
#include "hb-buffer-private.hh" #include "hb-buffer-private.hh"
#include "hb-ot-layout-private.hh"
struct hb_ot_shape_plan_t;
static const hb_tag_t table_tags[2] = {HB_OT_TAG_GSUB, HB_OT_TAG_GPOS}; static const hb_tag_t table_tags[2] = {HB_OT_TAG_GSUB, HB_OT_TAG_GPOS};
@ -123,10 +123,11 @@ struct hb_ot_map_t
inline void finish (void) { inline void finish (void) {
features.finish (); features.finish ();
lookups[0].finish (); for (unsigned int table_index = 0; table_index < 2; table_index++)
lookups[1].finish (); {
stages[0].finish (); lookups[table_index].finish ();
stages[1].finish (); stages[table_index].finish ();
}
} }
public: public:
@ -195,8 +196,10 @@ struct hb_ot_map_builder_t
inline void finish (void) { inline void finish (void) {
feature_infos.finish (); feature_infos.finish ();
stages[0].finish (); for (unsigned int table_index = 0; table_index < 2; table_index++)
stages[1].finish (); {
stages[table_index].finish ();
}
} }
private: private:

View File

@ -28,6 +28,8 @@
#include "hb-ot-map-private.hh" #include "hb-ot-map-private.hh"
#include "hb-ot-layout-private.hh"
void void
hb_ot_map_t::add_lookups (hb_face_t *face, hb_ot_map_t::add_lookups (hb_face_t *face,

View File

@ -30,8 +30,7 @@
#include "hb-private.hh" #include "hb-private.hh"
#include "hb-ot-map-private.hh" #include "hb-ot-map-private.hh"
#include "hb-ot-layout-private.hh"