Skip to content

[fontscan] Honor fontconfig substitutions #228

@auroraanna

Description

@auroraanna

I am having issues with japanese characters in a program (supersonic) that uses Fyne which uses this project to render text. they are not rendered using the system default font for them which is Noto Sans CJK but another font which makes them way more pixelated, small and less legible for me.

Tracklist of album "supercell" in supersonic:

Image

One of the song titles in neovim:

Image

Choosing Noto Sans CJK as the application font in the supersonic settings renders japanese characters nicely but makes all the latin characters have a weird wide serif font which is also not desirable.

Actually since taking these screenshots, the program now does not display japanese characters at all anymore while other programs have no issue doing so with the system's font for this (set through font fallbacks).

I get that application developers might want to use specific fonts but in this case it is obviously necessary to use (system) fallbacks as fonts do not typically cover all unicode characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions