Skip to content

Commit d48de7a

Browse files
committed
reorganization of profiles
1 parent 64e3e5d commit d48de7a

File tree

1 file changed

+63
-19
lines changed

1 file changed

+63
-19
lines changed

profile-universal/src/lib.rs

+63-19
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ impl fontspector_checkapi::Plugin for Universal {
3030
"opentype/cff_call_depth",
3131
"opentype/cff_deprecated_operators",
3232
"opentype/code_pages",
33+
"opentype/dsig",
3334
"opentype/family/bold_italic_unique_for_nameid1",
3435
"opentype/family/consistent_family_name",
3536
"opentype/family/equal_font_versions",
@@ -69,18 +70,29 @@ impl fontspector_checkapi::Plugin for Universal {
6970
"opentype/points_out_of_bounds",
7071
"opentype/postscript_name",
7172
"opentype/post_table_version",
73+
"opentype/slant_direction",
7274
"opentype/stat_has_axis_value_tables",
7375
"opentype/unitsperem",
7476
"opentype/varfont/distinct_instance_records",
7577
"opentype/varfont/family_axis_ranges",
7678
"opentype/varfont/foundry_defined_tag_name",
79+
"opentype/varfont/ital_range",
80+
"opentype/varfont/regular_ital_coord",
81+
"opentype/varfont/regular_opsz_coord",
82+
"opentype/varfont/regular_slnt_coord",
83+
"opentype/varfont/regular_wdth_coord",
84+
"opentype/varfont/regular_wght_coord",
7785
"opentype/varfont/same_size_instance_records",
86+
"opentype/varfont/slnt_range",
7887
"opentype/varfont/stat_axis_record_for_each_axis",
7988
"opentype/varfont/valid_axis_nameid",
8089
"opentype/varfont/valid_default_instance_nameids",
8190
"opentype/varfont/valid_postscript_nameid",
8291
"opentype/varfont/valid_subfamily_nameid",
92+
"opentype/varfont/wdth_valid_range",
93+
"opentype/varfont/wght_valid_range",
8394
"opentype/vendor_id",
95+
"opentype/weight_class_fvar",
8496
"opentype/xavgcharwidth",
8597
]
8698
"#,
@@ -92,62 +104,94 @@ impl fontspector_checkapi::Plugin for Universal {
92104
r#"
93105
include_profiles = ["opentype"]
94106
[sections]
95-
#"Superfamily Checks" = [
96-
# "superfamily/list",
97-
# "superfamily/vertical_metrics",
98-
#]
99-
#"UFO Sources" = [
100-
# # FIXME (orphan check): "ufo_consistent_curve_type",
101-
# # FIXME (orphan check): "ufo_no_open_corners",
102-
# # https://github.com/fonttools/fontbakery/pull/4809
103-
# "designspace_has_consistent_codepoints",
104-
# "designspace_has_consistent_glyphset",
105-
# "designspace_has_consistent_groups",
106-
# "designspace_has_default_master",
107-
# "designspace_has_sources",
108-
# "ufo_features_default_languagesystem",
109-
# "ufolint",
110-
# "ufo_recommended_fields",
111-
# "ufo_required_fields",
112-
# "ufo_unnecessary_fields",
113-
#]
107+
"Superfamily Checks" = [
108+
"superfamily/list",
109+
"superfamily/vertical_metrics",
110+
]
111+
"UFO Sources" = [
112+
"designspace_has_consistent_codepoints",
113+
"designspace_has_consistent_glyphset",
114+
"designspace_has_consistent_groups",
115+
"designspace_has_default_master",
116+
"designspace_has_sources",
117+
"ufolint",
118+
# "ufo_consistent_curve_type", # FIXME (orphan check) https://github.com/fonttools/fontbakery/pull/4809
119+
"ufo_features_default_languagesystem",
120+
# "ufo_no_open_corners", # FIXME (orphan check) https://github.com/fonttools/fontbakery/pull/4809
121+
"ufo_recommended_fields",
122+
"ufo_required_fields",
123+
"ufo_unnecessary_fields",
124+
]
114125
"Universal Profile Checks" = [
115126
"alt_caron",
116127
"arabic_high_hamza",
117128
"arabic_spacing_symbols",
118129
# "caps_vertically_centered", # Disabled: issue #4274
119130
"case_mapping",
120131
"cjk_chws_feature",
132+
"cjk_not_enough_glyphs",
133+
"cmap/format_12",
134+
"color_cpal_brightness",
135+
"colorfont_tables",
121136
"contour_count",
137+
"empty_glyph_on_gid1_for_colrv0",
138+
"empty_letters",
139+
"family/control_chars",
122140
"family/single_directory",
123141
"family/vertical_metrics",
124142
"family/win_ascent_and_descent",
143+
"fvar_name_entries",
144+
"file_size",
125145
"fontbakery_version",
146+
"fontdata_namecheck",
126147
"freetype_rasterizer",
148+
"glyf_nested_components",
127149
"gpos7",
128150
"gsub/smallcaps_before_ligatures",
151+
"hinting_impact",
152+
"inconsistencies_between_fvar_stat",
153+
"integer_ppem_if_hinted",
129154
"interpolation_issues",
130155
"legacy_accents",
156+
"ligature_carets",
131157
"linegaps",
158+
"kerning_for_non_ligated_sequences",
159+
"mandatory_avar_table",
132160
"mandatory_glyphs",
133161
"math_signs_width",
162+
"missing_small_caps_glyphs",
163+
"name/ascii_only_entries",
164+
"name/family_and_style_max_length",
134165
"name/trailing_spaces",
166+
"no_debugging_tables",
167+
"no_mac_entries",
135168
"os2_metrics_match_hhea",
136169
"ots",
137170
"required_tables",
171+
"render_own_name",
138172
"rupee",
139173
"sfnt_version",
174+
"smart_dropout",
140175
"soft_hyphen",
141176
"STAT_in_statics",
142177
"STAT_strings",
178+
"stylisticset_description",
143179
"tabular_kerning",
144180
"transformed_components",
145181
"ttx_roundtrip",
146182
"typoascender_exceeds_Agrave",
183+
"typographic_family_name",
147184
"unique_glyphnames",
148185
"unreachable_glyphs",
186+
"unwanted_aat_tables",
149187
"unwanted_tables",
150188
"valid_glyphnames",
189+
"varfont/consistent_axes",
190+
"varfont/duplexed_axis_reflow",
191+
"varfont/instances_in_order",
192+
"varfont/unsupported_axes",
193+
"vtt_volt_data", # very similar to vttclean, may be a good idea to merge them.
194+
"vttclean",
151195
"whitespace_glyphnames",
152196
"whitespace_glyphs",
153197
"whitespace_ink",

0 commit comments

Comments
 (0)