-
Notifications
You must be signed in to change notification settings - Fork 38
Empty rendering output under windows #30
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
Comments
Thank you, I'll investigate this once I find some time.
That does sound very odd. The image struct is supposed to be populated by the caller with the width, height, and some memory to store the pixel values to. The exact contents of the pixel memory shouldn't matter, they will be overwritten by
How did you test with the X11-specific demo program on windows? Did you use a X11-server like Xming or VcXsrv? |
Ah sorry, that was the wrong link. I took the demo from https://github.com/lhf/libschrift-show |
So far I'm not able to reproduce your issue. What kind of system are you on? Is it x86-64 or ARM? What Windows version? What do you mean by 'populating the image struct with anything other than 0 results in an error'? |
Alright, so far I found the cause of the skewing bug that happens with libschrift-show on Windows (lhf/libschrift-show#1). |
Uh oh!
There was an error while loading. Please reload this page.
Hi tomolt,
Thanks for this library. I'm trying to use it under windows, but I always get an unmodified bitmap, regardless what I do. I used the latest tag 10.2 as well as the current main.
I compiled it with gcc (mingw64) and tested it with the demo from https://github.com/lhf/libschrift-show :
The program then runs fine, I tried it with different fonts like arial etc, but the resulting image is always plain white. The same happens when I use the library from my own program.
One thing I noticed is that populating the image struct with anything other than 0 results in an error. Is this intended?
The text was updated successfully, but these errors were encountered: