Lines Matching refs:tag_info

275 entry &tag_info(tag_type t)
510 int tfm_type = tag_info(type_tag).value;
528 f.seek(tag_info(design_units_per_em_tag).value);
535 f.seek(tag_info(inches_per_point_tag).value);
546 if (!tag_info(t).present)
556 if (!tag_info(font_name_tag).present)
558 int count = tag_info(font_name_tag).count;
562 f.seek(tag_info(font_name_tag).value);
570 count, tag_info(font_name_tag).orig_value);
585 printf("spacewidth %d\n", scale(tag_info(word_spacing_tag).value));
591 uint32 symbol_set_dir_length = tag_info(symbol_set_tag).count;
601 f.seek(tag_info(symbol_set_tag).value + i*14);
668 nchars = tag_info(charcode_tag).count;
671 f.seek(tag_info(charcode_tag).value);
677 f.seek(tag_info(width_tag).value);
682 f.seek(tag_info(ascent_tag).value);
690 f.seek(tag_info(descent_tag).value);
698 f.seek(tag_info(left_extent_tag).value);
703 f.seek(tag_info(right_extent_tag).value);
712 int stroke_weight = tag_info(stroke_weight_tag).value;
731 printf("pclproportional %d\n", tag_info(spacing_tag).value == 0);
739 if (tag_info(typeface_tag).count > 4) {
740 f.seek(tag_info(typeface_tag).value);
741 for (uint32 i = 0; i < tag_info(typeface_tag).count; i++) {
749 printf("%.4s", tag_info(typeface_tag).orig_value);
758 if (tag_info(posture_tag).present) {
759 if (tag_info(posture_tag).value)
764 if (tag_info(slant_tag).value != 0)
768 if (tag_info(appearance_width_tag).value < 100) // guess
777 int slant = int16(tag_info(slant_tag).value);
787 if (tag_info(spacing_tag).value != 0)
823 if (tag_info(pair_kern_tag).present) {
825 f.seek(tag_info(pair_kern_tag).value);
852 double slant_angle = int16(tag_info(slant_tag).value)*PI/18000.0;
893 subscript_correction = int((tag_info(x_height_tag).value
913 if (char_table[i].ascent > int16(tag_info(lower_ascent_tag).value)*9/10)
915 if (char_table[i].descent < int16(tag_info(lower_descent_tag).value)*9/10)
978 if (tag_info(t).present) {
979 printf("%4d %4d %5d", i, tag_info(t).type, tag_info(t).count);
980 switch (tag_info(t).type) {
983 printf(" %5u", tag_info(t).value);
987 switch (tag_info(t).value) {
997 printf(" Number of Symbols (%u)", tag_info(t).count);
1001 tag_info(symbol_set_tag).count / 14);
1005 printf(" Type Structure (%u)", tag_info(t).value);
1008 printf(" Stroke Weight (%u)", tag_info(t).value);
1012 switch (tag_info(t).value) {
1017 printf("(Fixed Pitch: %u DU: %.2f em)", tag_info(t).value,
1018 em_fract(tag_info(t).value));
1023 printf(" Appearance Width (%u)", tag_info(t).value);
1026 printf(" Serif Style (%u)", tag_info(t).value);
1029 printf(" Posture (%s)", tag_info(t).value == 0
1031 : tag_info(t).value == 1
1036 printf(" Maximum Width (%u DU: %.2f em)", tag_info(t).value,
1037 em_fract(tag_info(t).value));
1040 printf(" Interword Spacing (%u DU: %.2f em)", tag_info(t).value,
1041 em_fract(tag_info(t).value));
1044 printf(" Recommended Line Spacing (%u DU: %.2f em)", tag_info(t).value,
1045 em_fract(tag_info(t).value));
1048 printf(" x-Height (%u DU: %.2f em)", tag_info(t).value,
1049 em_fract(tag_info(t).value));
1052 printf(" Cap Height (%u DU: %.2f em)", tag_info(t).value,
1053 em_fract(tag_info(t).value));
1056 printf(" Maximum Ascent (%u DU: %.2f em)", tag_info(t).value,
1057 em_fract(tag_info(t).value));
1060 printf(" Lowercase Ascent (%u DU: %.2f em)", tag_info(t).value,
1061 em_fract(tag_info(t).value));
1064 printf(" Underscore Thickness (%u DU: %.2f em)", tag_info(t).value,
1065 em_fract(tag_info(t).value));
1068 printf(" Uppercase Accent Height (%u DU: %.2f em)", tag_info(t).value,
1069 em_fract(tag_info(t).value));
1072 printf(" Lowercase Accent Height (%u DU: %.2f em)", tag_info(t).value,
1073 em_fract(tag_info(t).value));
1088 f.seek(tag_info(t).value);
1097 printf(" %5d", int16(tag_info(t).value));
1100 printf(" Slant (%.2f degrees)", double(tag_info(t).value) / 100);
1103 printf(" Maximum Descent (%d DU: %.2f em)", int16(tag_info(t).value),
1104 em_fract(int16(tag_info(t).value)));
1107 printf(" Lowercase Descent (%d DU: %.2f em)", int16(tag_info(t).value),
1108 em_fract(int16(tag_info(t).value)));
1111 printf(" Underscore Depth (%d DU: %.2f em)", int16(tag_info(t).value),
1112 em_fract(int16(tag_info(t).value)));
1128 printf(" %5u", tag_info(t).value);
1143 if (tag_info(t).count == 1) {
1144 f.seek(tag_info(t).value);
1153 printf(" %5u ", tag_info(t).value);
1187 if (tag_info(t).count > 4) {
1188 int count = tag_info(t).count;
1189 f.seek(tag_info(t).value);
1194 printf("%.4s", tag_info(t).orig_value);
1201 uint32 symbol_set_dir_length = tag_info(symbol_set_tag).count;
1205 f.seek(tag_info(symbol_set_tag).value + i * 14);