Commit Graph

  • 2571dcec5b Set a minimum font size to PPI/6 to make sure text stays readable master Marco van Dijk 2022-01-15 02:40:38 +01:00
  • 4ab8f6c836 Replaced prints with logging module Marco van Dijk 2021-07-27 16:19:08 +02:00
  • 30109a0a7f Option to prefer even amount of pages Tweaked whitespace allowed to prefer 4 pages big over 2 pages with very small text Marco van Dijk 2021-07-27 15:34:55 +02:00
  • 568054b986 Variable margins based on page number Marco van Dijk 2021-07-27 14:48:57 +02:00
  • 9992b7ac36 Added max pages Marco van Dijk 2021-07-27 14:18:30 +02:00
  • f26e80b245 Added minimum page config entry Fixed expected height calculation to either take the whitespace in the input file or a set margin in between sections Changed default settings slightly Marco van Dijk 2021-07-23 23:09:05 +02:00
  • 0dcfcbb128
    Update README.md 0.1 Marco van Dijk 2021-07-15 12:09:10 +02:00
  • 0b6b25f3ad
    Update README.md Marco van Dijk 2021-07-15 11:43:23 +02:00
  • ff1f14bef2 maxdepth changed Marco van Dijk 2021-07-10 00:05:50 +02:00
  • 72b8a1ab3d Fix trailing whiteline added after metadata Marco van Dijk 2021-07-10 00:01:14 +02:00
  • a69606ee4c do not add extra whitespace if we already keep the whitespace from the input. This way, we can generate .txt files which should be identical to the input Marco van Dijk 2021-07-09 23:58:01 +02:00
  • f7ec726eae fix typo Marco van Dijk 2021-07-09 23:46:59 +02:00
  • 50e1fe05c0 Added abilit to write header file containing info on what lines contain what kind of data in .txt and .rawtxt output Marco van Dijk 2021-07-09 23:43:39 +02:00
  • 15400a037f Added config option for stripping or keeping whitelines Marco van Dijk 2021-07-09 23:06:39 +02:00
  • fac1aea382 Merge branch 'master' of https://github.com/koiosdev/chordTabsToPrintables Theocat321 2021-07-09 21:34:07 +01:00
  • a1f7c1f86d Re enabled all the prints, didnt do the log levels Theocat321 2021-07-09 21:33:59 +01:00
  • b87b6cc9c6 added variables for resize behaviour Marco van Dijk 2021-07-09 22:22:20 +02:00
  • 5c82258228 Added variable for aggressiveness when resizing down, since we also consider whitespace atm we can do this more aggressively at the cost of speed Marco van Dijk 2021-07-09 22:01:54 +02:00
  • 72c4daa126 Fix selection of output types Marco van Dijk 2021-07-09 21:53:12 +02:00
  • e32d66c10b Extra check for supported inputs Added input for rawtxt (speedy input, but with assumptions, so it has to be generated by this program Fix check for selected input extensions Marco van Dijk 2021-07-09 21:46:29 +02:00
  • 6187d6e123 Resizes metadata down if it overflows fixes #10 Marco van Dijk 2021-07-09 21:05:31 +02:00
  • ca12e20a7a Fix topmargin, increased default margins Marco van Dijk 2021-07-09 20:45:38 +02:00
  • 8d03f6d665 Added support for writing to txt and rawtxt (which is quick to parse as input) Added config options for choosing which extensions to read and which to write to Marco van Dijk 2021-07-09 20:31:18 +02:00
  • 4eef1ff044 Improved tab/lyric line detection. This really needs more work Marco van Dijk 2021-07-09 17:51:12 +02:00
  • 7f671723f1 Fix config to go with dynamic font Marco van Dijk 2021-07-09 17:43:57 +02:00
  • 3305efd7d0 Set font size based on PPI In combination with the dynamic up/down sizing to fit whitespace, we get pretty good output images Also removed the check that we do not resize the font size that much fixes #13 Marco van Dijk 2021-07-09 17:40:28 +02:00
  • 3487dc14f2 Added final optimalisation to increase the font size as long as we do not require a new page by doing so Marco van Dijk 2021-07-09 17:29:41 +02:00
  • 88ef505d50 Added checks to stop resizing down if we are creating too much widespace or if the font has decreased too much Marco van Dijk 2021-07-09 17:04:17 +02:00
  • 682278fcd5 Added support for DPI instead of fixed image dimensions fixes #11 Marco van Dijk 2021-07-09 16:35:17 +02:00
  • 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 Marco van Dijk 2021-07-09 16:20:11 +02:00
  • 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 Marco van Dijk 2021-07-09 02:03:48 +02:00
  • 5325906c22 Added a right-margin propert Overflow-X check function now takes left and right margin into account Marco van Dijk 2021-07-09 01:58:33 +02:00
  • 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 Marco van Dijk 2021-07-09 01:40:07 +02:00
  • 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 Marco van Dijk 2021-07-09 00:55:45 +02:00
  • 55daf981cc Updated gitignore to include test directory and config file Removed config from staged files Marco van Dijk 2021-07-09 00:03:18 +02:00
  • 9564f214b5 fixes #4 Input files now get listed based on a list of input paths (to either folders or files) Also check subdirectories up to a set max recursion Marco van Dijk 2021-07-08 01:03:53 +02:00
  • e6a0e920af fixes #7 add config file, created if it does not exist Marco van Dijk 2021-07-08 00:46:54 +02:00
  • 5be0f83c0d fixes #9 Add comments to start of files and functions Marco van Dijk 2021-07-07 23:01:52 +02:00
  • aea24b5eb9 Merge branch 'master' Marco van Dijk 2021-07-07 18:51:15 +02:00
  • 2e29859e1c Initial Commit of prototype Marco van Dijk 2021-07-07 18:38:45 +02:00
  • a039d55739
    Initial commit koiosdev 2021-07-07 18:24:33 +02:00