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
Internal font loading fails on Windows #20
Comments
The problem here is the code inside
In linux that yields "fonts/standard.flf", while in windows this will be "fonts\standard.flf", but we're not dealing with files here. This is resource addressing and it always uses the forward slash (/) as a separator (see https://docs.oracle.com/javase/8/docs/technotes/guides/lang/resources.html) |
Thanks, let me have a look. I'll also try to add github actions to test on Windows |
I should have fixed all the issues on Windows that make all tests pass. There was also an issue with the line termination. If you can and have time, would you be able to test this branch https://github.com/ColOfAbRiX/figlet4s/tree/issue-20_fix_windows |
Fixed on v0.3.1 |
Configuration
OS type and version: Windows 10 21H1
JVM type and version: 11.0.13
Scala version: 2.12.13
Figlet4s version: 0.3.0
Steps
Consider the following simple test app:
with a simple
build.sbt
:Problem
The project builds and runs fine in Linux, but crashes in Windows:
The text was updated successfully, but these errors were encountered: