{"record":{"id":"3391f853ed7b99aa","repo":"emilk/egui","slug":"invalid-variation-axis-tag","errorCode":null,"errorMessage":"Invalid variation axis tag","messagePattern":"Invalid variation axis tag","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/epaint/src/text/text_layout_types.rs","lineNumber":396,"sourceCode":"\nimpl IntoTag for font_types::Tag {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        self\n    }\n}\n\nimpl IntoTag for u32 {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        font_types::Tag::from_u32(self)\n    }\n}\n\nimpl IntoTag for [u8; 4] {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        font_types::Tag::new_checked(&self).expect(\"Invalid variation axis tag\")\n    }\n}\n\nimpl IntoTag for &[u8; 4] {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        font_types::Tag::new_checked(self).expect(\"Invalid variation axis tag\")\n    }\n}\n\nimpl IntoTag for &str {\n    #[inline(always)]\n    fn into_tag(self) -> font_types::Tag {\n        font_types::Tag::from_str(self).expect(\"Invalid variation axis tag\")\n    }\n}\n\n/// List of font variation coordinates by axis tag. If more than one coordinate for a given axis is provided, the last","sourceCodeStart":378,"sourceCodeEnd":414,"githubUrl":"https://github.com/emilk/egui/blob/b9a0723d88dee87ba0965470b554a6efdab1d0bb/crates/epaint/src/text/text_layout_types.rs#L378-L414","documentation":"Error \"Invalid variation axis tag\" thrown in emilk/egui.","triggerScenarios":"Thrown at crates/epaint/src/text/text_layout_types.rs:396 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a valid 4-character OpenType variation axis tag (e.g. \"wght\", \"wdth\") for the font variation."],"exampleFix":"font_data.tweak.variations.push((ab_glyph::Tag::new(b\"wght\"), 700.0));","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b9a0723d88dee87ba0965470b554a6efdab1d0bb","analyzedAt":"2026-08-19T12:39:57.743Z","contentChangedAt":"2026-08-19T12:39:57.743Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}