-
Notifications
You must be signed in to change notification settings - Fork 5
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
Possible to get this formatting? #6
Comments
Hello, I've managed to get something close to your model which I believe with your design (fonts, colors etc.) will look much better. I have disabled the boxes around month & day names, it suffices to pass argument |
Thank you so much, works perfectly. A small change that I think is a fix. In classic.py, I changed this line: To: Otherwise the centering wasn't working for me. This gets more apparent if you change the amount of inner padding to some number other than 2 as in your patch. And if anyone wants to add an "--inner_padding" CLI option, here's my changes. I'm glad to post as a diff file, but my files are already heavily modified so just posting notes for now: In classic.py, change:
To:
And in /layouts/_base.py add this line below the line with "--padding":
To produce my calendar I'm then running: callirhoe.py --cols=3 --padding=0 --inner_padding=8 --no-shadow --dpi=120 --paper=700:800 2019.pdf Here's my old calendar without this patch: http://gizmoware.net/tides/clamming/2019-old.pdf And here's with the patch: |
I'm using this calendar as a model:
http://gizmoware.net/tides/clamming/model.pdf
This is my current progress:
http://gizmoware.net/tides/clamming/2019.pdf
The main thing I can't figure out is how to add "inner padding" between the calendars. What I mean by that is separating the calendars with some space, but with only a single line between the calendars (as in model.pdf) as opposed to each calendar drawing a border. I think that looks a lot cleaner design wise.
I also can't figure out how to add a little padding above and below the month name.
I'm fine with modifying the code to achieve this. Currently I'm editing layouts/classic.py to remove the boxes around the day names, and layouts/_base.py to get the different colors for different holiday types (in my case that's different levels of low tide to indicate how good the clamming will be on that day).
The text was updated successfully, but these errors were encountered: