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

PGothic is used for Cyrillics on Android (Unreadable spacing in texts) #609

Open
Fonvight opened this issue Jan 5, 2025 · 0 comments
Open

Comments

@Fonvight
Copy link
Contributor

Fonvight commented Jan 5, 2025

The problem:
Android devices does not seems to have Verdana fonts installed, due to which the used fallback font is PGothic. PGothic is not suitable for displaying cyrillic texts due to letter spacing, which not only makes any significant amounts of text almost unreadable but also does not fits within interface elements at some displays (Login prompt as an example).

Steps to reproduce:

  1. Open any game page on Android device (2kki will do).
  2. Change the language in site settings to Russian (Русский).
  3. Now you can navigate through Russian Wide Monospaced interface.

Problem with font can be seen even within language selection menu, but shows itself at full in any text menus like settings, rules or even login screen.

Possible solutions:
A: Add in "Verdana-Cyrillic" fontface in play.css file font which is available on android devices.
B: Replace "Verdana-Cyrillic" fontface to any other available on android devices readable font.
C: Prohibit render of Cyrillics with PGothic fontface. (Not sure about technical details of this solution)
D: Anything else, as long as it works, can be fine too.

Additional reading:
#409 (Test implementation for solution A on older version, illustrated)
#511 (Different problem, however its solution may possibly affect this one as well)

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

No branches or pull requests

1 participant