Code Monkey home page Code Monkey logo

Comments (17)

cognitom avatar cognitom commented on August 29, 2024

@TimNuman Oh... thank you for letting me know.
I've just added a demo HTML generator and checked it.
http://www.browserstack.com/screenshots/fd841d05c8fd3fe88db29d848cb2a3cafd2d77dc

Umm. according to browserstack, something wrong. I'll check deeper on Windows VM.
And if you send me your .sketch file, it'll be help to solve the problem ;)

from symbols-for-sketch.

TimNuman avatar TimNuman commented on August 29, 2024

I've sent you an email with the sketch file!

from symbols-for-sketch.

cognitom avatar cognitom commented on August 29, 2024

Thanks! I'll check it soon.

from symbols-for-sketch.

cognitom avatar cognitom commented on August 29, 2024

Sorry to be late. My Windows environment has gone... I should repair it before checking. I hope I would have some extra time on weekend. c u...

from symbols-for-sketch.

TimNuman avatar TimNuman commented on August 29, 2024

That's ok. Let me know if I can help!

from symbols-for-sketch.

TimNuman avatar TimNuman commented on August 29, 2024

Hi, any luck with this? Thanks.

from symbols-for-sketch.

TimNuman avatar TimNuman commented on August 29, 2024

Ok I found out what the problem was and also found a workaround.

If you create a circle and put a slightly smaller circle in it on difference mode to create a circle outline, this works fine on the mac but not on windows/linux.

Workaround:
Create a circle from scratch using the vector tool instead of using the circle tool.
I created a circle, went into edit mode and placed guidelines on the points.

from symbols-for-sketch.

activestylus avatar activestylus commented on August 29, 2024

This is indeed an awesome little project - could not believe how fast it churns out these files!
Unfortunately Windows compatibility continues to be an issue. I suspect that a large part of the problem is that your script is generating blank SVG files, which is the fallback format for certain versions of IE.

from symbols-for-sketch.

aofstad avatar aofstad commented on August 29, 2024

@TimNuman Thanks for the tip! I tried your method but couldn't seem to get it to work. Did you generate the shapes with the path tool instead of shape and then still use the difference? Or did you just put a border on the path? Neither method seemed to work for me...

from symbols-for-sketch.

TimNuman avatar TimNuman commented on August 29, 2024

Hi @aofstad, I uploaded a sample file to dropbox!
https://dl.dropboxusercontent.com/u/4229956/symbol-font.sketch
This one works for me

from symbols-for-sketch.

aofstad avatar aofstad commented on August 29, 2024

@TimNuman Thanks a lot! This worked for simple paths but still doesn't seem to work for some of my more complex paths.

from symbols-for-sketch.

TimNuman avatar TimNuman commented on August 29, 2024

I also noticed rotating shapes causes some strange behavior so basically only using the vector tool is the safest if you encounter errors :)

from symbols-for-sketch.

cognitom avatar cognitom commented on August 29, 2024

@aofstad @TimNuman @activestylus I've got the solution at last!
In my case, such icons which has a box or a circle outside have issues on iOS, Android and Windows. But sometimes, even if really complicated icon, it's OK. So I was wondering the reason. It seems not a matter of complexity.

The answer was the "direction of path". If you got issue, "Reverse Order" of the path of the box (or circle). Try it. I hope that it would help you, guys.

sketch

from symbols-for-sketch.

TimNuman avatar TimNuman commented on August 29, 2024

Awesome! Thanks

from symbols-for-sketch.

aofstad avatar aofstad commented on August 29, 2024

Great, thanks! I'll give that a shot.

from symbols-for-sketch.

cognitom avatar cognitom commented on August 29, 2024

I've added a "Trouble Shooting" section to README.

from symbols-for-sketch.

mr-pinzhang avatar mr-pinzhang commented on August 29, 2024

OMG!

from symbols-for-sketch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.