You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug does not occur in the latest version of Anki Desktop
What are the steps to reproduce this bug?
I am experiencing an issue with the rendering of variable TrueType fonts (TTF) in AnkiDroid. While the same font displays correctly on AnkiWeb and Windows, with full support for various font weights (e.g., Regular, Semibold, Bold), AnkiDroid seems to only recognize and display the Regular and Bold weights.
I suspect this issue may be related to how AnkiDroid handles variable fonts, as it appears that intermediate weights (such as Semibold) are not displayed. Instead, only the default Regular and Bold options are available.
Could you please look into this issue and clarify if there are any specific font rendering limitations or if there's a way to make AnkiDroid fully support all the weights in a variable font? I would greatly appreciate any guidance on this matter, as variable fonts offer great flexibility and support for a more diverse set of weights.
Thank you for your time and the continued development of AnkiDroid!
Expected behaviour
Style
.card {
font-family:'Source Han Serif', serif;
font-weight:600;
}
@font-face {
font-family:'Source Han Serif';
src:url("_SourceHanSerifSC-VF.ttf");
}
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing
Are you on the latest Android System WebView update? 131.0.6778.104 is the latest for me
I am from China, and it seems that the Android System WebView app is not available on my device. After reading your message, I installed the latest version (131.0.6678.135) of Android System WebView, but unfortunately, there doesn't seem to be any change in AnkiDroid’s behavior.
I wonder if this is still a problem in the new reviewer?
That is, if you go to Settings -> About -> Tap the logo 6 times and turn on developer options
Then in developer options you go all the way to the bottom and enable "New reviewer", maybe - just maybe! - it renders differently?
Checked for duplicates?
Does it also happen in the desktop version?
What are the steps to reproduce this bug?
I am experiencing an issue with the rendering of variable TrueType fonts (TTF) in AnkiDroid. While the same font displays correctly on AnkiWeb and Windows, with full support for various font weights (e.g., Regular, Semibold, Bold), AnkiDroid seems to only recognize and display the Regular and Bold weights.
I suspect this issue may be related to how AnkiDroid handles variable fonts, as it appears that intermediate weights (such as Semibold) are not displayed. Instead, only the default Regular and Bold options are available.
Could you please look into this issue and clarify if there are any specific font rendering limitations or if there's a way to make AnkiDroid fully support all the weights in a variable font? I would greatly appreciate any guidance on this matter, as variable fonts offer great flexibility and support for a more diverse set of weights.
Thank you for your time and the continued development of AnkiDroid!
Expected behaviour
Style
FONT
Source Han Serif
Debug info
(Optional) Anything else you want to share?
No response
Research
The text was updated successfully, but these errors were encountered: