Lines Matching refs:tf

776   void set_font(tfont *tf);
801 void check_charinfo(tfont *tf, charinfo *ci);
842 void troff_output_file::start_special(tfont *tf, color *gcol, color *fcol,
845 set_font(tf);
1006 void troff_output_file::check_charinfo(tfont *tf, charinfo *ci)
1011 int height = tf->get_char_height(ci).to_units();
1012 int width = tf->get_width(ci).to_units()
1013 + tf->get_italic_correction(ci).to_units();
1014 int depth = tf->get_char_depth(ci).to_units();
1019 void troff_output_file::put_char_width(charinfo *ci, tfont *tf,
1029 set_font(tf);
1036 check_charinfo(tf, ci);
1060 check_charinfo(tf, ci);
1070 check_charinfo(tf, ci);
1079 check_charinfo(tf, ci);
1101 void troff_output_file::put_char(charinfo *ci, tfont *tf,
1107 set_font(tf);
1154 void troff_output_file::set_font(tfont *tf)
1156 if (current_tfont == tf)
1159 int n = tf->get_input_position();
1160 symbol nm = tf->get_name();
1187 int size = tf->get_size().to_scaled_points();
1194 int slant = tf->get_slant();
1201 int height = tf->get_height();
1208 current_tfont = tf;
1815 tfont *tf;
1977 : charinfo_node(c, s, pop, x), tf(t), gcol(gc), fcol(fc)
1980 wid = tf->get_width(ci);
1988 : charinfo_node(c, s, pop, x), tf(t), gcol(gc), fcol(fc), wid(w)
1996 return new glyph_node(ci, tf, gcol, fcol, wid, state, div_nest_level);
1998 return new glyph_node(ci, tf, gcol, fcol, state, div_nest_level);
2009 return tf->get_character_type(ci);
2031 return tf->get_size().to_units();
2047 return tf;
2077 if (tf == gn->tf && gcol == gn->gcol && fcol == gn->fcol) {
2079 if ((lig = tf->get_lig(ci, gn->ci)) != 0) {
2082 return new ligature_node(lig, tf, gcol, fcol, this, gn, state,
2086 if (tf->get_kern(ci, gn->ci, &kern)) {
2104 return tf->get_width(ci);
2115 *min = -tf->get_char_height(ci);
2116 *max = tf->get_char_depth(ci);
2121 return tf->get_char_skew(ci);
2126 return tf->get_subscript_correction(ci);
2131 return tf->get_italic_correction(ci);
2136 return tf->get_left_italic_correction(ci);
2195 return new ligature_node(ci, tf, gcol, fcol, wid, n1->copy(), n2->copy(),
2198 return new ligature_node(ci, tf, gcol, fcol, n1->copy(), n2->copy(),
2299 tfont *tf = n2->get_tfont();
2300 if (tf) {
2301 if (tf->contains(soft_hyphen_char)) {
2307 glyph_node *gn = new glyph_node(soft_hyphen_char, tf, gcol, fcol,
2445 tfont *tf = get_tfont();
2446 if (!tf)
2448 if (tf->contains(soft_hyphen_char)) {
2454 glyph_node *gn = new glyph_node(soft_hyphen_char, tf, gcol, fcol,
3827 tf = font_table[fontno]->get_tfont(fs, char_height, char_slant, fontno);
3829 tf = tf->get_plain();
3839 : node(0, s, pop), mac(m), tf(t), gcol(gc), fcol(fc), no_init_string(n)
3847 && tf == ((special_node *)n)->tf
3875 return new special_node(mac, tf, gcol, fcol, state, div_nest_level,
3881 out->start_special(tf, gcol, fcol, no_init_string);
3896 return tf;
4164 tfont *tf;
4189 : charinfo_node(c, s, pop, x), n(p), tf(t)
4200 return new composite_node(copy_node_list(n), ci, tf, state, div_nest_level);
4206 if (tf->get_constant_space(&x))
4212 if (tf->get_bold(&offset))
4214 x += tf->get_track_kern();
4233 return tf->get_size().to_units();
4285 return tf;
4514 tfont *ptf = tf->get_plain();
4515 if (ptf == tf)
4519 int bold = tf->get_bold(&offset);
4523 int cs = tf->get_constant_space(&x);
4533 k = tf->get_track_kern();
4544 tfont *ptf = tf->get_plain();
4546 int bold = tf->get_bold(&offset);
4548 int cs = tf->get_constant_space(&x);
4792 int is_bold = tf->get_bold(&bold_offset);
4793 hunits track_kern = tf->get_track_kern();
4795 int is_constant_spaced = tf->get_constant_space(&constant_space);
4833 tfont *tf = font_table[fontno]->get_tfont(fs, char_height, char_slant,
4836 tf = tf->get_plain();
4837 return new composite_node(n, s, tf, 0, 0, 0);
4918 tfont *tf = font_table[fontno]->get_tfont(fs, char_height, char_slant, fn);
4920 tf = tf->get_plain();
4923 return new glyph_node(s, tf, gcol, fcol, 0, 0);
5581 && tf == ((glyph_node *)nd)->tf