Windows desktop client use system's default font

On the Windows desktop client, after I modified the system’s default font, only the menu bar in the desktop client adopted the new system font, while the chat window did not use the updated system font.
As shown in the image below, there is a difference in the font at the arrow location.
image

However, on the Android client, when I changed the system font, the entire client utilized the updated system font.

Is it possible to achieve a similar effect as the Android client on the Windows client, where the entire interface uses the system font?

1 Like

you could use the theming system (deltachat-desktop/docs/THEMES.md at main · deltachat/deltachat-desktop · GitHub) to change the fonts, maybe it could also make sense to allow users to change their primary font in the appearance menu at some point, though I’m not sure how we would query the system fonts.

Let me have a try

I found that when the font-family of body uses the system-ui, it will use the system font! It’s easier than I expected, thank you.

image

The effect is as follows
image

2 Likes

Record it in case anyone needs it, just modify _variables.scss in the scss directory. Add system-ui to the roboto variable as shown below. Then compile your client.

image

1 Like

beautiful font btw!

3 Likes

we could do this officially, though I would put this behind an appearance setting, because I think broken emoji system fonts could still be a thing.

1 Like

Good news!Looking forward to the new version

1 Like

:+1: :+1: :+1:, I’ll give it a try when I get to the office tomorrow

This change has taken effect! :+1: :+1: :+1:

image

2 Likes