Skip to content

Commit c6988b5

Browse files
committed
opendingux: gmenu2x: Specify fallback fonts
Explicitly specify the path to the fallback fonts. The default configuration tries 2 different fonts but here we can take advantage of knowing the exact font we want. Signed-off-by: Gleb Mazovetskiy <[email protected]>
1 parent 740a7bb commit c6988b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

board/opendingux/package/gmenu2x/gmenu2x.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
GMENU2X_VERSION = 0c21e5d
77
GMENU2X_SITE = $(call github,opendingux,gmenu2x,$(GMENU2X_VERSION))
88
GMENU2X_DEPENDENCIES = sdl sdl_ttf sdl_gfx dejavu libpng fonts-droid
9-
GMENU2X_CONF_OPTS = -DBIND_CONSOLE=ON
9+
10+
GMENU2X_CONF_OPTS =
11+
-DBIND_CONSOLE=ON \
12+
-DDEFAULT_FALLBACK_FONTS=",{\"/usr/share/fonts/truetype/droid/DroidSansFallback.ttf\",13}"
1013

1114
ifeq ($(BR2_PACKAGE_GMENU2X_SHOW_CLOCK),y)
1215
GMENU2X_CONF_OPTS += -DCLOCK=ON

0 commit comments

Comments
 (0)