Skip to content

Commit

Permalink
Make Sura variant pass FontBakery checks
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Jan 10, 2024
1 parent 0672933 commit a625eff
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
Binary file modified docs/assets/fonts/RaqqSura.woff2
Binary file not shown.
Binary file modified fonts/RaqqSura.ttf
Binary file not shown.
Binary file modified fonts/RaqqSura.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ def build(font, default_instance, args):
for i, instance in enumerate(font.instances):
location = {a.name: instance.axes[i] for i, a in enumerate(ds.axes)}
ds.addLocationLabelDescriptor(name=instance.name, userLocation=location)
if instance == default_instance:
if instance == default_instance and len(ds.instances) > 1:
continue
ds.addInstanceDescriptor(
name=f"instance_{i}",
Expand Down
6 changes: 0 additions & 6 deletions sources/RaqqSura.glyphspackage/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1288,12 +1288,6 @@ axesValues = (
10
);
name = Regular;
},
{
axesValues = (
10
);
name = Compact;
}
);
kerningRTL = {
Expand Down
2 changes: 1 addition & 1 deletion sources/RaqqSura.glyphspackage/glyphs/space.glyph
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = alefabove;
);
layerId = m01;
name = Regular;
width = 0;
width = 10;
}
);
unicode = (32,160);
Expand Down

0 comments on commit a625eff

Please sign in to comment.