@ot-builder/ft-layout
Advanced tools
+15
-1
@@ -5,3 +5,17 @@ { | ||
| { | ||
| "date": "Sun, 16 Feb 2020 00:13:35 GMT", | ||
| "date": "Sun, 15 Mar 2020 00:15:23 GMT", | ||
| "tag": "@ot-builder/ft-layout_v0.4.2", | ||
| "version": "0.4.2", | ||
| "comments": { | ||
| "patch": [ | ||
| { | ||
| "comment": "Add support for feature params of `cv##` features.", | ||
| "author": "belleve@typeof.net", | ||
| "commit": "41d5e955258efb4b7af498c39ead1aad0b302edd" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "date": "Sun, 16 Feb 2020 00:16:01 GMT", | ||
| "tag": "@ot-builder/ft-layout_v0.4.1", | ||
@@ -8,0 +22,0 @@ "version": "0.4.1", |
+8
-2
| # Change Log - @ot-builder/ft-layout | ||
| This log was last generated on Sun, 16 Feb 2020 00:13:35 GMT and should not be manually modified. | ||
| This log was last generated on Sun, 15 Mar 2020 00:15:23 GMT and should not be manually modified. | ||
| ## 0.4.2 | ||
| Sun, 15 Mar 2020 00:15:23 GMT | ||
| ### Patches | ||
| - Add support for feature params of `cv##` features. (belleve@typeof.net) | ||
| ## 0.4.1 | ||
| Sun, 16 Feb 2020 00:13:35 GMT | ||
| Sun, 16 Feb 2020 00:16:01 GMT | ||
@@ -8,0 +14,0 @@ ### Patches |
| import { Sigma } from "@ot-builder/prelude"; | ||
| import { UInt16, UInt24 } from "@ot-builder/primitive/src"; | ||
| export declare namespace FeatureParams { | ||
| const TID_StylisticSet: Sigma.TypeID<StylisticSet>; | ||
| interface StylisticSet { | ||
| readonly uiNameID: number; | ||
| } | ||
| const TID_StylisticSet: Sigma.TypeID<StylisticSet>; | ||
| const TID_CharacterVariant: Sigma.TypeID<CharacterVariant>; | ||
| interface CharacterVariant { | ||
| readonly featUiLabelNameId: UInt16; | ||
| readonly featUiTooltipTextNameId: UInt16; | ||
| readonly sampleTextNameId: UInt16; | ||
| readonly numNamedParameters: UInt16; | ||
| readonly firstParamUiLabelNameId: UInt16; | ||
| readonly characters: ReadonlyArray<UInt24>; | ||
| } | ||
| const tagToTypeIDMap: { | ||
@@ -8,0 +18,0 @@ readonly [tag: string]: undefined | Sigma.TypeID<any>; |
@@ -8,26 +8,13 @@ "use strict"; | ||
| FeatureParams.TID_StylisticSet = new prelude_1.Sigma.TypeID("OTB::FeatureParams::StylisticSet"); | ||
| FeatureParams.TID_CharacterVariant = new prelude_1.Sigma.TypeID("OTB::FeatureParams::CharacterVariant"); | ||
| const _tagToTypeIDMap = {}; | ||
| // ss01 -- ss20 | ||
| _tagToTypeIDMap["ss01"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss02"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss03"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss04"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss05"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss06"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss07"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss08"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss09"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss10"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss11"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss12"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss13"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss14"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss15"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss16"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss17"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss18"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss19"] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["ss20"] = FeatureParams.TID_StylisticSet; | ||
| for (let id = 1; id <= 99; id++) { | ||
| let idRep = "" + id; | ||
| if (idRep.length < 2) | ||
| idRep = "0" + idRep; | ||
| _tagToTypeIDMap["ss" + idRep] = FeatureParams.TID_StylisticSet; | ||
| _tagToTypeIDMap["cv" + idRep] = FeatureParams.TID_CharacterVariant; | ||
| } | ||
| FeatureParams.tagToTypeIDMap = _tagToTypeIDMap; | ||
| })(FeatureParams = exports.FeatureParams || (exports.FeatureParams = {})); | ||
| //# sourceMappingURL=feature-params.js.map |
+4
-4
@@ -8,3 +8,3 @@ { | ||
| }, | ||
| "version": "0.4.1", | ||
| "version": "0.4.2", | ||
| "main": "./lib/index.js", | ||
@@ -21,6 +21,6 @@ "types": "./lib/index.d.ts", | ||
| "dependencies": { | ||
| "@ot-builder/ft-glyphs": "0.3.1", | ||
| "@ot-builder/ft-glyphs": "0.3.2", | ||
| "@ot-builder/prelude": "0.3.0", | ||
| "@ot-builder/primitive": "0.2.2", | ||
| "@ot-builder/variance": "0.3.1", | ||
| "@ot-builder/primitive": "0.2.3", | ||
| "@ot-builder/variance": "0.3.2", | ||
| "tslib": "^1.9.3" | ||
@@ -27,0 +27,0 @@ }, |
47883
0.22%1123
0.99%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated