small fixes

pull/24/head
Doug Felt 2015-11-13 18:15:09 -08:00
parent ed31eb2a9f
commit c67a8c3fa6
2 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,7 @@ SELECTED_FLAGS = AD AE AF AG AI AL AM AO AR AS AT AU AW AX AZ \
WS \
YE \
ZA ZM ZW
ALL_FLAGS = ($basename ($notdir $(wildcard $(FLAGS_SRC_DIR)/*.png)))
ALL_FLAGS = $(basename $(notdir $(wildcard $(FLAGS_SRC_DIR)/*.png)))
FLAGS = $(SELECTED_FLAGS)
@ -173,7 +173,7 @@ $(QUANTIZED_DIR)/%.png: $(EMOJI_DIR)/%.png $(PNGQUANT) | $(QUANTIZED_DIR)
$(COMPRESSED_DIR)/%.png: $(QUANTIZED_DIR)/%.png | check_compress_tool $(COMPRESSED_DIR)
ifdef MISSING_ZOPFLI
$(OPTIPNG) -quiet -o7 -force -out "$@" "$<"
$(OPTIPNG) -quiet -o7 -clobber -force -out "$@" "$<"
else
$(ZOPFLIPNG) -y "$<" "$@" 2> /dev/null
endif

View File

@ -147,9 +147,9 @@ def add_lig_sequence(ligatures, seq, n):
rev_seq = seq[:]
rev_seq.reverse()
trseq = tuple(rev_seq)
if trseq in ligatures:
# print 'rev lig sequence %s, replace %s with %s' % (
# trseq, ligatures[trseq], n)
# if trseq in ligatures:
# print 'rev lig sequence %s, replace %s with %s' % (
# trseq, ligatures[trseq], n)
ligatures[trseq] = n