yaru.dart icon indicating copy to clipboard operation
yaru.dart copied to clipboard

Allow using the desktop font as UI interface font.

Open rago666 opened this issue 1 year ago • 1 comments

I am coming from Musicpod #62. It would be extremely nice if flutter snaps can pick up the default font of the desktop and use it as their interface font. I have pick up on some things on Musicpod app. It uses Baloo Da 2 and Kohinoor Bangla fonts to display my Bengali Music. Both of this font family was downloaded by me and not shipped with the distro.Below font is Kohinoor Bangla. Screenshot_20230701_205920-1

@Feichtmeier suggested bundling popular fonts but in my opinion this won't be a good solution. From my time browsing Unixporn the most popular font in people's setup is proprietary SF-Fonts (San Francisco, SF UI, SF Pro) from apple. Which I don't think yaru can legally bundle. Above I have shown an example how apps can use fonts that are not bundled. It would be really amazing if this functionality is expended to UI font as well.

rago666 avatar Jul 01 '23 16:07 rago666