react-native-ionicons icon indicating copy to clipboard operation
react-native-ionicons copied to clipboard

Ionicons v5

Open arniu opened this issue 4 years ago • 9 comments

Generated ttf file

https://github.com/ecdo/ionicons

Create SVG files to ttf font

  • https://github.com/jaywcjlove/svgtofont
  • https://github.com/jeerbl/webfonts-loader
  • https://github.com/vusion/webfonts-generator
  • https://github.com/nfroidure/svgicons2svgfont
  • https://github.com/svg/svgo

目前遇到的问题

使用 svgicons2svgfont 转换,结果 add 等无法显示

arniu avatar Mar 04 '20 04:03 arniu

@JacksonLaw Would you mind reviewing the code? Thanks very much.

arniu avatar Mar 08 '20 09:03 arniu

Yes, they're all generated by the script. So, there is no need to track it.

I see, sorry my knowledge is limited. I can not see any other issues.

JacksonLaw avatar Mar 10 '20 02:03 JacksonLaw

Are you sure this is working correctly? I installed the package here and I can get icons to render using the <Icon> tag, but there is something bizarre going on. For example, when I do <Icon name="star-half-outline" size={40} color="#000000" /> I get an rendering like this: Screenshot_20200405-114853_2 This is not correct (see the star-half-outline at ionicons.com). There is some sort of inversion going on.

humatic avatar Apr 05 '20 15:04 humatic

Separate issue. I had to manually load the Ionicons.ttf file using Font.loadAsync(...) (using Expo).

humatic avatar Apr 05 '20 15:04 humatic

Are you sure this is working correctly? I installed the package here and I can get icons to render using the <Icon> tag, but there is something bizarre going on. For example, when I do <Icon name="star-half-outline" size={40} color="#000000" /> I get an rendering like this: Screenshot_20200405-114853_2 This is not correct (see the star-half-outline at ionicons.com). There is some sort of inversion going on.

Thanks very much.

arniu avatar Apr 06 '20 00:04 arniu

@arniu is there any updates on this PR?

I installed this package on a project and theres a few issues. I really want to be able to use this icon set but I cant if the outline icons arent working and some icons arent even visible.

And before you suggest using version 4, I specifically need icons that were added in version 5.

blazebarsamian avatar May 06 '20 18:05 blazebarsamian

@arniu will this PR be accepted?

a-mazalov avatar Jul 02 '20 11:07 a-mazalov

I'm stuck on generating ttf font...

arniu avatar Jul 02 '20 13:07 arniu

Here we have the TTF font https://github.com/oblador/react-native-vector-icons/blob/master/Fonts/Ionicons.ttf

seyedasfar avatar May 20 '21 08:05 seyedasfar