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

Not all package names show up #2

Closed
jNullj opened this issue Aug 13, 2022 · 0 comments
Closed

Not all package names show up #2

jNullj opened this issue Aug 13, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jNullj
Copy link
Owner

jNullj commented Aug 13, 2022

Depending on the number of packages installed and screen resolution the end of the list might get cut-off. noticed it first on low-res monitor.

imagemagick does not scale text to best-fit when using pango, using pango is required for coloring outdated packages.
To solve this I re-write this part using a web-based solution using chromium screenshot option.
I would have preferred using Firefox but it does not allow for it while having another open session which is a limitation which does not fit this tool as it will mostly run in the background while the user might have a running Firefox session.

@jNullj jNullj added the bug Something isn't working label Aug 13, 2022
@jNullj jNullj self-assigned this Aug 13, 2022
jNullj added a commit that referenced this issue Aug 18, 2022
This commit solves issue #2
Text would not resize currectly and if a large number of packages is present not all pacakges will fit in the image.

This is solved by rendering text using a web-browser capture insted of imagemagick.
This enables more flexability with the usage of javascript.
Imagmagic does not allow using both bestfit text size and coloring text at specific areas using pango.
@jNullj jNullj closed this as completed Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant