aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/fonts
diff options
context:
space:
mode:
authorkieranc <kieranc@gmail.com>2023-06-04 16:52:31 +0200
committerGitHub <noreply@github.com>2023-06-04 16:52:31 +0200
commit94f41258d52102dc4863d964d43794b34f26cf41 (patch)
treeb4ca7ee44ea2531ca326487966c7a1b1c2b4ebe5 /src/displayapp/fonts
parent394f58fbb246a3b54a409bf94d85aa7d63b88a2c (diff)
PineTimeStyle weather display (#1459)
Weather display for PineTimeStyle Documentation : https://wiki.pine64.org/wiki/PineTimeStyle and https://wiki.pine64.org/wiki/Infinitime-Weather
Diffstat (limited to 'src/displayapp/fonts')
-rw-r--r--src/displayapp/fonts/CMakeLists.txt2
-rw-r--r--src/displayapp/fonts/fonts.json12
2 files changed, 12 insertions, 2 deletions
diff --git a/src/displayapp/fonts/CMakeLists.txt b/src/displayapp/fonts/CMakeLists.txt
index 84830cc0..5a32151e 100644
--- a/src/displayapp/fonts/CMakeLists.txt
+++ b/src/displayapp/fonts/CMakeLists.txt
@@ -1,6 +1,6 @@
set(FONTS jetbrains_mono_42 jetbrains_mono_76 jetbrains_mono_bold_20
jetbrains_mono_extrabold_compressed lv_font_navi_80 lv_font_sys_48
- open_sans_light)
+ open_sans_light fontawesome_weathericons)
find_program(LV_FONT_CONV "lv_font_conv" NO_CACHE REQUIRED
HINTS "${CMAKE_SOURCE_DIR}/node_modules/.bin")
message(STATUS "Using ${LV_FONT_CONV} to generate font files")
diff --git a/src/displayapp/fonts/fonts.json b/src/displayapp/fonts/fonts.json
index 914ba163..e65f6dd4 100644
--- a/src/displayapp/fonts/fonts.json
+++ b/src/displayapp/fonts/fonts.json
@@ -3,7 +3,7 @@
"sources": [
{
"file": "JetBrainsMono-Bold.ttf",
- "range": "0x20-0x7e, 0x410-0x44f"
+ "range": "0x20-0x7e, 0x410-0x44f, 0xB0"
},
{
"file": "FontAwesome5-Solid+Brands+Regular.woff",
@@ -74,5 +74,15 @@
"bpp": 2,
"size": 80,
"compress": true
+ },
+ "fontawesome_weathericons": {
+ "sources": [
+ {
+ "file": "FontAwesome5-Solid+Brands+Regular.woff",
+ "range": "0xf185, 0xf6c4, 0xf743, 0xf740, 0xf75f, 0xf0c2, 0xf05e"
+ }
+ ],
+ "bpp": 1,
+ "size": 25
}
}