• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.bin/vtfontcvt/

Lines Matching refs:map_idx

200 add_mapping(struct glyph *gl, unsigned int c, unsigned int map_idx)
212 ml = &maps[map_idx];
227 map_count[map_idx]++;
234 dedup_mapping(unsigned int map_idx)
237 unsigned normal_map_idx = map_idx - VFNT_MAP_BOLD;
239 assert(map_idx == VFNT_MAP_BOLD || map_idx == VFNT_MAP_BOLD_RIGHT);
241 TAILQ_FOREACH_SAFE(mp_bold, &maps[map_idx], m_list, mp_temp) {
251 TAILQ_REMOVE(&maps[map_idx], mp_bold, m_list);
259 add_glyph(const uint8_t *bytes, unsigned int map_idx, int fallback)
265 glyph_count[map_idx]++;
281 TAILQ_INSERT_HEAD(&glyphs[map_idx], gl, g_list);
283 TAILQ_INSERT_TAIL(&glyphs[map_idx], gl, g_list);
319 add_char(unsigned curchar, unsigned map_idx, uint8_t *bytes, uint8_t *bytes_r)
325 if (map_idx < VFNT_MAP_BOLD)
328 gl = add_glyph(bytes, map_idx, 0);
329 if (add_mapping(gl, curchar, map_idx) != 0)
332 gl = add_glyph(bytes_r, map_idx + 1, 0);
333 if (add_mapping(gl, curchar, map_idx + 1) != 0)
402 parse_bdf(FILE *fp, unsigned int map_idx)
532 rv = add_char(curchar, map_idx, bytes,
550 parse_hex(FILE *fp, unsigned int map_idx)
604 rv = add_char(curchar, map_idx, bytes,
619 parse_file(const char *filename, unsigned int map_idx)
632 rv = parse_hex(fp, map_idx);
634 rv = parse_bdf(fp, map_idx);
701 fold_mappings(unsigned int map_idx)
703 struct mapping_list *ml = &maps[map_idx];
714 map_folded_count[map_idx]++;
719 write_mappings(FILE *fp, unsigned int map_idx)
721 struct mapping_list *ml = &maps[map_idx];
742 write_source_mappings(FILE *fp, unsigned int map_idx)
744 struct mapping_list *ml = &maps[map_idx];