Skip to content

The icon manager is used to build and manage SVG icons as well as a custom font using the fontforge python module.

License

Notifications You must be signed in to change notification settings

0smr/icon-manager

Repository files navigation

Icon Manager

The icon manager is used to build and manage SVG icons as well as a custom font using the fontforge python module.

Preview


Icon manager view

Requirements

  • Python <= 3.0
  • PHP <= 7.4
  • FontForge module (python3) sudo apt-get install fontforge

How to use it?

  1. Submodule
    First, add the repository as a submodule to your projects.
    mkdir icons && cd icons
    git submodule add https://github.com/smr76/icon-manager
  2. Config (optional)
    Set a custom configuration in manager's parent directory and name it manager.conf (if it does not exist, it will be created on launch based on sample.conf).
  3. Launch
    Finally, execute launch.sh to launch the manager.
  4. Add
    Choose a SVG file and give it a suitable name.
  5. Generate
    Generate font by clicking Generate.

Tip

To optimize .svg files, use svgo.
The code below will optimize all .svg files in the ../svg directory, with the option -p indicating 2 decimal precision.

svgo -p 2 -f ../svg

Dependencies

About

The icon manager is used to build and manage SVG icons as well as a custom font using the fontforge python module.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published