diff --git a/read-fonts/generated/generated_layout.rs b/read-fonts/generated/generated_layout.rs index e48157a69..cbbc1b6a6 100644 --- a/read-fonts/generated/generated_layout.rs +++ b/read-fonts/generated/generated_layout.rs @@ -4399,7 +4399,7 @@ impl<'a> std::fmt::Debug for StylisticSetParams<'a> { } impl Format for CharacterVariantParamsMarker { - const FORMAT: u16 = 1; + const FORMAT: u16 = 0; } /// featureParams for ['cv01'-'cv99'](https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#cv01-cv99) diff --git a/resources/codegen_inputs/layout.rs b/resources/codegen_inputs/layout.rs index fe95f1483..e78ae0192 100644 --- a/resources/codegen_inputs/layout.rs +++ b/resources/codegen_inputs/layout.rs @@ -678,7 +678,7 @@ table StylisticSetParams { /// featureParams for ['cv01'-'cv99'](https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#cv01-cv99) table CharacterVariantParams { /// Format number is set to 0. - #[format = 1] + #[format = 0] format: u16, /// The 'name' table name ID that specifies a string (or strings, /// for multiple languages) for a user-interface label for this diff --git a/write-fonts/generated/generated_layout.rs b/write-fonts/generated/generated_layout.rs index cecbac191..fbef83119 100644 --- a/write-fonts/generated/generated_layout.rs +++ b/write-fonts/generated/generated_layout.rs @@ -2972,7 +2972,7 @@ impl CharacterVariantParams { impl FontWrite for CharacterVariantParams { #[allow(clippy::unnecessary_cast)] fn write_into(&self, writer: &mut TableWriter) { - (1 as u16).write_into(writer); + (0 as u16).write_into(writer); self.feat_ui_label_name_id.write_into(writer); self.feat_ui_tooltip_text_name_id.write_into(writer); self.sample_text_name_id.write_into(writer);