update NF batteries

This commit is contained in:
Daylin Morgan 2022-09-22 11:11:08 -05:00
parent 58b19699b9
commit b2ced74aec
3 changed files with 13 additions and 5 deletions

View File

@ -667,11 +667,11 @@ class font_patcher:
ligature_subtables = json.loads(self.config.get("Subtables", "ligatures"))
for subtable in ligature_subtables:
print("Removing subtable:", subtable)
try:
self.sourceFont.removeLookupSubtable(subtable)
print("Successfully removed subtable:", subtable)
except Exception:
print("Failed to remove subtable:", subtable)
try:
self.sourceFont.removeLookupSubtable(subtable)
print("Successfully removed subtable:", subtable)
except Exception:
print("Failed to remove subtable:", subtable)
elif self.args.removeligatures:
print("Unable to read configfile, unable to remove ligatures")
else:

8
src/glyphs/README.md Normal file
View File

@ -0,0 +1,8 @@
### Contents
This directory contains all the glyphs (glyph sets) that the `font-patcher` puts into the fonts.
If a icon font here is updated, do not forget to update the database file in `bin/script/libs`.
The 'Seti and Original' icons (in `original-source.otf`) is automatically generated from the glyphs in `src/svgs`.
Do not edit and commit changes to that font directly.

Binary file not shown.