Open mfreeman-xtivia opened 5 years ago
We still haven't figured out a way to replace DirectWrite with FreeType. So, no, there is no known way to "support" electron apps so far.
DirectWrite is more advanced than GDI in many areas including performance, versatility and even concept. Even the ClearType in DirectWrite is slightly better than GDI.
The problem is that, first, it's really hard to replace something advanced with another thing that's inferior. Second, as Microsoft does all the time, they didn't provide enough information and APIs to do it. Plus, the internal of DirectWrite is also absurd and hard to fully simulate. There are a ton of ways to create different kinds of DirectWrite objects and it keeps growing as Windows 10 update rolls.
Ultimately, implementing full Freetype support for DirectWrite will be similar in difficulty to wrappers like DXGL/dgVoodo2/DXVK. That is, it can be done, but it needs one or more hardcore developers that really know the relevant graphics APIs inside out and can reverse engineer undocumented code.
I don't think the project has access to such developers right now, but hopefully someone passionate and knowledgeable will appear soon.
That's probably a bit out of the scope of the project, as it's more or less the opposite of what MacType does.
So is still true that there is no way to get MacType to work with Electron apps on Windows 10?
I am using one of the selections that has DirectWrite support turned on (Clean Sharp) but my Electron-based apps still look terrible on Windows 10