Closed lokywin closed 9 years ago
It look likes it can't write changes on the src file path. I suppose it is due to unix rights or maybe a bad path (don't know what sketch really do and if the given files path are real.
I think that it has nothing to do with gulp-iconfont since this is strongly tested but if you find a case you can reproduce, please, isolate it in a test near there and PR the project.
Anyway, you still can add the prefixes to files yourself by manually editing them.
@lokywin
I'm trying to solve this problem by assigning specific codepoints to each icon, but apparently this library doesn't do that. Have you had any success with this problem?
@jimmyandrade was there a specific reason you need to specify the unicode? I don't think it worked out for me. So I had to come up with a system in Sketch file so we don't rearrange the Sketch boards randomly. That was the only downsize of it. But everything else was ok. I didn't want to specifically manage the unicode for each icon anyway.
I don't have a better solution for you, as it has been awhile. But we also have moved on from icon font. We only use SVG icons.
@jimmyandrade was there a specific reason you need to specify the unicode?
Yes, two scenarios. When I'm migrating from another solution and I want to keep the former unicodes. And when I want to give support for specific ligatures or even emojis, like flags.
Hi @nfroidure would you or someone else please be able to give insights about what I need to achieve below: After adding, unicode for life-buoy icon is taken over by house icon. What I am hoping to do is that house will be assigned with
EA07
instead ofEA05
which is already being used.So I have been trying with
appendUnicode: true
option in the following gulp taskbut that gives me the following error:
startUnicode
option works as expected.I am using node v0.12.7, here is my package.json
Please let me know if you need more info, or whether this is the right place at all. Thank you very much for your help.