minor
This commit is contained in:
parent
100dbccaa5
commit
74a2dbbced
|
@ -1 +0,0 @@
|
|||
*.plist
|
|
@ -139,7 +139,6 @@ HB_BASE_sources = \
|
|||
hb-ot-var-gvar-table.hh \
|
||||
hb-ot-var-hvar-table.hh \
|
||||
hb-ot-var-mvar-table.hh \
|
||||
hb-ot-var-gvar-table.hh \
|
||||
hb-ot-var.cc \
|
||||
hb-ot-vorg-table.hh \
|
||||
hb-pool.hh \
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#include "hb-ot-post-table.hh"
|
||||
#include "hb-ot-stat-table.hh" // Just so we compile it; unused otherwise.
|
||||
#include "hb-ot-vorg-table.hh"
|
||||
#include "hb-ot-var-gvar-table.hh"
|
||||
#include "hb-ot-color-cbdt-table.hh"
|
||||
#include "hb-ot-color-sbix-table.hh"
|
||||
|
||||
|
|
|
@ -165,7 +165,6 @@ struct hmtxvmtx
|
|||
void init (hb_face_t *face,
|
||||
unsigned int default_advance_ = 0)
|
||||
{
|
||||
memset (this, 0, sizeof (*this));
|
||||
default_advance = default_advance_ ? default_advance_ : hb_face_get_upem (face);
|
||||
|
||||
num_advances = T::is_horizontal ? face->table.hhea->numberOfLongMetrics : face->table.vhea->numberOfLongMetrics;
|
||||
|
|
|
@ -65,7 +65,7 @@ struct DeltaSetIndexMap
|
|||
unsigned int v = output_map[i];
|
||||
unsigned int outer = v >> 16;
|
||||
unsigned int inner = v & 0xFFFF;
|
||||
unsigned int u = (outer << inner_bit_count)|inner;
|
||||
unsigned int u = (outer << inner_bit_count) | inner;
|
||||
for (unsigned int w = width; w > 0;)
|
||||
{
|
||||
p[--w] = u;
|
||||
|
@ -155,14 +155,14 @@ struct index_map_subset_plan_t
|
|||
hb_codepoint_t old_gid;
|
||||
if (!plan->old_gid_for_new_gid (gid - 1, &old_gid))
|
||||
{
|
||||
if (last_gid == (hb_codepoint_t)-1)
|
||||
if (last_gid == (hb_codepoint_t) -1)
|
||||
continue;
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
unsigned int v = index_map.map (old_gid);
|
||||
if (last_gid == (hb_codepoint_t)-1)
|
||||
if (last_gid == (hb_codepoint_t) -1)
|
||||
{
|
||||
last_val = v;
|
||||
last_gid = gid;
|
||||
|
@ -237,12 +237,10 @@ struct index_map_subset_plan_t
|
|||
|
||||
protected:
|
||||
unsigned int map_count;
|
||||
hb_vector_t<unsigned int>
|
||||
max_inners;
|
||||
hb_vector_t<unsigned int> max_inners;
|
||||
unsigned int outer_bit_count;
|
||||
unsigned int inner_bit_count;
|
||||
hb_vector_t<unsigned int>
|
||||
output_map;
|
||||
hb_vector_t<unsigned int> output_map;
|
||||
};
|
||||
|
||||
struct hvarvvar_subset_plan_t
|
||||
|
@ -320,8 +318,7 @@ struct hvarvvar_subset_plan_t
|
|||
|
||||
hb_inc_bimap_t outer_map;
|
||||
hb_vector_t<hb_inc_bimap_t> inner_maps;
|
||||
hb_vector_t<index_map_subset_plan_t>
|
||||
index_map_plans;
|
||||
hb_vector_t<index_map_subset_plan_t> index_map_plans;
|
||||
const VariationStore *var_store;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue