Minor, tweak spaces

This commit is contained in:
Ebrahim Byagowi committed 2018-12-22 20:07:57 +03:30
1 parent 29f0b6bce7
commit ae6e348d64
2 files changed
+10 -13

No files matched your search

+4 -4
View File
@@ -200,8 +200,8 @@ struct glyf
};
static bool get_iterator (const char * glyph_data,
unsigned int length,
CompositeGlyphHeader::Iterator *iterator /* OUT */)
unsigned int length,
CompositeGlyphHeader::Iterator *iterator /* OUT */)
{
if (length < GlyphHeader::static_size)
return false; /* Empty glyph; zero extents. */
@@ -355,8 +355,8 @@ struct glyf
}
bool get_offsets (hb_codepoint_t glyph,
unsigned int *start_offset /* OUT */,
unsigned int *end_offset /* OUT */) const
unsigned int *start_offset /* OUT */,
unsigned int *end_offset /* OUT */) const
{
if (unlikely (glyph >= num_glyphs))
return false;
+6 -9
View File
@@ -286,12 +286,9 @@ template <typename ACC, typename ENV, typename OPSET>
struct subr_flattener_t
{
subr_flattener_t (const ACC &acc_,
const hb_vector_t<hb_codepoint_t> &glyphs_,
bool drop_hints_)
: acc (acc_),
glyphs (glyphs_),
drop_hints (drop_hints_)
{}
const hb_vector_t<hb_codepoint_t> &glyphs_,
bool drop_hints_) : acc (acc_), glyphs (glyphs_),
drop_hints (drop_hints_) {}
bool flatten (str_buff_vec_t &flat_charstrings)
{
@@ -479,9 +476,9 @@ struct parsed_cs_str_vec_t : hb_vector_t<parsed_cs_str_t>
struct subr_subset_param_t
{
void init (parsed_cs_str_t *parsed_charstring_,
parsed_cs_str_vec_t *parsed_global_subrs_, parsed_cs_str_vec_t *parsed_local_subrs_,
hb_set_t *global_closure_, hb_set_t *local_closure_,
bool drop_hints_)
parsed_cs_str_vec_t *parsed_global_subrs_, parsed_cs_str_vec_t *parsed_local_subrs_,
hb_set_t *global_closure_, hb_set_t *local_closure_,
bool drop_hints_)
{
parsed_charstring = parsed_charstring_;
current_parsed_str = parsed_charstring;