Skip to content

Commit

Permalink
Improvements to fractions
Browse files Browse the repository at this point in the history
- Fixes design and positioning of: /plus /minus /equals /parenleft /parentright {.dnom,.numr}
- Adds /comma /period {.dnom,.numr} including variants for .ss03 and ss07
- Kerning for /comma & /period

Closes #671
  • Loading branch information
rsms committed Mar 26, 2024
1 parent 8d57c1f commit 5dd58f9
Show file tree
Hide file tree
Showing 41 changed files with 3,204 additions and 1,836 deletions.
114 changes: 109 additions & 5 deletions src/Inter-Italic.glyphspackage/fontinfo.plist

Large diffs are not rendered by default.

82 changes: 82 additions & 0 deletions src/Inter-Italic.glyphspackage/glyphs/comma.dnom.glyph
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
glyphname = comma.dnom;
kernLeft = period.dnom;
kernRight = period.dnom;
layers = (
{
layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F";
metricLeft = "=-40";
metricRight = "=-40";
name = ital_gen;
shapes = (
{
pos = (-40,0);
ref = comma;
}
);
width = 474;
},
{
layerId = m012;
metricLeft = "=-60";
metricRight = "=-50";
name = ital_gen;
shapes = (
{
pos = (-60,0);
ref = comma;
}
);
width = 290;
},
{
layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933";
name = ital_gen;
shapes = (
{
ref = comma;
scale = (0.8,0.8);
}
);
width = 472;
},
{
layerId = m008;
metricLeft = "=-30";
metricRight = "=-30";
name = ital_gen;
shapes = (
{
pos = (-30,0);
ref = comma;
scale = (0.9,0.8);
}
);
width = 345;
},
{
layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E";
name = ital_gen;
shapes = (
{
ref = comma;
scale = (0.8,0.8);
}
);
width = 611;
},
{
layerId = m010;
metricLeft = "=-10";
name = ital_gen;
shapes = (
{
pos = (-10,0);
ref = comma;
scale = (0.7,0.7);
}
);
width = 371;
}
);
}
82 changes: 82 additions & 0 deletions src/Inter-Italic.glyphspackage/glyphs/comma.dnom.ss03.glyph
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
glyphname = comma.dnom.ss03;
kernLeft = period.dnom;
kernRight = period.dnom;
layers = (
{
layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F";
metricLeft = "=-40";
metricRight = "=-40";
name = ital_gen;
shapes = (
{
pos = (-40,0);
ref = comma.ss03;
}
);
width = 474;
},
{
layerId = m012;
metricLeft = "=-50";
metricRight = "=-50";
name = ital_gen;
shapes = (
{
pos = (-50,0);
ref = comma.ss03;
}
);
width = 300;
},
{
layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933";
name = ital_gen;
shapes = (
{
ref = comma.ss03;
scale = (0.8,0.8);
}
);
width = 472;
},
{
layerId = m008;
metricLeft = "=-20";
metricRight = "=-20";
name = ital_gen;
shapes = (
{
pos = (-20,0);
ref = comma.ss03;
scale = (0.9,0.8);
}
);
width = 365;
},
{
layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E";
name = ital_gen;
shapes = (
{
ref = comma.ss03;
scale = (0.8,0.8);
}
);
width = 611;
},
{
layerId = m010;
metricLeft = "=-10";
name = ital_gen;
shapes = (
{
pos = (-10,0);
ref = comma.ss03;
scale = (0.7,0.7);
}
);
width = 371;
}
);
}
80 changes: 80 additions & 0 deletions src/Inter-Italic.glyphspackage/glyphs/comma.dnom.ss07.glyph
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
glyphname = comma.dnom.ss07;
layers = (
{
layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F";
metricLeft = "=-40";
metricRight = "=-40";
name = ital_gen;
shapes = (
{
pos = (-40,0);
ref = comma.ss07;
}
);
width = 475;
},
{
layerId = m012;
metricLeft = "=-40";
metricRight = "=-40";
name = ital_gen;
shapes = (
{
pos = (-40,0);
ref = comma.ss07;
}
);
width = 320;
},
{
layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933";
name = ital_gen;
shapes = (
{
ref = comma.ss07;
scale = (0.8,0.8);
}
);
width = 472;
},
{
layerId = m008;
metricLeft = "=-10";
metricRight = "=-10";
name = ital_gen;
shapes = (
{
pos = (-11,-8);
ref = comma.ss07;
scale = (0.9,0.8);
}
);
width = 385;
},
{
layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E";
name = ital_gen;
shapes = (
{
ref = comma.ss07;
scale = (0.8,0.8);
}
);
width = 612;
},
{
layerId = m010;
metricLeft = "=-10";
name = ital_gen;
shapes = (
{
pos = (-10,0);
ref = comma.ss07;
scale = (0.6,0.6);
}
);
width = 316;
}
);
}
84 changes: 84 additions & 0 deletions src/Inter-Italic.glyphspackage/glyphs/comma.numr.glyph
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
glyphname = comma.numr;
kernLeft = period.numr;
kernRight = period.numr;
layers = (
{
layerId = "200BE2C5-40F6-4CF4-AF4F-A33C0CC0964F";
metricLeft = "=-40";
metricRight = "=-40";
name = ital_gen;
shapes = (
{
pos = (76,701);
ref = comma;
}
);
width = 474;
},
{
layerId = m012;
metricLeft = "=-60";
metricRight = "=-50";
name = ital_gen;
shapes = (
{
pos = (56,703);
ref = comma;
}
);
width = 290;
},
{
layerId = "11F4534A-B963-4AB5-820F-DAF9A20CD933";
name = ital_gen;
shapes = (
{
pos = (113,682);
ref = comma;
scale = (0.8,0.8);
}
);
width = 471;
},
{
layerId = m008;
metricLeft = "=-30";
metricRight = "=-30";
name = ital_gen;
shapes = (
{
pos = (79,657);
ref = comma;
scale = (0.9,0.8);
}
);
width = 345;
},
{
layerId = "D0EC06BF-13F9-4C88-A6F5-B8203AF6C77E";
name = ital_gen;
shapes = (
{
pos = (110,664);
ref = comma;
scale = (0.8,0.8);
}
);
width = 611;
},
{
layerId = m010;
metricLeft = "=-10";
name = ital_gen;
shapes = (
{
pos = (99,658);
ref = comma;
scale = (0.7,0.7);
}
);
width = 371;
}
);
}
Loading

0 comments on commit 5dd58f9

Please sign in to comment.