Skip to content

Commit

Permalink
speed up build process (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarzen committed Nov 28, 2023
1 parent 1be2cea commit adc388e
Show file tree
Hide file tree
Showing 9,642 changed files with 13 additions and 2 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 3 additions & 1 deletion fonts/README
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ How do I generate different sizes of fonts?
In ttf_to_adafruit_gfx.sh there is an array called SIZES which specifies what
size fonts should be generated.

How do I add a generate files for a new font?
How do I generate and add files for a new font?
Add the .ttf or .otf file to the ./ttf directory then run the script.
The script will generate a new subdirectory, ./fonts.
Manually move the newly generated font fonts folder to
platformio/lib/esp32-weather-epd-assets/fonts.

To run this script execute the following command:
bash ttf_to_adafruit_gfx.sh
Expand Down
4 changes: 3 additions & 1 deletion icons/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ HOW TO RUN SCRIPT TO GENERATE .h FILES FROM .svg FILES
svg_to_headers.sh, will convert the svg files in ./svg to the
specified size of .png which will then be converted to header files each
containing a bitmap, formatted into a c-style array for use by the AdafruitGFX
library. The output files will be in a new directory, ./icons.
library. The output files will be in a new directory, ./icons. To add the new
icons, you must manually move the newly generated icons folder to
platformio/lib/esp32-weather-epd-assets/icons.

Usage:
bash svg_to_headers.sh <size_of_output_image>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit adc388e

Please sign in to comment.