Skip to content

Commit

Permalink
Enable fonts's auto-trim feature to save space.
Browse files Browse the repository at this point in the history
  • Loading branch information
laqieer committed Feb 12, 2022
1 parent 99824a2 commit aea8058
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/butano/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# GRAPHICS is a list of directories containing files to be processed by grit.
# AUDIO is a list of directories containing files to be processed by mmutil.
# FONTS is a list of directories containing font files.
# TEXTS is a list of directories or filenames containing text files.
# ROMTITLE is a uppercase ASCII, max 12 characters text string containing the output ROM title.
# ROMCODE is a uppercase ASCII, max 4 characters text string containing the output ROM code.
# USERFLAGS is a list of additional compiler flags:
Expand All @@ -32,13 +33,14 @@ DATA :=
GRAPHICS := graphics $(BUILD)/fonts
AUDIO := audio
FONTS := ../../common/fonts/SimplifiedChinese ../../common/fonts/Japanese ../../common/fonts/Korean ../../common/fonts/TraditionalChinese ../../common/fonts/TraditionalChineseHK
TEXTS := src/main.cpp
ROMTITLE := FREE FONT
ROMCODE := SBTP
USERFLAGS :=
USERLIBDIRS :=
USERLIBS :=
USERBUILD :=
EXTTOOL := $(PYTHON) $(LIBBUTANO)/tools/butano_fonts_tool.py --build=$(BUILD) --fonts="$(FONTS)"
EXTTOOL := $(PYTHON) $(LIBBUTANO)/tools/butano_fonts_tool.py --build=$(BUILD) --fonts="$(FONTS)" --texts="$(TEXTS)"

#---------------------------------------------------------------------------------------------------------------------
# Export absolute butano path:
Expand Down

0 comments on commit aea8058

Please sign in to comment.