Skip to content

Commit d5389fb

Browse files
committed
Fixup
1 parent 12a4163 commit d5389fb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

profile-universal/src/checks/name.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@ fn check_name_match_familyname_fullfont(t: &Testable, _context: &Context) -> Che
9797
.font()
9898
.localized_strings(NameId::TYPOGRAPHIC_FAMILY_NAME);
9999
let wws_names = font.font().localized_strings(NameId::WWS_FAMILY_NAME);
100-
if full_names.len() {}
100+
// if full_names.len() {}
101101
return_result(vec![])
102102
}

profile-universal/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ impl fontspector_checkapi::Plugin for Universal {
1616
cr.register_check(checks::glyf::check_glyf_non_transformed_duplicate_components);
1717
cr.register_check(checks::hhea::caret_slope);
1818
cr.register_check(checks::hhea::maxadvancewidth);
19+
cr.register_check(checks::name::check_name_no_copyright_on_description);
1920
cr.register_check(checks::post::post_table_version);
2021
cr.register_check(checks::post::underline_thickness);
2122
cr.register_check(checks::stat::stat_axis_record);
@@ -45,6 +46,7 @@ impl fontspector_checkapi::Plugin for Universal {
4546
"opentype/glyf_unused_data",
4647
"opentype/points_out_of_bounds",
4748
"opentype/glyf_non_transformed_duplicate_components",
49+
"opentype/name/no_copyright_on_description",
4850
4951
# Checks left to port
5052
"opentype/cff2_call_depth",
@@ -86,7 +88,6 @@ impl fontspector_checkapi::Plugin for Universal {
8688
"opentype/monospace",
8789
"opentype/name/italic_names",
8890
"opentype/name/match_familyname_fullfont",
89-
"opentype/name/no_copyright_on_description",
9091
"opentype/name/postscript_name_consistency",
9192
"opentype/name/postscript_vs_cff",
9293
"opentype/postscript_name",

0 commit comments

Comments
 (0)