From e4d81e05eb2f788bb1e02d7e8157f26066aa89a7 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Mon, 11 Jul 2022 10:30:20 -0700 Subject: [PATCH] enable auto alignment of /ellipsis and /twodotleader --- src/Inter.glyphspackage/glyphs/ellipsis.glyph | 128 ++++++++++-------- .../glyphs/twodotleader.glyph | 88 ++++++------ 2 files changed, 120 insertions(+), 96 deletions(-) diff --git a/src/Inter.glyphspackage/glyphs/ellipsis.glyph b/src/Inter.glyphspackage/glyphs/ellipsis.glyph index 22ace3e1d..90a793297 100644 --- a/src/Inter.glyphspackage/glyphs/ellipsis.glyph +++ b/src/Inter.glyphspackage/glyphs/ellipsis.glyph @@ -13,18 +13,21 @@ showMeasurement = 1; layerId = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265"; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (582,0); ref = period; }, { -pos = (1118,0); +alignment = 1; +pos = (1164,0); ref = period; } ); -width = 1682; +width = 1746; }, { guides = ( @@ -36,19 +39,21 @@ showMeasurement = 1; layerId = "5C20EF92-B63D-42A8-8878-93C2863E0093"; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (764,0); ref = period; }, { -pos = (978,0); +alignment = 1; +pos = (1528,0); ref = period; } ); -width = 1606; +width = 2292; }, { guides = ( @@ -60,18 +65,21 @@ showMeasurement = 1; layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933"; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (586,0); ref = period; }, { -pos = (1118,0); +alignment = 1; +pos = (1172,0); ref = period; } ); -width = 1682; +width = 1758; }, { guides = ( @@ -83,61 +91,61 @@ showMeasurement = 1; layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E"; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (770,0); ref = period; }, { -pos = (978,0); +alignment = 1; +pos = (1540,0); ref = period; } ); -width = 1606; +width = 2310; }, { layerId = "B1F27B51-9973-4381-9301-4FE46FE1CA59"; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (554,0); ref = period; }, { -alignment = -1; -pos = (1202,0); +alignment = 1; +pos = (1108,0); ref = period; } ); -width = 1726; +width = 1662; }, { layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F"; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (554,0); ref = period; }, { -alignment = -1; -pos = (1202,0); +alignment = 1; +pos = (1108,0); ref = period; } ); -width = 1726; +width = 1662; }, { guides = ( @@ -149,18 +157,21 @@ showMeasurement = 1; layerId = m007; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (440,0); ref = period; }, { -pos = (1118,0); +alignment = 1; +pos = (880,0); ref = period; } ); -width = 1618; +width = 1320; }, { guides = ( @@ -172,18 +183,21 @@ showMeasurement = 1; layerId = m008; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (440,0); ref = period; }, { -pos = (1118,0); +alignment = 1; +pos = (880,0); ref = period; } ); -width = 1618; +width = 1320; }, { guides = ( @@ -195,19 +209,21 @@ showMeasurement = 1; layerId = m009; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (544,0); ref = period; }, { -pos = (978,0); +alignment = 1; +pos = (1088,0); ref = period; } ); -width = 1574; +width = 1632; }, { guides = ( @@ -219,61 +235,61 @@ showMeasurement = 1; layerId = m010; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (544,0); ref = period; }, { -pos = (978,0); +alignment = 1; +pos = (1088,0); ref = period; } ); -width = 1574; +width = 1632; }, { layerId = m011; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (400,0); ref = period; }, { -alignment = -1; -pos = (1202,0); +alignment = 1; +pos = (800,0); ref = period; } ); -width = 1598; +width = 1200; }, { layerId = m012; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (400,0); ref = period; }, { -alignment = -1; -pos = (1202,0); +alignment = 1; +pos = (800,0); ref = period; } ); -width = 1598; +width = 1200; } ); tags = ( diff --git a/src/Inter.glyphspackage/glyphs/twodotleader.glyph b/src/Inter.glyphspackage/glyphs/twodotleader.glyph index 61626a7ac..0fcf8f147 100644 --- a/src/Inter.glyphspackage/glyphs/twodotleader.glyph +++ b/src/Inter.glyphspackage/glyphs/twodotleader.glyph @@ -11,14 +11,16 @@ showMeasurement = 1; layerId = "C698F293-3EC0-4A5A-A3A0-0FDB1F5CF265"; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (582,0); ref = period; } ); -width = 1122; +width = 1164; }, { guides = ( @@ -31,15 +33,16 @@ showMeasurement = 1; layerId = "5C20EF92-B63D-42A8-8878-93C2863E0093"; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (764,0); ref = period; } ); -width = 1122; +width = 1528; }, { guides = ( @@ -52,14 +55,16 @@ showMeasurement = 1; layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933"; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (586,0); ref = period; } ); -width = 1122; +width = 1172; }, { guides = ( @@ -72,47 +77,46 @@ showMeasurement = 1; layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E"; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (770,0); ref = period; } ); -width = 1122; +width = 1540; }, { layerId = "B1F27B51-9973-4381-9301-4FE46FE1CA59"; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (554,0); ref = period; } ); -width = 1122; +width = 1108; }, { layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F"; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (554,0); ref = period; } ); -width = 1122; +width = 1108; }, { guides = ( @@ -124,14 +128,16 @@ showMeasurement = 1; layerId = m007; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (440,0); ref = period; } ); -width = 1058; +width = 880; }, { guides = ( @@ -144,14 +150,16 @@ showMeasurement = 1; layerId = m008; shapes = ( { +alignment = 1; ref = period; }, { -pos = (558,0); +alignment = 1; +pos = (440,0); ref = period; } ); -width = 1058; +width = 880; }, { guides = ( @@ -164,15 +172,16 @@ showMeasurement = 1; layerId = m009; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (544,0); ref = period; } ); -width = 1090; +width = 1088; }, { guides = ( @@ -185,47 +194,46 @@ showMeasurement = 1; layerId = m010; shapes = ( { -pos = (12,0); +alignment = 1; ref = period; }, { -pos = (494,0); +alignment = 1; +pos = (544,0); ref = period; } ); -width = 1090; +width = 1088; }, { layerId = m011; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (400,0); ref = period; } ); -width = 994; +width = 800; }, { layerId = m012; shapes = ( { -alignment = -1; -pos = (-8,0); +alignment = 1; ref = period; }, { -alignment = -1; -pos = (596,0); +alignment = 1; +pos = (400,0); ref = period; } ); -width = 994; +width = 800; } ); tags = (