This commit is contained in:
Ebrahim Byagowi 2019-10-06 17:06:40 +03:30
parent 100dbccaa5
commit 74a2dbbced
5 changed files with 17 additions and 24 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
*.plist

View File

@ -139,7 +139,6 @@ HB_BASE_sources = \
hb-ot-var-gvar-table.hh \ hb-ot-var-gvar-table.hh \
hb-ot-var-hvar-table.hh \ hb-ot-var-hvar-table.hh \
hb-ot-var-mvar-table.hh \ hb-ot-var-mvar-table.hh \
hb-ot-var-gvar-table.hh \
hb-ot-var.cc \ hb-ot-var.cc \
hb-ot-vorg-table.hh \ hb-ot-vorg-table.hh \
hb-pool.hh \ hb-pool.hh \

View File

@ -43,7 +43,6 @@
#include "hb-ot-post-table.hh" #include "hb-ot-post-table.hh"
#include "hb-ot-stat-table.hh" // Just so we compile it; unused otherwise. #include "hb-ot-stat-table.hh" // Just so we compile it; unused otherwise.
#include "hb-ot-vorg-table.hh" #include "hb-ot-vorg-table.hh"
#include "hb-ot-var-gvar-table.hh"
#include "hb-ot-color-cbdt-table.hh" #include "hb-ot-color-cbdt-table.hh"
#include "hb-ot-color-sbix-table.hh" #include "hb-ot-color-sbix-table.hh"

View File

@ -165,7 +165,6 @@ struct hmtxvmtx
void init (hb_face_t *face, void init (hb_face_t *face,
unsigned int default_advance_ = 0) unsigned int default_advance_ = 0)
{ {
memset (this, 0, sizeof (*this));
default_advance = default_advance_ ? default_advance_ : hb_face_get_upem (face); default_advance = default_advance_ ? default_advance_ : hb_face_get_upem (face);
num_advances = T::is_horizontal ? face->table.hhea->numberOfLongMetrics : face->table.vhea->numberOfLongMetrics; num_advances = T::is_horizontal ? face->table.hhea->numberOfLongMetrics : face->table.vhea->numberOfLongMetrics;

View File

@ -237,12 +237,10 @@ struct index_map_subset_plan_t
protected: protected:
unsigned int map_count; unsigned int map_count;
hb_vector_t<unsigned int> hb_vector_t<unsigned int> max_inners;
max_inners;
unsigned int outer_bit_count; unsigned int outer_bit_count;
unsigned int inner_bit_count; unsigned int inner_bit_count;
hb_vector_t<unsigned int> hb_vector_t<unsigned int> output_map;
output_map;
}; };
struct hvarvvar_subset_plan_t struct hvarvvar_subset_plan_t
@ -320,8 +318,7 @@ struct hvarvvar_subset_plan_t
hb_inc_bimap_t outer_map; hb_inc_bimap_t outer_map;
hb_vector_t<hb_inc_bimap_t> inner_maps; hb_vector_t<hb_inc_bimap_t> inner_maps;
hb_vector_t<index_map_subset_plan_t> hb_vector_t<index_map_subset_plan_t> index_map_plans;
index_map_plans;
const VariationStore *var_store; const VariationStore *var_store;
protected: protected: