-
-
Notifications
You must be signed in to change notification settings - Fork 176
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 is too small in CHT devices #654
Comments
Can you send multiple screenshots of the whole user interface? Having them in a zip file attached here would be a big help |
the solution you proposed is feasible, I hope for it to be implemented properly in a possible rewrite, otherwise I'll put together something rough to patch it at least for now |
For reference, this is how I fixed it in new-hbmenu: devkitPro/3ds-hbmenu@79e2e67 |
Just ported my mod over @fincs 's commit to pp2d:
and it looks better (Some Japanese glyphs are missing in TWN/CHT machines as expected): |
will you merge same change to others using pp2d, like https://github.com/BernardoGiordano/Checkpoint ? |
CHT devices(Sell officially in Hong Kong and Taiwan) has smaller font size (20x24px) than others (25x30px) for more spaces to contain larger amount characters. (Source: converted bitmap from official cbf_zh-Hant-TW.bcfnt / cbf_std.bcfnt with ctr_FontConverter)
Possible solution to deal with such situation:
check width of "あ" with fontGetCharWidthInfo, CHT devices will return smaller value. Since ideograph is square, so normally width == height. (CHECK: does it return "24" in C/J/U/E? and does it return "19" in T?)
and then adjust scale factor before print.
Cross-post:
devkitPro/3ds-hbmenu#35
https://github.com/Steveice10/FBI/issues/423
The text was updated successfully, but these errors were encountered: