I've recently updated to your last version, but now white backgrounds are rendered black... I see you made some changes in this area of the code, but looking at the change I cannot explain why what used to work, now doesn't work anymore.
I've fixed it for myself by defaulting background color to Color.WHITE before attempting to fetch it from the template name (which apparently fails). I'm not familiar enough with Java to really debug it, getting the project to build was already challenging ;-)
Thanks for this nice piece of software!
Color backgroundColor = Color.WHITE;
if (TEMPLATE_COLORS.containsKey(templateName)) {
backgroundColor = TEMPLATE_COLORS.get(templateName);
}
g.setColor(backgroundColor);
g.fillRect(0, 0, bookwidth, bookheight);
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've fixed it for myself by defaulting background color to Color.WHITE before attempting to fetch it from the template name (which apparently fails). I'm not familiar enough with Java to really debug it, getting the project to build was already challenging ;-)
Thanks for this nice piece of software!
Hi, I'm having the same black background problem. Seeing that there are no new builts could you please point me in what file did you modify ?
Thanks.