diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-07-09 20:29:52 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-07-09 20:29:52 +0300 |
commit | da95554b91cf697927ba13bc957904997da9d90e (patch) | |
tree | 6c86547ca2f6147965ad6b780f4f1b523ce4821b | |
parent | a2460f104bc02554d521064e701f11549c320c05 (diff) | |
download | inter-da95554b91cf697927ba13bc957904997da9d90e.tar.xz |
adds /fraction.squared
-rw-r--r-- | src/Inter.glyphspackage/fontinfo.plist | 1 | ||||
-rw-r--r-- | src/Inter.glyphspackage/glyphs/_part.divfrac.glyph | 258 | ||||
-rw-r--r-- | src/Inter.glyphspackage/glyphs/fraction.circled.glyph | 144 | ||||
-rw-r--r-- | src/Inter.glyphspackage/glyphs/fraction.squared.glyph | 175 | ||||
-rw-r--r-- | src/Inter.glyphspackage/order.plist | 2 | ||||
-rw-r--r-- | src/features/ccmp.fea | 1 |
6 files changed, 485 insertions, 96 deletions
diff --git a/src/Inter.glyphspackage/fontinfo.plist b/src/Inter.glyphspackage/fontinfo.plist index f7d141a51..ecda2b4dc 100644 --- a/src/Inter.glyphspackage/fontinfo.plist +++ b/src/Inter.glyphspackage/fontinfo.plist @@ -2008,6 +2008,7 @@ greater.squared, equal.squared, plus.squared, minus.squared, +fraction.squared, multiply.squared, divide.squared, upArrow.squared, diff --git a/src/Inter.glyphspackage/glyphs/_part.divfrac.glyph b/src/Inter.glyphspackage/glyphs/_part.divfrac.glyph new file mode 100644 index 000000000..39e282e66 --- /dev/null +++ b/src/Inter.glyphspackage/glyphs/_part.divfrac.glyph @@ -0,0 +1,258 @@ +{ +export = 0; +glyphname = _part.divfrac; +layers = ( +{ +anchors = ( +{ +name = _center; +pos = (608,745); +} +); +layerId = "B1F27B51-9973-4381-9301-4FE46FE1CA59"; +shapes = ( +{ +closed = 1; +nodes = ( +(1088,1281,l), +(1052,1310,l), +(128,209,l), +(164,180,l) +); +} +); +width = 1216; +}, +{ +anchors = ( +{ +name = _center; +pos = (608,745); +} +); +layerId = m011; +shapes = ( +{ +closed = 1; +nodes = ( +(1088,1281,l), +(1052,1310,l), +(128,209,l), +(164,180,l) +); +} +); +width = 1216; +}, +{ +anchors = ( +{ +name = _center; +pos = (653,745); +} +); +layerId = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265"; +shapes = ( +{ +closed = 1; +nodes = ( +(1178,1243,l), +(1052,1349,l), +(128,248,l), +(254,142,l) +); +} +); +width = 1306; +}, +{ +anchors = ( +{ +name = _center; +pos = (653,745); +} +); +layerId = m007; +shapes = ( +{ +closed = 1; +nodes = ( +(1178,1243,l), +(1052,1349,l), +(128,248,l), +(254,142,l) +); +} +); +width = 1306; +}, +{ +anchors = ( +{ +name = _center; +pos = (721,745); +} +); +layerId = "5C20EF92-B63D-42A8-8878-93C2863E0093"; +shapes = ( +{ +closed = 1; +nodes = ( +(1310,1188,l), +(1052,1403,l), +(128,302,l), +(386,87,l) +); +} +); +width = 1438; +}, +{ +anchors = ( +{ +name = _center; +pos = (721,745); +} +); +layerId = m009; +shapes = ( +{ +closed = 1; +nodes = ( +(1310,1188,l), +(1052,1403,l), +(128,302,l), +(386,87,l) +); +} +); +width = 1438; +}, +{ +anchors = ( +{ +name = _center; +pos = (604,745); +} +); +layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F"; +shapes = ( +{ +closed = 1; +nodes = ( +(1209,1279,l), +(1176,1312,l), +(70,211,l), +(103,178,l) +); +} +); +width = 1218; +}, +{ +anchors = ( +{ +name = _center; +pos = (610,745); +} +); +layerId = m012; +shapes = ( +{ +closed = 1; +nodes = ( +(1215,1279,l), +(1182,1312,l), +(76,211,l), +(109,178,l) +); +} +); +width = 1219; +}, +{ +anchors = ( +{ +name = _center; +pos = (651,745); +} +); +layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933"; +shapes = ( +{ +closed = 1; +nodes = ( +(1299,1237,l), +(1183,1354,l), +(77,253,l), +(193,136,l) +); +} +); +width = 1315; +}, +{ +anchors = ( +{ +name = _center; +pos = (657,745); +} +); +layerId = m008; +shapes = ( +{ +closed = 1; +nodes = ( +(1304,1237,l), +(1188,1354,l), +(82,253,l), +(198,136,l) +); +} +); +width = 1315; +}, +{ +anchors = ( +{ +name = _center; +pos = (723,745); +} +); +layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E"; +shapes = ( +{ +closed = 1; +nodes = ( +(1431,1176,l), +(1193,1415,l), +(87,314,l), +(325,75,l) +); +} +); +width = 1457; +}, +{ +anchors = ( +{ +name = _center; +pos = (729,745); +} +); +layerId = m010; +shapes = ( +{ +closed = 1; +nodes = ( +(1437,1176,l), +(1199,1415,l), +(93,314,l), +(331,75,l) +); +} +); +width = 1458; +} +); +} diff --git a/src/Inter.glyphspackage/glyphs/fraction.circled.glyph b/src/Inter.glyphspackage/glyphs/fraction.circled.glyph index 0cb58371e..bb2383260 100644 --- a/src/Inter.glyphspackage/glyphs/fraction.circled.glyph +++ b/src/Inter.glyphspackage/glyphs/fraction.circled.glyph @@ -5,16 +5,12 @@ layers = ( layerId = "B1F27B51-9973-4381-9301-4FE46FE1CA59"; shapes = ( { -closed = 1; -nodes = ( -(1903,1281,l), -(1867,1310,l), -(943,209,l), -(979,180,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (815,0); +ref = _part.divfrac; } ); width = 2846; @@ -23,16 +19,12 @@ width = 2846; layerId = m011; shapes = ( { -closed = 1; -nodes = ( -(1903,1281,l), -(1867,1310,l), -(943,209,l), -(979,180,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (815,0); +ref = _part.divfrac; } ); width = 2846; @@ -41,16 +33,12 @@ width = 2846; layerId = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265"; shapes = ( { -closed = 1; -nodes = ( -(1948,1243,l), -(1822,1349,l), -(898,248,l), -(1024,142,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (770,0); +ref = _part.divfrac; } ); width = 2846; @@ -65,16 +53,12 @@ pos = (1423,745); layerId = m007; shapes = ( { -closed = 1; -nodes = ( -(1948,1243,l), -(1822,1349,l), -(898,248,l), -(1024,142,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (770,0); +ref = _part.divfrac; } ); width = 2846; @@ -83,16 +67,12 @@ width = 2846; layerId = "5C20EF92-B63D-42A8-8878-93C2863E0093"; shapes = ( { -closed = 1; -nodes = ( -(2012,1188,l), -(1754,1403,l), -(830,302,l), -(1088,87,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (700,0); +ref = _part.divfrac; } ); width = 2846; @@ -101,16 +81,12 @@ width = 2846; layerId = m009; shapes = ( { -closed = 1; -nodes = ( -(2012,1188,l), -(1754,1403,l), -(830,302,l), -(1088,87,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (702,0); +ref = _part.divfrac; } ); width = 2846; @@ -119,16 +95,12 @@ width = 2846; layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F"; shapes = ( { -closed = 1; -nodes = ( -(2028,1279,l), -(1995,1312,l), -(889,211,l), -(922,178,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (850,0); +ref = _part.divfrac; } ); width = 2846; @@ -137,16 +109,12 @@ width = 2846; layerId = m012; shapes = ( { -closed = 1; -nodes = ( -(2028,1279,l), -(1995,1312,l), -(889,211,l), -(922,178,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (849,0); +ref = _part.divfrac; } ); width = 2847; @@ -155,16 +123,12 @@ width = 2847; layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933"; shapes = ( { -closed = 1; -nodes = ( -(2071,1237,l), -(1955,1354,l), -(849,253,l), -(965,136,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (803,0); +ref = _part.divfrac; } ); width = 2846; @@ -173,16 +137,12 @@ width = 2846; layerId = m008; shapes = ( { -closed = 1; -nodes = ( -(2071,1237,l), -(1955,1354,l), -(849,253,l), -(965,136,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (803,0); +ref = _part.divfrac; } ); width = 2848; @@ -191,16 +151,12 @@ width = 2848; layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E"; shapes = ( { -closed = 1; -nodes = ( -(2131,1176,l), -(1893,1415,l), -(787,314,l), -(1025,75,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (731,0); +ref = _part.divfrac; } ); width = 2847; @@ -209,16 +165,12 @@ width = 2847; layerId = m010; shapes = ( { -closed = 1; -nodes = ( -(2131,1176,l), -(1893,1415,l), -(787,314,l), -(1025,75,l) -); +alignment = 1; +ref = largeCircle; }, { -ref = largeCircle; +pos = (730,0); +ref = _part.divfrac; } ); width = 2847; diff --git a/src/Inter.glyphspackage/glyphs/fraction.squared.glyph b/src/Inter.glyphspackage/glyphs/fraction.squared.glyph new file mode 100644 index 000000000..2ded477f7 --- /dev/null +++ b/src/Inter.glyphspackage/glyphs/fraction.squared.glyph @@ -0,0 +1,175 @@ +{ +glyphname = fraction.squared; +layers = ( +{ +layerId = "B1F27B51-9973-4381-9301-4FE46FE1CA59"; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (806,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = m011; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (806,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265"; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (761,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = m007; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (761,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = "5C20EF92-B63D-42A8-8878-93C2863E0093"; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (693,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = m009; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (693,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F"; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (841,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = m012; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (840,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933"; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (794,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = m008; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (793,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E"; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (722,0); +ref = _part.divfrac; +} +); +width = 2828; +}, +{ +layerId = m010; +shapes = ( +{ +alignment = 1; +ref = whiteLargeSquare; +}, +{ +pos = (721,0); +ref = _part.divfrac; +} +); +width = 2828; +} +); +metricLeft = whiteLargeSquare; +metricRight = whiteLargeSquare; +} diff --git a/src/Inter.glyphspackage/order.plist b/src/Inter.glyphspackage/order.plist index 56507f2b1..b92341511 100644 --- a/src/Inter.glyphspackage/order.plist +++ b/src/Inter.glyphspackage/order.plist @@ -1913,6 +1913,7 @@ greater.squared, equal.squared, plus.squared, minus.squared, +fraction.squared, multiply.squared, divide.squared, upArrow.squared, @@ -2549,6 +2550,7 @@ cyrillictail.cn, cyrillictic.cn, koronisaccentleft.cn, debug1, +_part.divfrac, _part.otophorn, _part.rtopbar, _part.rtophorn, diff --git a/src/features/ccmp.fea b/src/features/ccmp.fea index 11c64c0f1..78eff8c09 100644 --- a/src/features/ccmp.fea +++ b/src/features/ccmp.fea @@ -612,6 +612,7 @@ sub equal enclosingsquarecomb by equal.squared; sub plus enclosingsquarecomb by plus.squared; sub minus enclosingsquarecomb by minus.squared; sub multiply enclosingsquarecomb by multiply.squared; +sub [ fraction slash ] enclosingsquarecomb by fraction.squared; sub divide enclosingsquarecomb by divide.squared; sub upArrow enclosingsquarecomb by upArrow.squared; sub downArrow enclosingsquarecomb by downArrow.squared; |