Skip to content

Commit

Permalink
Flatten components
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Mar 18, 2021
1 parent 0b7d57d commit 84ba85a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified ArefRuqaa-Bold.ttf
Binary file not shown.
Binary file modified ArefRuqaa-Regular.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ all: $(OTF)
$(BLDDIR)/$(LATIN)-%.ttf: $(SRCDIR)/$(LATIN)-%.ufo
echo " BUILD $(@F)"
mkdir -p $(BLDDIR)
$(PY) -m fontmake --verbose WARNING -u $< -o ttf --output-path $@
$(PY) -m fontmake --verbose WARNING --flatten-components -u $< -o ttf --output-path $@

$(BLDDIR)/$(NAME)-%.ttf: $(SRCDIR)/$(NAME)-%.sfdir $(SRCDIR)/$(NAME).fea
echo " BUILD $(@F)"
Expand Down
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def build(args):
info.versionMajor, info.versionMinor = int(major), int(minor)
info.copyright = info.copyright.format(year=datetime.now().year)

compileTTF(font, inplace=True).save(args.out_file)
compileTTF(font, inplace=True, flattenComponents=True).save(args.out_file)


def main():
Expand Down

0 comments on commit 84ba85a

Please sign in to comment.