Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/fontinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ pub type Bitlist = Vec<u8>;
///
/// [`fontinfo.plist`]: http://unifiedfontobject.org/versions/ufo3/fontinfo.plist/
#[derive(Debug, Clone, Default, Serialize, Deserialize, PartialEq)]
#[serde(deny_unknown_fields)]
#[serde(rename_all = "camelCase")]
pub struct FontInfo {
// INFO: Keep this struct sorted alphabetically, serde serializes it in the order you see
Expand Down Expand Up @@ -341,7 +340,6 @@ pub struct FontInfo {
///
/// [`fontinfo.plist`]: http://unifiedfontobject.org/versions/ufo2/fontinfo.plist/
#[derive(Deserialize)]
#[serde(deny_unknown_fields)]
#[allow(non_snake_case)]
struct FontInfoV2 {
ascender: Option<IntegerOrFloat>,
Expand Down Expand Up @@ -445,7 +443,6 @@ struct FontInfoV2 {
///
/// [`fontinfo.plist`]: http://unifiedfontobject.org/versions/ufo1/fontinfo.plist/
#[derive(Deserialize)]
#[serde(deny_unknown_fields)]
#[allow(non_snake_case)]
struct FontInfoV1 {
ascender: Option<IntegerOrFloat>,
Expand Down