5661085
diff -ru noto-emoji-f8131fc45736000552cd04a8388dc414d666a829.orig/Makefile noto-emoji-f8131fc45736000552cd04a8388dc414d666a829/Makefile
5661085
--- noto-emoji-f8131fc45736000552cd04a8388dc414d666a829.orig/Makefile	2020-06-25 16:02:56.000000000 +0200
5661085
+++ noto-emoji-f8131fc45736000552cd04a8388dc414d666a829/Makefile	2020-07-21 11:12:06.948389580 +0200
70e0dab
@@ -22,7 +22,8 @@
70e0dab
 PYTHON = python3
Peng Wu 58a1f9a
 PNGQUANTFLAGS = --speed 1 --skip-if-larger --quality 85-95 --force
Peng Wu 58a1f9a
 BODY_DIMENSIONS = 136x128
Peng Wu 58a1f9a
-IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center
Peng Wu 58a1f9a
+#IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center
Peng Wu 58a1f9a
+IMOPS = -size 136x128 -background none -gravity center -extent 136x128 -compose copy
Peng Wu 58a1f9a
 
5661085
 ZOPFLIPNG = zopflipng
5661085
 TTX = ttx
5661085
@@ -163,13 +164,13 @@
Peng Wu 58a1f9a
 # imagemagick packaged with ubuntu trusty (6.7.7-10) by using -composite.
Peng Wu 58a1f9a
 
Peng Wu 58a1f9a
 $(EMOJI_DIR)/%.png: $(EMOJI_SRC_DIR)/%.png | $(EMOJI_DIR)
Peng Wu 58a1f9a
-	@convert $(IMOPS) "$<" -composite "PNG32:$@"
Peng Wu 58a1f9a
+	@gm convert $(IMOPS) "$<" "PNG32:$@"
Peng Wu 58a1f9a
 
1de22c6
 $(FLAGS_DIR)/%.png: $(FLAGS_SRC_DIR)/%.png ./waveflag | $(FLAGS_DIR)
Peng Wu 58a1f9a
 	@./waveflag $(FLAGS_DIR)/ "$<"
Peng Wu 58a1f9a
 
Peng Wu 58a1f9a
 $(RESIZED_FLAGS_DIR)/%.png: $(FLAGS_DIR)/%.png | $(RESIZED_FLAGS_DIR)
Peng Wu 58a1f9a
-	@convert $(IMOPS) "$<" -composite "PNG32:$@"
Peng Wu 58a1f9a
+	@gm convert $(IMOPS) "$<" "PNG32:$@"
Peng Wu 58a1f9a
 
Peng Wu 58a1f9a
 flag-symlinks: $(RESIZED_FLAG_FILES) | $(RENAMED_FLAGS_DIR)
Peng Wu 58a1f9a
 	@$(subst ^, ,                                  \
5661085