Skip to main content

adding-new-fontawesome-fonts

In case some Font Awesome failed to load from view page, they can be added via following steps

  1. Please download and install Font Awesome Subsetter from https://fontawesome.com/download. UPDATE: this app was sunsetted and not available on official site anymore. Please download from https://app.slack.com/client/T06L46R5X/canvases img.png

  2. Find the required font img_1.png from required category img_3.png

    If font is not found, it means that it was renamed when switching from v4 to v5 (or from v5 to v6). In this case we need to find the correct name from https://fontawesome.com/v5/docs/web/setup/upgrade-from-v4 or https://fontawesome.com/docs/web/setup/upgrade/whats-changed.

  3. Save the generated .zip archives to any directoryimg_2.png, e.g. ~/Documents

  4. Unzip all .zip archives

    cd ~/Documents

    find . -name "*.zip" -exec unar -d -o ./fonts {} \;

  5. Run following script which will transform unarchived files to correct format. Which should produce directory structure similar to this img_4.png.

  6. Copy generated directories to powr/app/javascript/packs/esbuild/fontawesome/styles of https://github.com/powrful/powr repository