Remove \ns leftover from fprintf

pull/743/merge
Rod Sheeter 7 years ago committed by Behdad Esfahbod
parent eb485bb9e9
commit 91428713bd
  1. 4
      src/hb-subset-plan.cc
  2. 4
      src/hb-subset.cc

@ -54,10 +54,10 @@ glyph_ids_to_retain (hb_subset_face_t *face,
while (hb_set_next(codepoints, &cp)) { while (hb_set_next(codepoints, &cp)) {
hb_codepoint_t gid; hb_codepoint_t gid;
if (face->cmap.get_nominal_glyph(cp, &gid)) { if (face->cmap.get_nominal_glyph(cp, &gid)) {
DEBUG_MSG(SUBSET, nullptr, "gid for U+%04X is %d\n", cp, gid); DEBUG_MSG(SUBSET, nullptr, "gid for U+%04X is %d", cp, gid);
hb_set_add(gids, cp); hb_set_add(gids, cp);
} else { } else {
DEBUG_MSG(SUBSET, nullptr, "Unable to resolve gid for U+%04X\n", cp); DEBUG_MSG(SUBSET, nullptr, "Unable to resolve gid for U+%04X", cp);
} }
} }

@ -155,9 +155,9 @@ hb_subset (hb_subset_profile_t *profile,
while (hb_set_next(plan->glyphs_to_retain, &old_gid)) { while (hb_set_next(plan->glyphs_to_retain, &old_gid)) {
hb_codepoint_t new_gid; hb_codepoint_t new_gid;
if (hb_subset_plan_new_gid_for_old_id(plan, old_gid, &new_gid)) { if (hb_subset_plan_new_gid_for_old_id(plan, old_gid, &new_gid)) {
DEBUG_MSG(SUBSET, nullptr, "Remap %d : %d\n", old_gid, new_gid); DEBUG_MSG(SUBSET, nullptr, "Remap %d : %d", old_gid, new_gid);
} else { } else {
DEBUG_MSG(SUBSET, nullptr, "Remap %d : DOOM! No new ID\n", old_gid); DEBUG_MSG(SUBSET, nullptr, "Remap %d : DOOM! No new ID", old_gid);
} }
} }
// TODO: // TODO:

Loading…
Cancel
Save