Closed manu-st closed 4 years ago
Look at the code and the documentation from Microsoft about IDWriteFontFace1, it said it requires the Platform Update For Windows 7 (https://msdn.microsoft.com/en-us/library/windows/desktop/hh780409(v=vs.85).aspx) which I found at: https://www.microsoft.com/en-us/download/details.aspx?id=36805.
After installing it the crash was gone.
Could the code be modified to not crash?
I've created a pull request that should address this. It should then work on Windows 7 prior to the platform update but the "monospace" flag will always be set to false.
Hi,
I have a crash when using font-manager with electron 1.7.9 on Windows 7 with SP1. What I can tell is that it crashes with this callstack:
When it fails the font being processed is the following: 0x00000000`05982040 "C:\WINDOWS\FONTS\ARIAL.TTF"
and the line of the crash seems around these:
Any idea why and how I could work around this issue?
Thanks, Manu