-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Invalid default avatar of new account with display name in Unicode #13376
Comments
I'm guessing our font does not support this, so we need a default font then? |
@R0maNNN After some tests, I can't reproduce. Do you have Chinese fonts installed on your machine? |
@skjnldsv it's a docker container. docker-compose.yml (reduced):
|
I faced the same issue: avatars for Cyrillic user names are question sign ('?') in NC 15. I have a guess: lib/private/Avatar.php contains the following code with hard-coded font-face name, but Nunito-Regular.ttf contains latin characters only. Also i guess that's the same reason for folders contains Latin character are displays with different font regarding to folder names contains only Latin characters. Anyway, selection of the font that does not contain common Unicode blocks can cause a lot of different issues.
|
cc @jancborchardt :) |
This seems to be very related to #11640 (comment) There it was proposed to add Noto Sans TC as a fallback. (Noto Sans is almost the same as Open Sans, the font we used before and might move to again actually.) Could you confirm that this would work for you? I don’t know if the preview function can handle multiple fonts though so that might need to be added? @skjnldsv |
#13377 (i guess we could update the ttf but we have to wait for the google font pull request for woff) |
This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions. |
Let's close in favour of #13377 |
@R0maNNN no, it's linked together. |
I’d say that the more relevant issue is #4198, since it also deals with previews. I’m about to open a pull request to switch to Noto Sans, which will at least fix the issue for Cyrillic and some other character sets. :) |
NC 15.0.0
Firefox 64.0
Steps to reproduce
The text was updated successfully, but these errors were encountered: