Commit c678417f authored by Rajeesh K V's avatar Rajeesh K V

Tidy up the build with kerning feature

Signed-off-by: Rajeesh K V's avatarRajeesh K V <rajeeshknambiar@gmail.com>
parent 2d28856b
......@@ -3,16 +3,15 @@
fontpath=/usr/share/fonts/truetype/malayalam
fonts=AnjaliOldLipi
feature=features/features.fea
kernfeature=features/kerning.fea
PY=python2.7
buildscript=tools/build.py
default: compile
all: compile webfonts
compile:
compile: clean
@for font in `echo ${fonts}`;do \
echo "Generating $$font.ttf";\
$(PY) $(buildscript) $$font.sfd $(feature) $(kernfeature);\
$(PY) $(buildscript) $$font.sfd $(feature) ;\
done;
webfonts:compile
......@@ -37,4 +36,4 @@ test: compile
clean:
@echo "Removing ttf files";
@rm -f *.ttf;
@rm -f *.ttf *.woff;
......@@ -4,6 +4,7 @@ languagesystem mlym dflt;
include (tables.fea)
include (lookups.fea)
include (kerning.fea)
# -------------------
# BASIC SHAPING FORMS
......
......@@ -12,8 +12,6 @@ for lookup in font.gpos_lookups:
# Merge the new featurefile
font.mergeFeature(sys.argv[2])
if sys.argv[3]:
font.mergeFeature(sys.argv[3])
font.version = time.strftime('%Y%m%d')
font.selection.all()
#font.simplify()
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment