Skip to content

Default font Arial Regular has a different name on systems with a foreign locale. #10

@paulhoux

Description

@paulhoux

Hi,

I noticed that the default font is hard-coded to be Arial Regular, yet for some reason my system's locale was set to German (de-DE) and it reported the font names as "Arial Standard", "Arial Kurziv" (italic) and "Arial Fett" (bold). It required a change to the system's locale and a shutdown + boot to reset this back to "Arial Regular". See also: https://www.isunshare.com/windows-10/change-system-locale-in-windows-10.html

This causes a crash on startup, also due to a bug in FontManager.cpp where it does not return a proper error if SystemFonts::getFontBuffer() returns a nullptr.

I don't know how to obtain localized font names properly, instead of using hard-coded names. So we may be out of luck on this one. But I just thought I'd mention it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions