Comments (11)
+1 - same font file (xfiles.ttf), same problem.
from font-manager.
@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.
@rBurgett this is all on Windows for you as well?
from font-manager.
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.
@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:
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.
Here is the font. OSX won't let me install it, but Windows installs it no problem.
chimbari.ttf.zip
from font-manager.
Thanks. I'll look into this to see if we can't just ignore the bad fonts.
from font-manager.
@devongovett That would be great! Thanks a lot.
from font-manager.
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.
@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.
Love to hear that. Thank you!
from font-manager.
Related Issues (20)
- Crash on Windows 7 SP1 HOT 2
- Possible Incompatibility with eslint HOT 1
- undefined symbol HOT 1
- getAvailableFontsSync does not include manually installed font on Windows 10 HOT 1
- Not compatible with Node.JS v11.0.0 HOT 1
- Compatibility with NODE_MODULE_VERSION 64 HOT 1
- Is not a valid win32 application
- License HOT 1
- Not compatible with Node.JS v12.13.0 HOT 1
- can't compile with electron HOT 1
- findFontsSync not returning all fonts in family
- Compile error on MacOS X (node 13.7.0): no viable conversion from 'v8::Local<v8::Context>' to 'v8::Isolate *' HOT 3
- Fails to build on Travis Ubuntu 16.04
- Verification error on macOS Catalina HOT 4
- Any interest in moving to N-API?
- Not compatible with gyp HOT 1
- UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 2557: illegal multibyte sequence
- node 12.18.3 error HOT 3
- getAvailableFontsSync() don't return the latest font info when called multiple times. HOT 2
- Installation of fonts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from font-manager.