-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
60 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (c) 2022-2023 XiNGRZ | ||
# SPDX-License-Identifier: MIT | ||
|
||
add_subdirectory(mono_19) | ||
add_subdirectory(zfull_9) | ||
|
||
zephyr_library_sources(icons_19.c) | ||
zephyr_compile_options(-DLV_LVGL_H_INCLUDE_SIMPLE) |
128 changes: 0 additions & 128 deletions
128
config/boards/arm/hw75_dynamic/app/screen/fonts/icons_19.c
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
config/boards/arm/hw75_dynamic/app/screen/fonts/mono_19/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) 2022-2023 XiNGRZ | ||
# SPDX-License-Identifier: MIT | ||
|
||
zephyr_library() | ||
|
||
set(FONT_SRC icons.ttf) | ||
|
||
set(FONT_NAME mono) | ||
set(FONT_SIZE 19) | ||
|
||
include(${ZMK_CONFIG}/cmake/font_subset.cmake) | ||
font_subset(FONT_SUBSET_TTF ${FONT_SRC} ${ICONS_TXT}) | ||
|
||
include(${ZMK_CONFIG}/cmake/lv_font_conv.cmake) | ||
lv_font_conv(FONT_C_SRCS ${FONT_SUBSET_TTF} | ||
NAME ${FONT_NAME} | ||
SIZE ${FONT_SIZE} | ||
BPP 1 | ||
NO_PREFILTER | ||
NO_KERNING | ||
) | ||
|
||
zephyr_library_sources(${FONT_C_SRCS}) | ||
zephyr_library_include_directories(${ZEPHYR_LVGL_MODULE_DIR}) | ||
zephyr_library_include_directories(${ZEPHYR_BASE}/lib/gui/lvgl) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ICON_VOL,f1ae | ||
ICON_BRI,f198 | ||
ICON_SCR,f193 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters