Skip to content

Conversation

JacksonLaw
Copy link

changed the file over -- It looks like all the fonts worked.
I used https://github.com/FontCustom/fontcustom to convert the svg files ( https://github.com/ionic-team/ionicons/tree/master/src/svg ) to a .tff file.

@arniu
Copy link
Owner

arniu commented Mar 5, 2020

Nick catch!

According to ionicons v5 changelog, many icons have changed their names. As a result, the generated file glyph/map.json should be updated too.

Can you give a try, with a script ?

@arniu
Copy link
Owner

arniu commented Mar 5, 2020

NPM has a svg2ttf.

@JacksonLaw
Copy link
Author

Okay I've modified your generate.js file and have subsequently pushed a new map.json file.
Left the modified file off of the commit as I'm unsure how you would usually run this.

@arniu arniu merged commit ee8ebfe into arniu:v5 Mar 5, 2020
@arniu
Copy link
Owner

arniu commented Mar 5, 2020

Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants