Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows executable fails to start #7

Open
rawhat opened this issue Aug 3, 2020 · 2 comments
Open

Windows executable fails to start #7

rawhat opened this issue Aug 3, 2020 · 2 comments

Comments

@rawhat
Copy link

rawhat commented Aug 3, 2020

Hi! First of all, huge thanks for doing this, this is fantastic!

I pulled down your ligatures branch and was able to build it on Windows, but it crashes on start-up. I see that you made some changes on your fork of the crossfont repo, which did touch some DirectWrite stuff. But not really sure if it's unsupported or an unexpected failure. The error I get is:

PS C:\Users\Alex\alacritty-fork> .\target\release\alacritty.exe
PS C:\Users\Alex\alacritty-fork> Created log file at "C:\Users\Alex\AppData\Local\Temp\Alacritty-15304.log"
[2020-08-03 16:57:57.489506100] [ERROR] Alacritty encountered an unrecoverable error:

        A DirectWrite rendering error occurred: 0x80070057

It's building and running successfully on my WSL2 + VcXsrv setup, which is awesome. But I'd prefer to run it natively in Windows if possible.

Happy to provide any additional information if I can help!

@zenixls2
Copy link
Owner

zenixls2 commented Aug 3, 2020

This branch currently only tested on Linux, and ligature may/may not work for MacOS(implemented but not tested yet). DirectWrite there is almost left untouched. If you are willing to contribute, feel free to send a pr to my crossfont fork.

Leave the issue open until windows gets supported

@zenixls2
Copy link
Owner

zenixls2 commented Sep 3, 2020

In my fork of crossfont project, there's a windows branch. Would you mind to run cargo test -- --nocapture on it to see if it works?
Also, maybe you could try to modify the test cases in src/directwrite/mod.rs to test about the strings and fonts you want. Since I don't have a windows machine, I need your help to accomplish the goal of supporting ligature in DirectWrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants