-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[glyphs] Handle additional custom params
Specifically openTypeHeadLowestRecPPEM, and the various hhea & vhea caret properties. (vhea isn't handled yet, but we can at least parse it now in preparation)
- Loading branch information
Showing
3 changed files
with
252 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
{ | ||
.appVersion = "3260"; | ||
.formatVersion = 3; | ||
DisplayStrings = ( | ||
"" | ||
); | ||
customParameters = ( | ||
{ | ||
name = openTypeHeadFlags; | ||
value = ( | ||
0 | ||
); | ||
}, | ||
{ | ||
name = openTypeHeadLowestRecPPEM; | ||
value = 7; | ||
}, | ||
{ | ||
name = openTypeHheaCaretOffset; | ||
value = 2; | ||
}, | ||
{ | ||
name = openTypeHheaCaretSlopeRise; | ||
value = 1; | ||
}, | ||
{ | ||
name = openTypeHheaCaretSlopeRun; | ||
value = 5; | ||
}, | ||
); | ||
date = "2022-04-17 11:15:57 +0000"; | ||
familyName = UnusualParams; | ||
fontMaster = ( | ||
{ | ||
customParameters = ( | ||
); | ||
id = master01; | ||
metricValues = ( | ||
{ | ||
pos = 800; | ||
}, | ||
{ | ||
pos = 700; | ||
}, | ||
{ | ||
pos = 500; | ||
}, | ||
{ | ||
}, | ||
{ | ||
pos = -200; | ||
}, | ||
{ | ||
} | ||
); | ||
name = Regular; | ||
} | ||
); | ||
glyphs = ( | ||
{ | ||
glyphname = space; | ||
layers = ( | ||
{ | ||
layerId = master01; | ||
width = 600; | ||
} | ||
); | ||
unicode = 32; | ||
} | ||
); | ||
instances = ( | ||
{ | ||
instanceInterpolations = { | ||
master01 = 1; | ||
}; | ||
name = Regular; | ||
properties = ( | ||
{ | ||
key = postscriptFontName; | ||
value = "NotoFangsongKSSRotated-Regular"; | ||
} | ||
); | ||
} | ||
); | ||
metrics = ( | ||
{ | ||
type = ascender; | ||
}, | ||
{ | ||
type = "cap height"; | ||
}, | ||
{ | ||
type = "x-height"; | ||
}, | ||
{ | ||
type = baseline; | ||
}, | ||
{ | ||
type = descender; | ||
}, | ||
{ | ||
type = "italic angle"; | ||
} | ||
); | ||
properties = ( | ||
{ | ||
key = copyrights; | ||
values = ( | ||
{ | ||
language = dflt; | ||
value = "Copyright 2022 Google LLC. All Rights Reserved."; | ||
} | ||
); | ||
}, | ||
{ | ||
key = designers; | ||
values = ( | ||
{ | ||
language = dflt; | ||
value = me; | ||
} | ||
); | ||
}, | ||
{ | ||
key = familyNames; | ||
values = ( | ||
{ | ||
language = dflt; | ||
value = ""; | ||
} | ||
); | ||
}, | ||
{ | ||
key = licenses; | ||
values = ( | ||
{ | ||
language = dflt; | ||
value = "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL"; | ||
} | ||
); | ||
}, | ||
{ | ||
key = manufacturers; | ||
values = ( | ||
{ | ||
language = dflt; | ||
value = myself; | ||
} | ||
); | ||
}, | ||
{ | ||
key = sampleTexts; | ||
values = ( | ||
{ | ||
language = dflt; | ||
value = ""; | ||
} | ||
); | ||
}, | ||
{ | ||
key = trademarks; | ||
values = ( | ||
{ | ||
language = dflt; | ||
value = ""; | ||
} | ||
); | ||
} | ||
); | ||
settings = { | ||
disablesNiceNames = 1; | ||
}; | ||
unitsPerEm = 1000; | ||
userData = { | ||
UFOFormat = 3; | ||
}; | ||
versionMajor = 1; | ||
versionMinor = 0; | ||
} |