Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr authored Mar 10, 2024
1 parent c9c6b15 commit b7d123a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/code-howtos/custom-svg-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ Good icon design requires years of experience and cannot be covered here. Adapti
## Step 2. Packing the icons into a font

Use the [IcoMoon](https://icomoon.io) tool for packing the icons.

1. Create a new set by importing the json file
2. Next to the icons, click on the hamburger menu, chose "Import to Set" to add a new icon (it will be added to the front)
Rearrange them so that they have the same order as in `org.jabref.gui.JabRefMaterialDesignIcon`. This will avoid that you have to change the code points for the existing glyphs. In the settings for your icon set, set the _Grid_ to 24. This is important to get the correct spacing. The name of the font is `JabRefMaterialDesign`.
3. Next to the icons, click on the hamburger menu and click "Select all".
4. Proceed with the font creating, set the font property name to `JabRefMaterialDesign`
3. Next to the icons, click on the hamburger menu and click "Select all".
4. Proceed with the font creating, set the font property name to `JabRefMaterialDesign`
When your icon-set is ready, select all of them and download the font-package.

## Step 3. Replace the existing `JabRefMaterialDesign.ttf`
Expand Down

0 comments on commit b7d123a

Please sign in to comment.