From 04eba8abf276ef2e6bb58cf704624b143e08eb21 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Thu, 6 Oct 2022 18:43:09 -0700 Subject: [PATCH] fix sidebearing of italic /f --- src/Inter-Italic.glyphspackage/glyphs/f.glyph | 65 +++++-------------- .../glyphs/fdotaccent.glyph | 4 +- .../glyphs/longs.glyph | 40 ++++++++---- 3 files changed, 43 insertions(+), 66 deletions(-) diff --git a/src/Inter-Italic.glyphspackage/glyphs/f.glyph b/src/Inter-Italic.glyphspackage/glyphs/f.glyph index 9c7daf33b..d5d72e5a6 100644 --- a/src/Inter-Italic.glyphspackage/glyphs/f.glyph +++ b/src/Inter-Italic.glyphspackage/glyphs/f.glyph @@ -89,97 +89,62 @@ width = 824; anchors = ( { name = bottom; -pos = (266,0); -} -); -guides = ( -{ -angle = 80.6; -pos = (389,1317); +pos = (187,0); } ); layerId = m008; -metricLeft = "=t"; metricRight = "=t"; name = ital_gen; shapes = ( { -pos = (65,0); +pos = (-14,0); ref = longs; }, { closed = 1; nodes = ( -(198,1056,l), -(174,910,l), -(712,910,l), -(736,1056,l) +(119,1056,l), +(95,910,l), +(633,910,l), +(657,1056,l) ); } ); -width = 706; +width = 627; }, { anchors = ( { name = bottom; -pos = (308,0); +pos = (298,0); } ); background = { shapes = ( { -closed = 1; -nodes = ( -(819,761,l), -(819,1069,l), -(68,1069,l), -(68,761,l) -); -}, -{ -closed = 1; -nodes = ( -(619,0,l), -(619,1075,ls), -(619,1153,o), -(648,1182,o), -(728,1182,cs), -(764,1182,o), -(797,1182,o), -(819,1182,c), -(819,1490,l), -(783,1490,o), -(708,1490,o), -(617,1490,cs), -(337,1490,o), -(214,1385,o), -(214,1146,cs), -(214,0,l) -); +ref = t; } ); }; layerId = m010; -metricLeft = "=t"; metricRight = "=t"; name = ital_gen; shapes = ( { -pos = (29,0); +pos = (19,0); ref = longs; }, { closed = 1; nodes = ( -(122,1056,l), -(72,752,l), -(852,752,l), -(902,1056,l) +(112,1056,l), +(62,752,l), +(842,752,l), +(892,1056,l) ); } ); -width = 863; +width = 853; }, { anchors = ( diff --git a/src/Inter-Italic.glyphspackage/glyphs/fdotaccent.glyph b/src/Inter-Italic.glyphspackage/glyphs/fdotaccent.glyph index a307f3d90..a618d528e 100644 --- a/src/Inter-Italic.glyphspackage/glyphs/fdotaccent.glyph +++ b/src/Inter-Italic.glyphspackage/glyphs/fdotaccent.glyph @@ -53,11 +53,11 @@ shapes = ( ref = f; }, { -pos = (285,414); +pos = (206,414); ref = dotaccent; } ); -width = 706; +width = 627; }, { layerId = m010; diff --git a/src/Inter-Italic.glyphspackage/glyphs/longs.glyph b/src/Inter-Italic.glyphspackage/glyphs/longs.glyph index 4ddf57c86..d65640a6a 100644 --- a/src/Inter-Italic.glyphspackage/glyphs/longs.glyph +++ b/src/Inter-Italic.glyphspackage/glyphs/longs.glyph @@ -112,6 +112,12 @@ nodes = ( } ); }; +guides = ( +{ +angle = 80.6; +pos = (109,910); +} +); layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933"; name = ital_gen; shapes = ( @@ -276,6 +282,12 @@ nodes = ( } ); }; +guides = ( +{ +angle = 80.6; +pos = (109,910); +} +); layerId = m008; metricRight = "=_part.t_base"; name = ital_gen; @@ -283,9 +295,9 @@ shapes = ( { closed = 1; nodes = ( -(103,-418,o), -(232,-303,o), -(267,-92,cs), +(144,-418,o), +(230,-313,o), +(261,-125,cs), (485,1218,ls), (500,1309,o), (539,1344,o), @@ -300,17 +312,17 @@ nodes = ( (467,1490,o), (344,1395,o), (319,1244,cs), -(97,-92,ls), -(78,-206,o), -(25,-258,o), -(-73,-258,cs), -(-109,-258,o), -(-127,-258,o), -(-163,-258,c), -(-190,-418,l), -(-154,-418,o), -(-136,-418,o), -(-100,-418,cs) +(91,-125,ls), +(75,-224,o), +(42,-258,o), +(-56,-258,cs), +(-92,-258,o), +(-80,-258,o), +(-116,-258,c), +(-143,-418,l), +(-83,-418,o), +(-95,-418,o), +(-59,-418,cs) ); } );