minor spacing tweak
This commit is contained in:
parent
5a7cc7fd8b
commit
07c43b8cf6
|
@ -349,7 +349,7 @@ hb_subset_plan_create (hb_face_t *face,
|
||||||
input->glyphs,
|
input->glyphs,
|
||||||
!input->drop_tables->has (HB_OT_TAG_GSUB),
|
!input->drop_tables->has (HB_OT_TAG_GSUB),
|
||||||
!input->drop_tables->has (HB_OT_TAG_GPOS),
|
!input->drop_tables->has (HB_OT_TAG_GPOS),
|
||||||
!input->drop_tables->has (HB_OT_TAG_GDEF));
|
!input->drop_tables->has (HB_OT_TAG_GDEF));
|
||||||
|
|
||||||
_create_old_gid_to_new_gid_map (face,
|
_create_old_gid_to_new_gid_map (face,
|
||||||
input->retain_gids,
|
input->retain_gids,
|
||||||
|
|
|
@ -63,18 +63,18 @@ parse_gids (const char *name G_GNUC_UNUSED,
|
||||||
hb_codepoint_t end_code = strtoul (s, &p, 10);
|
hb_codepoint_t end_code = strtoul (s, &p, 10);
|
||||||
if (s[0] == '-' || errno || s == p)
|
if (s[0] == '-' || errno || s == p)
|
||||||
{
|
{
|
||||||
hb_set_destroy (gids);
|
hb_set_destroy (gids);
|
||||||
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
||||||
"Failed parsing gids values at: '%s'", s);
|
"Failed parsing gids values at: '%s'", s);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (end_code < start_code)
|
if (end_code < start_code)
|
||||||
{
|
{
|
||||||
hb_set_destroy (gids);
|
hb_set_destroy (gids);
|
||||||
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
||||||
"Invalid gids range value %u-%u", start_code, end_code);
|
"Invalid gids range value %u-%u", start_code, end_code);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
hb_set_add_range (gids, start_code, end_code);
|
hb_set_add_range (gids, start_code, end_code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue