2

I'm making changes to an existing project that uses fontello.

And I would like to add some icons to the project's font file.

What is the easiest way to to add those new icons? Can I create a 2nd font file in fontello and then somehow merge the two font files?

marco alves
  • 1,707
  • 2
  • 18
  • 28

3 Answers3

7

When you download a Fontello pack it includes a config.json file, which is a mapping of the characters included in your custom font. If you want to add more characters to your font, you should start by uploading this config file to fontello.com, change your selected characters and then download a new pack, making sure to replace all the fonts and css files (so that the new characters start working) and this config file (for next time you want to change the set of characters included).

Peter Herdenborg
  • 5,736
  • 1
  • 20
  • 21
1

You can merge fontello collections using a text editor by opening the config.json file of one collection and copying the glyphs to the config.json file of the other collection. After you do that, drag (upload) the new merged config.json file to fontello.com and you can then download your new merged collection.

To add new icons, simply drag (upload) the SVG images to fontello.com. In this case you may need fix the paths (fontello will only accept files with a single path) within your SVG files before uploading them. You can do this a free tool called Inkscape by following these steps:

  1. Open file
  2. Select all
  3. Object -> Ungroup
  4. Path -> Union
  5. Path -> Combine
  6. File -> Vacuum Defs
  7. Save as -> Plain SVG

If the SVG file has multiple paths that you cannot remove by combining paths, you can use Edit > XMP Editor to remove them. You should only have one path when you are done.

You can also check the svg file output in a text editor. If saved correctly, you should see a single element and an empty element.

Peter Drinnan
  • 4,344
  • 1
  • 36
  • 29
0

just drag and drop your svg font to fontello home page. your previous font will be displayed. you can add additional fonts to them and download new font files.

Ali
  • 6,808
  • 3
  • 37
  • 47