aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/fonts
Commit message (Collapse)AuthorAgeFilesLines
* Setting to disable DFU and FS access (#1891)Dāvis Mošenkovs2025-09-031-1/+1
| | | | | | | | | | | | | | * Expose SystemTask dependency controllers Expose NotificationManager and Settings for use by the feature in next commit. This is a memory efficient way for accessing SystemTask dependencies from controllers that have SystemTask injected as a dependency. Looks like each direct dependency injection uses 4 bytes RAM. As InfiniTime is close to running out of RAM (using 16 more bytes causes build to fail with "ld: region RAM overflowed with stack") it might be helpful to use this approach more. * Add setting to disable DFU and FS access
* Simple calculator (#1483)Max Friedrich2025-05-121-1/+1
| | | | | | Co-authored-by: minacode <minamoto9@web.de> Co-authored-by: Finlay Davidson <finlay.davidson@coderclass.nl> Co-authored-by: SuIông N. <Boteium@users.noreply.github.com> Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com>
* cmake: fix python path with use multi-version pythonxz-dev2024-11-171-0/+1
|
* weather: Add new app with forecastVictor Kareh2024-02-181-2/+2
|
* README: Make hex and UTF-8 code consistent for the chosen exampleTim Teichmann2024-02-151-1/+1
|
* Alarm: Replace clock icon with bellVictor Kareh2024-02-121-1/+1
|
* navigation: Missing character for fontkieranc2024-02-071-1/+1
|
* New dice-rolling app: InfiniDice! (#1326)Yusuf Ebrahim2024-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new App `Dice.h` to randomly roll the dice(s). The number of dice can range from 1-9 (default 1), and the sides can range from d2-d99 (default d2). To have a haptic feedback we make Dice vibrate on roll. Regarding the use of C++ `<random>` library: There are known problems with `rand()` and `srand()` (see https://en.cppreference.com/w/cpp/numeric/random/rand) and the `<random>` library is preferred for this reason. The function used from `<random>` also avoids a very rare bias that would occur using `rand()` and modulo, when `RAND_MAX` is not a multiple of `d` and the initially generated number falls in the last "short" segment. This commit also updates the seed to derive entropy (via `seed_seq`) from a mix of the system tick count and the x,y,z components of the PineTime motion controller -- taking inspiration from and with credit to @w4tsn (https://github.com/InfiniTimeOrg/InfiniTime/pull/1199) Thanks for suggestions: * in Dice, when rolling 1d2, also show "HEADS" or "TAILS" -- suggestion by @medeyko * ui adjustments and result realignment -- suggestion by @Boteium --------- Co-authored-by: NeroBurner <pyro4hell@gmail.com> Co-authored-by: Riku Isokoski <riksu9000@gmail.com> Co-authored-by: Paul Weiß <45500341+Poohl@users.noreply.github.com> Co-authored-by: FintasticMan <finlay.neon.kid@gmail.com>
* settings: Add settings item for weather formatFintasticMan2023-12-231-1/+1
|
* Simple Weather Service - code cleaning and improvementsJean-François Milants2023-12-231-1/+1
| | | | | | | Add missing icons (heavy clouds, thunderstorm, snow). Remove unneeded comparison operator (!=), improve conversion of Timestamp and MessageType, order includes. Fix typo in documentation. Remove not related change in StopWatch.
* Initial commitKieran Cawthray2023-11-111-1/+1
|
* navigation: Move font to external memory (#1838)JF2023-09-023-12/+15
| | | | | | | | | | The TTF font used by the navigation app is ~20KB and is stored in internal flash memory. To free this space, the TTF font is now converted in 2 "atlas pictures" (pictures that contain multiple concatenated images) stored in the external flash memory. The navigation app now accesses one of those 2 files and apply an offset to display the desired picture. The corresponding documentation has also been updated. Add comments about the layout of the pictures that contain the icon and about the indexing of those icons. In documentation (buildAndProgram.md), edit the section about the debug compilation mode. Remove the part about removing the Navigation app to free some memory (since it's not relevant anymore) and explain how to selectively build parts of the firmware in Debug mode.
* PineTimeStyle weather display (#1459)kieranc2023-06-042-2/+12
| | | | | Weather display for PineTimeStyle Documentation : https://wiki.pine64.org/wiki/PineTimeStyle and https://wiki.pine64.org/wiki/Infinitime-Weather
* fonts: Make patching silentFinlay Davidson2023-04-161-1/+1
| | | | The generate script should only output anything if there are errors.
* motion: Disable Motion appRiku Isokoski2023-02-251-1/+1
| | | | | This is a debugging app, not useful for most people. Also remove the app icon.
* Revert "prepare cmake unity build"Riku Isokoski2022-12-311-6/+0
| | | | This reverts commit 21f3bd708261ece47096961039e65d5b6f113c73.
* prepare cmake unity buildtnixeu2022-12-271-0/+6
| | | | Exclude files from unity build which currently cause compile erros because of redefinitions.
* Merge remote-tracking branch 'upstream/develop' into pts-optionsKieran Cawthray2022-09-052-18/+18
|\
| * Add sleep mode which disables notifications, touch- and motion wakeup (#1261)Riku Isokoski2022-08-211-1/+1
| |
| * Fix markdown format with autoformatter (#1284)Riku Isokoski2022-08-211-16/+16
| |
| * Improve checkbox visibility (#1266)Riku Isokoski2022-08-161-1/+1
| |
* | Initial mockupKieran Cawthray2022-08-051-1/+1
|/
* Replace icomoon system font with material design icons (#1228)Riku Isokoski2022-07-216-43692/+212
|
* Font generation: Fix patch binary pathChristoph Honal2022-06-251-1/+1
|
* Patch hole in the letter M in jetbrains_mono_bold_20 (#1175)Riku Isokoski2022-06-163-1/+11
|
* Remove duplicated value in fonts.json (#1179)Diego Miguel Lozano2022-06-111-1/+1
|
* Lighten the large font for a more balanced lookRiku Isokoski2022-06-062-1/+1
| | | | Add Jetbrains Mono Light font
* Add initial counter widgetRiku Isokoski2022-06-061-1/+1
|
* remove unused symbols, free a little bit of space (#1167)mabuch2022-06-051-1/+1
|
* Fix various typosluz paz2022-06-051-1/+1
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* fonts: gen.py: clearify missing exe messageReinhold Gschweicher2022-05-161-1/+1
|
* generalize lv-font creationReinhold Gschweicher2022-05-162-17/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://github.com/InfiniTimeOrg/InfiniTime/pull/1097 new font generation capabilites were added. Generalize the font creation to make it possible to reuse the `displayapp/fonts/CMakeLists.txt` file for `InfiniSim` and just add the new cmake file to the project and link against the new `infinitime_fonts` target. In the following a list of changes. Allow non-global installed `lv_font_conv` executable installed with ```sh npm install lv_font_conv@1.5.2 ``` In CMake we search for `lv_font_conv` executable. Add the found executable to the python script `generate.py`, to remove the need for `lv_font_conv` to be in the path. Search for `python3` executable, if CMake version 3.12 is available. Otherwise use `python` as hard coded executable. Instead of adding the generated fonts to `SOURCE_FILES` variable, create a static library `infinitime_fonts`. Link this library to the executables instead. Use `add_custom_target()` together with `add_custom_command()` to generate the font.c files once (like the original PR does).
* fontgen: update README.md to remove patch advanced optionsYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: changes to allow CMake to work from other projectYehoshua Pesach Wallach2022-05-101-4/+4
|
* fontgen: remove advanced (format string, process as list) from patchingYehoshua Pesach Wallach2022-05-102-13/+2
|
* fontgen: verify lv_font_conv at cmakeYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: remove double-asterisk in readmeYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: assume plain .patch for single string patchYehoshua Pesach Wallach2022-05-102-5/+12
|
* fotngen: check for lv_font_convYehoshua Pesach Wallach2022-05-101-0/+3
|
* fontgen: remove "feature" featureYehoshua Pesach Wallach2022-05-103-15/+1
|
* fontgen: remove "generating the fonts" sectionYehoshua Pesach Wallach2022-05-101-7/+0
|
* fontgen: move lv_font_conv docYehoshua Pesach Wallach2022-05-101-6/+1
|
* fontgen: generate font .c files in build dirYehoshua Pesach Wallach2022-05-102-4/+9
|
* fontgen: generate fonts at runtime with CMakeYehoshua Pesach Wallach2022-05-108-6890/+16
|
* fonts: update README.md to match new methodYehoshua Pesach Wallach2022-05-101-74/+20
|
* fontgen: simplfy json after removed external features keyYehoshua Pesach Wallach2022-05-102-93/+95
|
* fontgen: minor changesYehoshua Pesach Wallach2022-05-101-2/+2
|
* fontgen: remove .c from requested font if thereYehoshua Pesach Wallach2022-05-101-2/+5
|
* fontgen: simplify enabled fontsYehoshua Pesach Wallach2022-05-101-7/+6
|
* fontgen: use patch file for jetbrains 0 fixYehoshua Pesach Wallach2022-05-103-31/+7
|