Skip to content

[Bug] Unable to choose font with Extended/Expanded width #905

Open
@VladWinner

Description

@VladWinner

Describe the bug
It is not possible to select a font with an extended width, except in cases where extended/expanded style of font is the only one (of entire font family) that installed on the computer (but even in this case fonts are not showed as "Extended" in list menu). There is no option for selecting this width.

To Reproduce
For example, you can download .zip archive with "TTF" or "Unhinted" open-source Iosevka font and install two fonts: iosevka-regular.ttf and iosevka-extended.ttf. There will be no "Iosevka Extended" option in the font selection list menu.
image

Expected behavior
Two possible behaviors:

  1. The font with expanded width is displayed as a separate "Iosevka Extended" in first font selection list menu ("Default Font & Size"). This behavior is seen in Notepad++
    image

  2. Extended/expanded style becomes available in second font selection list menu ("Default Font Style"). This behavior is seen in system Notepad app (Win7+) and AkelPad
    image

Desktop:

  • OS: Windows 10 21H1 & 21H2 19044.1023
  • Version 1.4.5.0

Additional context
Other fonts with an extended font style are also not displayed in Notepads.
Renaming "Extended" width to "Expanded" in any font also doesn't solve the issue.
Information about the width name to add to Notepads:
image
I assume that the name of this width should be specified in the same place where commit c018bc7 code was added

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions