Skip to content
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

Auto font ratio #45

Merged
merged 11 commits into from May 26, 2022
Merged

Auto font ratio #45

merged 11 commits into from May 26, 2022

Conversation

AnonymouX47
Copy link
Owner

@AnonymouX47 AnonymouX47 commented May 26, 2022

  • Implements automatic font ratio computation.
  • Adds term_image.FontRatio enumeration class.
  • Improves proportioning of text-based images in the CLI and TUI.
  • Changes default value of font ratio config option to null.
  • Adds --auto-font-ratio CL option.
  • Updates library and viewer docs.

- Add: Added `term_image.FontRatio` enumeration class.
- Change: Modified `.set_font_ratio()` and `.get_font_ratio()`.
- Change: Updated docstrings.
@AnonymouX47 AnonymouX47 added documentation Improvements or additions to documentation enhancement New feature / Improvement suggestion or request lib Related to the library (Not to be used anymore) cli Related to the image viewer's CLI (Not to be used anymore) tui Related to the image viewer's TUI (Not to be used anymore) test Related to the test suite labels May 26, 2022
@AnonymouX47 AnonymouX47 added this to the 0.4.0 milestone May 26, 2022
- Change: Included `null` as a valid value.
- Change: Changed default value to `null`.
- Change: Incremented config version to 0.3.
- Add: A warning notification is given if not supported.
AnonymouX47 added a commit that referenced this pull request May 26, 2022
AnonymouX47 added a commit that referenced this pull request May 26, 2022
@AnonymouX47 AnonymouX47 force-pushed the auto-font-ratio branch 2 times, most recently from 3254bca to 1f607c9 Compare May 26, 2022 21:00
Conflicts:
	CHANGELOG.md
	term_image/cli.py
	term_image/logging_multi.py
@AnonymouX47 AnonymouX47 merged commit a5d167f into main May 26, 2022
@AnonymouX47 AnonymouX47 deleted the auto-font-ratio branch May 27, 2022 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the image viewer's CLI (Not to be used anymore) documentation Improvements or additions to documentation enhancement New feature / Improvement suggestion or request lib Related to the library (Not to be used anymore) test Related to the test suite tui Related to the image viewer's TUI (Not to be used anymore)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant