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

Text handling is a little wonky, making certain descriptions unreadable. #2

Open
ValShaped opened this issue Jun 5, 2017 · 3 comments

Comments

@ValShaped
Copy link

Specifically, when there's a lot of text in the description of a homebrew, the characters get compressed into three-pixel-wide barely readable blobs.

Screenshot:

bot_0000

@ValShaped ValShaped changed the title Text handling is a little wonky. Text handling is a little wonky, making certain descriptions unreadable. Jun 5, 2017
@GabrielRRussell
Copy link

I also believe that we should be able to change some settings such as font size. I'm using a custom font (Apple Kid), and the text is ridiculously small.

@fincs
Copy link
Member

fincs commented Jun 8, 2017

Currently new-hbmenu treats multiple consecutive spaces as a synonym for newline. If anybody can think of other heuristic rules to try to fix some of these long descriptions (which shouldn't have been so long in the first place), please let me know.

Also, let me point out that I won't "fix" any issues related to replacing the official Nintendo system font with something else since that is not a problem related to new-hbmenu and is totally a responsibility of the person who does the replacement.

@ValShaped
Copy link
Author

I can only think of heuristics that would work with English (since that is the language I'm most familiar with) but it might carry over to other languages:

If the description is over 50 characters long, replace the last space of every 50 characters with a newline, unless it either matches the two-spaces rule or the description would exceed two lines (in which case it would truncate the description?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants