fn serialize_ligature_lookup<const N: usize>( ligatures: &[([u16; N], u16)], flags: u16, ) -> Option<Vec<u8>>