GithubHelp home page GithubHelp logo

Comments (11)

loilo avatar loilo commented on June 25, 2024

+1 - same font file (xfiles.ttf), same problem.

from font-manager.

rBurgett avatar rBurgett commented on June 25, 2024

@devongovett: A client has found two more fonts which cause font-manager to crash in Windows. And by crash I mean that it completely crashes Node. As result, I am disabling use of it in our application for the time being. Do you have any idea why font-manager crashes Node when it encounters certain fonts? Sorry, I can't get you copies of the two other fonts at the moment. But the xfiles font I shared above is still a working example... crashes it every time. Thanks for your time!

from font-manager.

devongovett avatar devongovett commented on June 25, 2024

@rBurgett this is all on Windows for you as well?

from font-manager.

rBurgett avatar rBurgett commented on June 25, 2024

It crashes in Windows for me as well if I have that xfiles font installed. I don't have the two other fonts which I was told about yesterday. But just this morning as I was testing things, I installed that font and the tests crashed.

from font-manager.

rBurgett avatar rBurgett commented on June 25, 2024

@devongovett I got my hands on another one of the trouble fonts. I tried to load it into OSX (in order to see if it crashes font-manager in OSX), but OSX won't let me. Apparently it is a bad font. You can see the message I got below:
screen shot 2016-01-28 at 11 25 27 am
So, apparently Windows allows folks to install bad fonts which OSX does not allow. But, unfortunately, I can't control whether or not my clients on Windows have any bad fonts installed.

from font-manager.

rBurgett avatar rBurgett commented on June 25, 2024

Here is the font. OSX won't let me install it, but Windows installs it no problem.
chimbari.ttf.zip

from font-manager.

devongovett avatar devongovett commented on June 25, 2024

Thanks. I'll look into this to see if we can't just ignore the bad fonts.

from font-manager.

rBurgett avatar rBurgett commented on June 25, 2024

@devongovett That would be great! Thanks a lot.

from font-manager.

devongovett avatar devongovett commented on June 25, 2024

Should be fixed by ba3289d. Published to npm in v0.2.1.

Both of the fonts mentioned here have bad name tables. The crash resulted from some strings not existing in the font, but the node module attempting to read them anyway. Please let me know if you find more issues. Thanks!

from font-manager.

rBurgett avatar rBurgett commented on June 25, 2024

@devongovett As far as I can tell, it works perfectly now... Thanks a lot! I can't tell you how much I appreciate it.

from font-manager.

loilo avatar loilo commented on June 25, 2024

Love to hear that. Thank you!

from font-manager.

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.