Display problems with system font MiSans and ss font feature

font-family and font-feature may cause display problems on the mobile app?

Last year, I found that the character “B” displayed on the app was a bit abnormal:

Later, I realized that not everyone seems to encounter this, so I found the culprit: the theme style.

So I figured out the problem (probably?) :

/* The complete CSS of the DEBUG reappearing problem: */
* {
  font-family:  'AnyFont';
  font-feature-settings: 'ss02' 1;
}

When there is a font-family along with font-feature-settings: 'ss02' 1 , it seems that this issue will arise.

I don’t know yet if the problem is only on my device or all mobile app.

show debug info from mobile app:

SYSTEM INFO:
	Operating system: android 15 (Xiaomi 2210132C)
	Obsidian version: 1.7.7 (171)
	API version: v1.7.7
	Login status: not logged in
	Language: zh
	Live preview: on
	Base theme: dark
	Community theme: Dark Clarity v1.1.6
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 9
	Plugins enabled: 0

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

I don’t know what other solutions there are. Next, I will try to load the font in the form of base64 to see if it can return to normal. If you have any clues, please let me know. Thx~

I guess it may be the problem of the system font MiSans …

I guess there may be a problem with the SS01 for this font , Because I tried to switch the font called Mi Latin Pro, it returned to normal …

After manually downloading MiSans fonts on a PC, I found that it was indeed true!

So then is the problem the font, or do you still think this is specific to Obsidian?

If it’s just the font, this bug report can be closed.

I confirmed it. It’s the font problem

Is there any way to make the ss feature apply only to a certain font?

@font-face {
font-family: “Font”;
font-feature-settings: “SS02” 1;
font-variation-settings: “SS02” 1;

font-feature-settings and font-variation-settings seem to be invalid?

Moved to help for now. Maybe someone knows and can help. I’ve never heard of font features, sorry.