8 Commits

Author SHA1 Message Date
Marco van Dijk
bf0352a600 Added optimalisation to resize down to fit whitespace better
Also increased default font size, since we resize down if needed
A lower default font size will speed up the program
fixes #8
2021-07-09 16:20:11 +02:00
Marco van Dijk
051ee1dee2 Moved rule that a line of text is chord data if it contains a digit from top to bottom. First check if there are any text characters which cannot ever be in chord data 2021-07-09 14:26:52 +02:00
Marco van Dijk
5325906c22 Added a right-margin propert
Overflow-X check function now takes left and right margin into account
2021-07-09 14:26:51 +02:00
Marco van Dijk
0767b7c2eb Added a simple arranger, which arranges the sections on pages
Output2Img now simply writes all of the sections on a page below each other
2021-07-09 14:26:50 +02:00
Marco van Dijk
db9633a855 Added simple prerender functions to estimate seciton dimensions
Added width-overflow check. Program will downsize the fontSize down untill all lines are readable
Moved config options into the song object
Fixes #3
2021-07-09 14:26:49 +02:00
Marco van Dijk
e6a0e920af fixes #7
add config file, created if it does not exist
2021-07-08 00:46:54 +02:00
Marco van Dijk
5be0f83c0d fixes #9
Add comments to start of files and functions
2021-07-07 23:01:52 +02:00
Marco van Dijk
2e29859e1c Initial Commit of prototype 2021-07-07 18:38:45 +02:00