-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Colors are not being generated when using bitmap fonts #35939
Comments
Did you try using your font in older versions? Is it working there? |
Yes, I've tried the latest stable version. Same problem: I've also used several image files. For example the one included in the new Overmap Mod by @Larwck to rule out a issue with the files. |
What about more distant versions - e.g 0.C stable or 0.B stable? |
I'm having a hard time finding a version of 0.C stable or 0.B stable that works on my Mac. I tried to compile it myself but I'm getting a bunch of errors. |
Because I couldn't compile the older versions of the game myself I found and downloaded this one: Still the same bug: |
That is good. It is not some recent regression then. |
This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there: https://discourse.cataclysmdda.org/t/trouble-with-graphical-overmap/22435/7 |
Describe the bug
When using bitmaps in place of font files colors are only being partly generated (background colors appear to be working) - everything else is in black and white.
This seems to happen on Mac and Android. (According to discord - see links down below)
Steps To Reproduce
Placing .bmp or .png file into the data/font folder and entering the corresponding file name into font.json. Open the game.
Expected behavior
Fonts are being generated from bitmaps with the full range of colors.
Screenshots
Ingame:
![Screenshot_JoeFreeman](https://user-images.githubusercontent.com/58636697/70378783-c7cf7380-1924-11ea-8762-20d308787188.jpg)
Color menu:
![Screenshot_colors_Joe](https://user-images.githubusercontent.com/58636697/70378797-e9c8f600-1924-11ea-881d-118d3c6f4b16.jpg)
Versions and configuration
Additional context
The issue has been reported by several people on discord, twice on Mac OS and once on Android.
1.: https://discordapp.com/channels/598523535169945603/598529538015887372/650983242392010753
2.:https://discordapp.com/channels/598523535169945603/642349261320880128/652738883863183362
3.: https://discourse.cataclysmdda.org/t/color-generation-of-image-fonts/22165
I've included my debug.log:
debug.log
The text was updated successfully, but these errors were encountered: