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

Offer larger font size #2805

Open
jmdejong opened this Issue May 2, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@jmdejong
Contributor

jmdejong commented May 2, 2018

Currently the font size is set, and there is no good way to change it.
This size might be hard to read for some players

For the sake of accessibility it would be good to make it possible to play the game with a larger font.

Currently most config for the font is stored in content/fonts/libertine.xml
The easiest solution would probably be to make 2 more versions of this (larger and very large).
The user can then choose which to use in the settings (best would be if they could also choose their own font and fontconfig by manually editing settings.xml; this would be at own risk)

One of the challenges would be adjusting the size of the elements that hold the text.
For example, labels (like tooltips) adjust their size based on the text in it, but it assumes the font set in settings.xml (which isn't used in the label text) and assumes the font size of 8 (a default set in fifechan).
The number of characters per line in a tooltip is hardcoded (19).

@CrafterSvK

This comment has been minimized.

Contributor

CrafterSvK commented Jul 23, 2018

Well it would introduce a lot of problems with positioning elements in XML files.

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